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