private static void ANDLastElementsVector128 <T>(T *origin, T *target, Vector128 <T> mask, uint index, uint length) where T : unmanaged { uint count = length - index; var masked = SSEHelper.ANDVector128(origin, mask, index); SIMDIntrinsicsHelper.StoreLastElementsVector128((T *)&masked, target + index, 0, count); }
private static void PerformCurrentANDIterationVector128 <T>(T *origin, T *target, Vector128 <T> mask, uint index) where T : unmanaged { SSEHelper.Store(SSEHelper.ANDVector128(origin, mask, index), target, index); }