Esempio n. 1
0
            public void RunStructFldScenario(SimpleUnaryOpTest__MinAcross_Vector128_SByte testClass)
            {
                var result = AdvSimd.Arm64.MinAcross(_fld1);

                Unsafe.Write(testClass._dataTable.outArrayPtr, result);
                testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr);
            }
Esempio n. 2
0
            public void RunStructFldScenario_Load(SimpleUnaryOpTest__MinAcross_Vector128_SByte testClass)
            {
                fixed(Vector128 <SByte> *pFld1 = &_fld1)
                {
                    var result = AdvSimd.Arm64.MinAcross(
                        AdvSimd.LoadVector128((SByte *)(pFld1))
                        );

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