Ensure the CPUID tests cover a couple hwintrinsic disablement edge cases (#87127)
authorTanner Gooding <tagoo@outlook.com>
Wed, 7 Jun 2023 21:56:11 +0000 (14:56 -0700)
committerGitHub <noreply@github.com>
Wed, 7 Jun 2023 21:56:11 +0000 (14:56 -0700)
commitc236ec00cc077375f5fc47bf207953cdb0d68bd7
tree321cbf3010bc4ad4ea53a63c26ce113400dd005f
parent652433bfe9858f7f4d6f6ffcf0c994cb9b91e482
Ensure the CPUID tests cover a couple hwintrinsic disablement edge cases (#87127)

* Ensure CPUID tests have BMI1/BMI2 use the AVX hierarchy checks, not AVX2

* Ensure CPUID tests check the DOTNET_EnableSSE3_4 environment variable

* Fix a build failure in X86Base/CpuId.cs

* Ensure that BMI1/BMI2 are checking the right bits
src/tests/JIT/HardwareIntrinsics/X86/X86Base/CpuId.cs
src/tests/readytorun/HardwareIntrinsics/X86/CpuId.cs