57 references to IsSupported
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Compilers\Core\Portable\Hashing\XxHashShared.cs (1)
682
Vector256<ulong> product = Avx2.
IsSupported
?
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
Utilities\Hashing\XxHashShared.cs (1)
681
Vector256<ulong> product = Avx2.
IsSupported
?
Microsoft.CodeAnalysis (1)
Hashing\XxHashShared.cs (1)
682
Vector256<ulong> product = Avx2.
IsSupported
?
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\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 (2)
System\IO\Hashing\Adler32.cs (1)
205
if (Vector256.IsHardwareAccelerated && Avx2.
IsSupported
&& source.Length >= Vector256<byte>.Count)
System\IO\Hashing\XxHashShared.cs (1)
674
Vector256<ulong> product = Avx2.
IsSupported
?
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (1)
121
if (Avx2.
IsSupported
)
System.Private.CoreLib (49)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64DecoderHelper.cs (2)
70
if (Avx2.
IsSupported
&& (end >= src))
378
if (Avx2.
IsSupported
&& (end >= src))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64EncoderHelper.cs (1)
57
if (Avx2.
IsSupported
&& (end >= src))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (3)
163
if (Avx2.
IsSupported
|| ArmBase.Arm64.IsSupported)
199
if (Avx2.
IsSupported
|| ArmBase.Arm64.IsSupported)
460
if (Avx2.
IsSupported
|| ArmBase.Arm64.IsSupported)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (2)
472
if (Avx2.
IsSupported
)
513
if (Avx2.
IsSupported
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (5)
497
if (Avx2.
IsSupported
)
530
if (Avx2.
IsSupported
)
628
if (Avx2.
IsSupported
)
1766
if (Avx2.
IsSupported
&& ((typeof(T) == typeof(int)) || (typeof(T) == typeof(uint))))
1801
if (Avx2.
IsSupported
&& ((typeof(T) == typeof(int)) || (typeof(T) == typeof(uint))))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\X86\Avx2.cs (1)
19
public static new bool IsSupported { get =>
IsSupported
; }
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\IndexOfAnyAsciiSearcher.cs (12)
313
if (Avx2.
IsSupported
&& searchSpaceLength > 2 * Vector128<short>.Count)
370
if (!Avx2.
IsSupported
&& searchSpaceLength > 2 * Vector128<short>.Count)
445
if (Avx2.
IsSupported
&& searchSpaceLength > 2 * Vector128<short>.Count)
501
if (!Avx2.
IsSupported
&& searchSpaceLength > 2 * Vector128<short>.Count)
598
if (Avx2.
IsSupported
&& searchSpaceLength > Vector128<byte>.Count)
652
if (!Avx2.
IsSupported
&& searchSpaceLength > Vector128<byte>.Count)
723
if (Avx2.
IsSupported
&& searchSpaceLength > Vector128<byte>.Count)
777
if (!Avx2.
IsSupported
&& searchSpaceLength > Vector128<byte>.Count)
869
if (Avx2.
IsSupported
&& searchSpaceLength > Vector128<byte>.Count)
926
if (!Avx2.
IsSupported
&& searchSpaceLength > Vector128<byte>.Count)
997
if (Avx2.
IsSupported
&& searchSpaceLength > Vector128<byte>.Count)
1054
if (!Avx2.
IsSupported
&& searchSpaceLength > Vector128<byte>.Count)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (2)
524
if (Avx2.
IsSupported
&& searchSpaceLength >= 32)
702
if (Avx2.
IsSupported
&& searchSpaceLength >= 32)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\AsciiStringSearchValuesTeddyBase.cs (2)
164
if (Avx2.
IsSupported
&& span.Length >= CharsPerIterationAvx2 + MatchStartOffsetN2)
185
if (Avx2.
IsSupported
&& span.Length >= CharsPerIterationAvx2 + MatchStartOffsetN3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\SingleStringSearchValuesPackedThreeChars.cs (1)
138
else if (Vector256.IsHardwareAccelerated && Avx2.
IsSupported
&& searchSpaceMinusValueTailLength - Vector256<byte>.Count >= 0)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Byte.cs (1)
1344
else if (Avx2.
IsSupported
&& remainder >= (nint)(Vector256<byte>.Count * 1.5))
src\runtime\src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Char.cs (1)
930
else if (Avx2.
IsSupported
&& remainder >= (nint)(Vector256<ushort>.Count * 1.5))
src\runtime\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\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (1)
2228
if (Avx2.
IsSupported
&& PackedSpanHelpers.CanUsePackedIndexOf(c) && PackedSpanHelpers.CanUsePackedIndexOf(c2) && PackedSpanHelpers.CanUsePackedIndexOf(c3))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (1)
1698
return Avx2.
IsSupported