public void RunStructFldScenario(SimpleUnaryOpTest__CeilingDouble testClass)
            {
                var result = Avx.Ceiling(_fld);

                Unsafe.Write(testClass._dataTable.outArrayPtr, result);
                testClass.ValidateResult(_fld, testClass._dataTable.outArrayPtr);
            }
Пример #2
0
            public void RunStructFldScenario_Load(SimpleUnaryOpTest__CeilingDouble testClass)
            {
                fixed(Vector128 <Double> *pFld1 = &_fld1)
                {
                    var result = Sse41.Ceiling(
                        Sse2.LoadVector128((Double *)(pFld1))
                        );

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