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