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