public void RunStructFldScenario(SimpleUnaryOpTest__ConvertToUInt32RoundToNegativeInfinity_Vector128_Single testClass) { var result = AdvSimd.ConvertToUInt32RoundToNegativeInfinity(_fld1); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr); }
public void RunClassFldScenario() { TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario)); var result = AdvSimd.ConvertToUInt32RoundToNegativeInfinity(_fld1); Unsafe.Write(_dataTable.outArrayPtr, result); ValidateResult(_fld1, _dataTable.outArrayPtr); }
public void RunClassLclFldScenario() { TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario)); var test = new SimpleUnaryOpTest__ConvertToUInt32RoundToNegativeInfinity_Vector128_Single(); var result = AdvSimd.ConvertToUInt32RoundToNegativeInfinity(test._fld1); Unsafe.Write(_dataTable.outArrayPtr, result); ValidateResult(test._fld1, _dataTable.outArrayPtr); }
public void RunLclVarScenario_Load() { TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_Load)); var op1 = AdvSimd.LoadVector128((Single *)(_dataTable.inArray1Ptr)); var result = AdvSimd.ConvertToUInt32RoundToNegativeInfinity(op1); Unsafe.Write(_dataTable.outArrayPtr, result); ValidateResult(op1, _dataTable.outArrayPtr); }
public void RunBasicScenario_UnsafeRead() { TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_UnsafeRead)); var result = AdvSimd.ConvertToUInt32RoundToNegativeInfinity( Unsafe.Read <Vector128 <Single> >(_dataTable.inArray1Ptr) ); Unsafe.Write(_dataTable.outArrayPtr, result); ValidateResult(_dataTable.inArray1Ptr, _dataTable.outArrayPtr); }
public void RunStructLclFldScenario_Load() { TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario_Load)); var test = TestStruct.Create(); var result = AdvSimd.ConvertToUInt32RoundToNegativeInfinity( AdvSimd.LoadVector128((Single *)(&test._fld1)) ); Unsafe.Write(_dataTable.outArrayPtr, result); ValidateResult(test._fld1, _dataTable.outArrayPtr); }
public void RunStructFldScenario_Load(SimpleUnaryOpTest__ConvertToUInt32RoundToNegativeInfinity_Vector128_Single testClass) { fixed(Vector128 <Single> *pFld1 = &_fld1) { var result = AdvSimd.ConvertToUInt32RoundToNegativeInfinity( AdvSimd.LoadVector128((Single *)(pFld1)) ); Unsafe.Write(testClass._dataTable.outArrayPtr, result); testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr); } }
public void RunClassFldScenario_Load() { TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario_Load)); fixed(Vector128 <Single> *pFld1 = &_fld1) { var result = AdvSimd.ConvertToUInt32RoundToNegativeInfinity( AdvSimd.LoadVector128((Single *)(pFld1)) ); Unsafe.Write(_dataTable.outArrayPtr, result); ValidateResult(_fld1, _dataTable.outArrayPtr); } }
public void RunClassLclFldScenario_Load() { TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario_Load)); var test = new SimpleUnaryOpTest__ConvertToUInt32RoundToNegativeInfinity_Vector64_Single(); fixed(Vector64 <Single> *pFld1 = &test._fld1) { var result = AdvSimd.ConvertToUInt32RoundToNegativeInfinity( AdvSimd.LoadVector64((Single *)(pFld1)) ); Unsafe.Write(_dataTable.outArrayPtr, result); ValidateResult(test._fld1, _dataTable.outArrayPtr); } }