コード例 #1
0
        private static void XNORLastElementsVector128 <T>(T *origin, T *target, Vector128 <T> mask, uint index, uint length)
            where T : unmanaged
        {
            uint count  = length - index;
            var  masked = SSEHelper.XNORVector128(origin, mask, index);

            SIMDIntrinsicsHelper.StoreLastElementsVector128((T *)&masked, target + index, 0, count);
        }
コード例 #2
0
 private static void PerformCurrentXNORIterationVector128 <T>(T *origin, T *target, Vector128 <T> mask, uint index)
     where T : unmanaged
 {
     SSEHelper.Store(SSEHelper.XNORVector128(origin, mask, index), target, index);
 }