-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-System.Runtime.Intrinsicsavx512Related to the AVX-512 architectureRelated to the AVX-512 architecture
Milestone
Description
The following test passed CI without any errors in #88166:
[Fact]
[MethodImpl(MethodImplOptions.AggressiveOptimization)]
public static void SanityCheckAO()
{
if (Vector512.IsHardwareAccelerated && Avx512BW.IsSupported)
throw new Exception("Yay?");
}Dumping the CpuId, it looks like all processors in CI that report Avx512BW.IsSupported == true also report isGenuineIntel=True familyID=6 extendedModelID=5 model=5.
runtime/src/coreclr/vm/codeman.cpp
Lines 1882 to 1892 in ddf47f0
| if (xarchCpuInfo.FamilyId == 0x06) | |
| { | |
| if (xarchCpuInfo.ExtendedModelId == 0x05) | |
| { | |
| if (xarchCpuInfo.Model == 0x05) | |
| { | |
| // * Skylake (Server) | |
| // * Cascade Lake | |
| // * Cooper Lake | |
| CPUCompileFlags.Set(CORJIT_FLAGS::CORJIT_FLAG_VECTOR512_THROTTLING); |
With #86655, those no longer report Vector512.IsHardwareAccelerated, therefore we have no CI coverage of such code paths?
Metadata
Metadata
Assignees
Labels
area-System.Runtime.Intrinsicsavx512Related to the AVX-512 architectureRelated to the AVX-512 architecture