public void RunStructFldScenario(ImmUnaryOpTest__DuplicateSelectedScalarToVector64_V128_Int32_2 testClass) { var result = AdvSimd.DuplicateSelectedScalarToVector64(_fld, 2); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld, testClass._dataTable.outArrayPtr); }
public void RunStructFldScenario_Load(ImmUnaryOpTest__DuplicateSelectedScalarToVector64_V128_Int32_2 testClass) { fixed(Vector128 <Int32> *pFld = &_fld) { var result = AdvSimd.DuplicateSelectedScalarToVector64( AdvSimd.LoadVector128((Int32 *)(pFld)), 2 ); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld, testClass._dataTable.outArrayPtr); } }