public void RunStructFldScenario(SimpleUnaryOpTest__RoundToPositiveInfinityScalarDouble testClass) { var result = Sse41.RoundToPositiveInfinityScalar(_fld1); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr); }
public void RunStructFldScenario_Load(SimpleUnaryOpTest__RoundToPositiveInfinityScalarDouble testClass) { fixed(Vector128 <Double> *pFld1 = &_fld1) { var result = Sse41.RoundToPositiveInfinityScalar( Sse2.LoadVector128((Double *)(pFld1)) ); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr); } }