예제 #1
0
            public void RunStructFldScenario_Load(BooleanBinaryOpTest__TestMixOnesZerosByte testClass)
            {
                fixed(Vector128 <Byte> *pFld1 = &_fld1)
                fixed(Vector128 <Byte> *pFld2 = &_fld2)
                {
                    var result = Sse41.TestMixOnesZeros(
                        Sse2.LoadVector128((Byte *)(pFld1)),
                        Sse2.LoadVector128((Byte *)(pFld2))
                        );

                    testClass.ValidateResult(_fld1, _fld2, result);
                }
            }
예제 #2
0
            public void RunStructFldScenario(BooleanBinaryOpTest__TestMixOnesZerosByte testClass)
            {
                var result = Sse41.TestMixOnesZeros(_fld1, _fld2);

                testClass.ValidateResult(_fld1, _fld2, result);
            }