public void RunStructFldScenario(SimpleUnaryOpTest__ConvertToInt64RoundAwayFromZero_Vector128_Double testClass) { var result = AdvSimd.Arm64.ConvertToInt64RoundAwayFromZero(_fld1); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr); }
public void RunStructFldScenario_Load(SimpleUnaryOpTest__ConvertToInt64RoundAwayFromZero_Vector128_Double testClass) { fixed(Vector128 <Double> *pFld1 = &_fld1) { var result = AdvSimd.Arm64.ConvertToInt64RoundAwayFromZero( AdvSimd.LoadVector128((Double *)(pFld1)) ); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr); } }