Пример #1
0
            public void RunStructFldScenario(SimpleUnaryOpTest__ConvertToUInt64RoundToEvenScalar_Vector64_Double testClass)
            {
                var result = AdvSimd.Arm64.ConvertToUInt64RoundToEvenScalar(_fld1);

                Unsafe.Write(testClass._dataTable.outArrayPtr, result);
                testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr);
            }
Пример #2
0
            public void RunStructFldScenario_Load(SimpleUnaryOpTest__ConvertToUInt64RoundToEvenScalar_Vector64_Double testClass)
            {
                fixed(Vector64 <Double> *pFld1 = &_fld1)
                {
                    var result = AdvSimd.Arm64.ConvertToUInt64RoundToEvenScalar(
                        AdvSimd.LoadVector64((Double *)(pFld1))
                        );

                    Unsafe.Write(testClass._dataTable.outArrayPtr, result);
                    testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr);
                }
            }