49 references to IsSupported
GenerateDocumentationAndConfigFiles (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
682Vector256<ulong> product = Avx2.IsSupported ?
Microsoft.CodeAnalysis (1)
Hashing\XxHashShared.cs (1)
682Vector256<ulong> product = Avx2.IsSupported ?
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
682Vector256<ulong> product = Avx2.IsSupported ?
Microsoft.ML.CpuMath (1)
AvxIntrinsics.cs (1)
78if (Avx2.IsSupported)
System.IO.Hashing (1)
System\IO\Hashing\XxHashShared.cs (1)
673Vector256<ulong> product = Avx2.IsSupported ?
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (1)
489if (Avx2.IsSupported)
System.Private.CoreLib (42)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64DecoderHelper.cs (1)
64if (Avx2.IsSupported && (end >= src))
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64EncoderHelper.cs (1)
53if (Avx2.IsSupported && (end >= src))
src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (1)
765else if (Avx2.IsSupported && (uint)_bitLength >= Vector256<byte>.Count)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (2)
387if (Avx2.IsSupported) 428if (Avx2.IsSupported)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (3)
422if (Avx2.IsSupported) 455if (Avx2.IsSupported) 553if (Avx2.IsSupported)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\X86\Avx2.cs (1)
19public static new bool IsSupported { get => IsSupported; }
src\libraries\System.Private.CoreLib\src\System\SearchValues\IndexOfAnyAsciiSearcher.cs (12)
312if (Avx2.IsSupported && searchSpaceLength > 2 * Vector128<short>.Count) 369if (!Avx2.IsSupported && searchSpaceLength > 2 * Vector128<short>.Count) 444if (Avx2.IsSupported && searchSpaceLength > 2 * Vector128<short>.Count) 500if (!Avx2.IsSupported && searchSpaceLength > 2 * Vector128<short>.Count) 597if (Avx2.IsSupported && searchSpaceLength > Vector128<byte>.Count) 651if (!Avx2.IsSupported && searchSpaceLength > Vector128<byte>.Count) 722if (Avx2.IsSupported && searchSpaceLength > Vector128<byte>.Count) 776if (!Avx2.IsSupported && searchSpaceLength > Vector128<byte>.Count) 868if (Avx2.IsSupported && searchSpaceLength > Vector128<byte>.Count) 925if (!Avx2.IsSupported && searchSpaceLength > Vector128<byte>.Count) 996if (Avx2.IsSupported && searchSpaceLength > Vector128<byte>.Count) 1053if (!Avx2.IsSupported && searchSpaceLength > Vector128<byte>.Count)
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (2)
517if (Avx2.IsSupported && searchSpaceLength >= 32) 694if (Avx2.IsSupported && searchSpaceLength >= 32)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\AsciiStringSearchValuesTeddyBase.cs (2)
162if (Avx2.IsSupported && span.Length >= CharsPerIterationAvx2 + MatchStartOffsetN2) 182if (Avx2.IsSupported && span.Length >= CharsPerIterationAvx2 + MatchStartOffsetN3)
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Byte.cs (1)
1344else if (Avx2.IsSupported && remainder >= (nint)(Vector256<byte>.Count * 1.5))
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Char.cs (1)
929else if (Avx2.IsSupported && remainder >= (nint)(Vector256<ushort>.Count * 1.5))
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.cs (2)
125else if (Avx2.IsSupported && remainder >= Vector256<int>.Count * 2) 230else if (Avx2.IsSupported && remainder >= Vector256<long>.Count * 2)
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Packed.cs (12)
198else if (Avx2.IsSupported && length > Vector256<short>.Count) 259if (!Avx2.IsSupported && length > 2 * Vector128<short>.Count) 397else if (Avx2.IsSupported && length > Vector256<short>.Count) 460if (!Avx2.IsSupported && length > 2 * Vector128<short>.Count) 609else if (Avx2.IsSupported && length > Vector256<short>.Count) 674if (!Avx2.IsSupported && length > 2 * Vector128<short>.Count) 825else if (Avx2.IsSupported && length > Vector256<short>.Count) 892if (!Avx2.IsSupported && length > 2 * Vector128<short>.Count) 1022else if (Avx2.IsSupported && length > Vector256<short>.Count) 1087if (!Avx2.IsSupported && length > 2 * Vector128<short>.Count) 1157Debug.Assert(Avx2.IsSupported); 1303Debug.Assert(Avx2.IsSupported);
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (1)
1693return Avx2.IsSupported
Test.Utilities (1)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
682Vector256<ulong> product = Avx2.IsSupported ?