public void RunStructFldScenario(SimpleUnaryOpTest__RoundToZeroScalar_Vector64_Double testClass) { var result = AdvSimd.RoundToZeroScalar(_fld1); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr); }
public void RunStructFldScenario_Load(SimpleUnaryOpTest__RoundToZeroScalar_Vector64_Double testClass) { fixed(Vector64 <Double> *pFld1 = &_fld1) { var result = AdvSimd.RoundToZeroScalar( AdvSimd.LoadVector64((Double *)(pFld1)) ); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr); } }