16 references to Shuffle
System.Private.CoreLib (16)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\X86\Avx2.cs (1)
2699public static Vector256<byte> Shuffle(Vector256<byte> value, Vector256<byte> mask) => Shuffle(value, mask);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\IndexOfAnyAsciiSearcher.cs (6)
1192Vector256<byte> values = Avx2.Shuffle(bitmapLookup, source); 1198Vector256<byte> bitMask = Avx2.Shuffle(bitmapLookup, source); 1199Vector256<byte> bitPositions = Avx2.Shuffle(Vector256.Create(0x8040201008040201).AsByte(), highNibbles); 1239Vector256<byte> row0 = Avx2.Shuffle(bitmapLookup0, lowNibbles); 1240Vector256<byte> row1 = Avx2.Shuffle(bitmapLookup1, lowNibbles); 1242Vector256<byte> bitmask = Avx2.Shuffle(Vector256.Create(0x8040201008040201).AsByte(), highNibbles);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (3)
209Vector256<byte> bitPositions = Avx2.Shuffle(Vector256.Create(0x8040201008040201).AsByte(), shifted); 212Vector256<byte> bitMaskLower = Avx2.Shuffle(charMapLower, index); 213Vector256<byte> bitMaskUpper = Avx2.Shuffle(charMapUpper, index - Vector256.Create((byte)16));
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\TeddyHelper.cs (2)
340return Avx2.Shuffle(maskLow, low) & Avx2.Shuffle(maskHigh, high);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Byte.cs (2)
1376tempFirst = Avx2.Shuffle(tempFirst, reverseMask); 1378tempLast = Avx2.Shuffle(tempLast, reverseMask);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Char.cs (2)
958tempFirst = Avx2.Shuffle(tempFirst, reverseMask); 960tempLast = Avx2.Shuffle(tempLast, reverseMask);