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