Exemplo n.º 1
0
            public void RunStructFldScenario(SimpleUnaryOpTest__ConvertToUInt64RoundToPositiveInfinity_Vector128_Double testClass)
            {
                var result = AdvSimd.Arm64.ConvertToUInt64RoundToPositiveInfinity(_fld1);

                Unsafe.Write(testClass._dataTable.outArrayPtr, result);
                testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr);
            }
Exemplo n.º 2
0
            public void RunStructFldScenario_Load(SimpleUnaryOpTest__ConvertToUInt64RoundToPositiveInfinity_Vector128_Double testClass)
            {
                fixed(Vector128 <Double> *pFld1 = &_fld1)
                {
                    var result = AdvSimd.Arm64.ConvertToUInt64RoundToPositiveInfinity(
                        AdvSimd.LoadVector128((Double *)(pFld1))
                        );

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