public void RunStructFldScenario(SimpleTernaryOpTest__FusedMultiplyAddScalarBySelectedScalar_Vector64_Double_Vector128_Double_1 testClass) { var result = AdvSimd.Arm64.FusedMultiplyAddScalarBySelectedScalar(_fld1, _fld2, _fld3, 1); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld1, _fld2, _fld3, testClass._dataTable.outArrayPtr); }
public void RunStructFldScenario_Load(SimpleTernaryOpTest__FusedMultiplyAddScalarBySelectedScalar_Vector64_Double_Vector128_Double_1 testClass) { fixed(Vector64 <Double> *pFld1 = &_fld1) fixed(Vector64 <Double> *pFld2 = &_fld2) fixed(Vector128 <Double> *pFld3 = &_fld3) { var result = AdvSimd.Arm64.FusedMultiplyAddScalarBySelectedScalar( AdvSimd.LoadVector64((Double *)(pFld1)), AdvSimd.LoadVector64((Double *)(pFld2)), AdvSimd.LoadVector128((Double *)(pFld3)), 1 ); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld1, _fld2, _fld3, testClass._dataTable.outArrayPtr); } }