Example #1
0
            public void RunStructFldScenario(SimpleUnaryOpTest__ExtractNarrowingSaturateLower_Vector64_SByte testClass)
            {
                var result = AdvSimd.ExtractNarrowingSaturateLower(_fld1);

                Unsafe.Write(testClass._dataTable.outArrayPtr, result);
                testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr);
            }
Example #2
0
            public void RunStructFldScenario_Load(SimpleUnaryOpTest__ExtractNarrowingSaturateLower_Vector64_SByte testClass)
            {
                fixed(Vector128 <Int16> *pFld1 = &_fld1)
                {
                    var result = AdvSimd.ExtractNarrowingSaturateLower(
                        AdvSimd.LoadVector128((Int16 *)(pFld1))
                        );

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