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