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.
|
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?
The following test passed CI without any errors in #88166:
Dumping the CpuId, it looks like all processors in CI that report
Avx512BW.IsSupported == truealso reportisGenuineIntel=True familyID=6 extendedModelID=5 model=5.runtime/src/coreclr/vm/codeman.cpp
Lines 1882 to 1892 in ddf47f0
With #86655, those no longer report
Vector512.IsHardwareAccelerated, therefore we have no CI coverage of such code paths?