re PR driver/50740 (CPUID leaf 7 for BMI/BMI2/AVX2 feature detection not…
re PR driver/50740 (CPUID leaf 7 for BMI/BMI2/AVX2 feature detection not qualified with max_level and doesn't use subleaf) PR target/50740 * config/i386/driver-i386.c (host_detect_local_cpu): Do cpuid 7 only if max_level allows that. testsuite/ChangeLog: PR target/50740 * gcc.target/i386/avx2-check.h (main): Check CPUID level correctly. * gcc.target/i386/bmi2-check.h: Ditto. From-SVN: r180304
Showing
Please
register
or
sign in
to comment