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

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

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