diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2011-10-21 16:32:32 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2011-10-21 16:32:32 +0200 |
commit | 2c9b39efcb20aa2a89aff9676a236f9582d5a952 (patch) | |
tree | 906548e4c4bcac8510b1b1db6cb32e633abbc935 /libcpp | |
parent | e2724e63c6d26b05a51a519f4715265e8c82419a (diff) | |
download | gcc-2c9b39efcb20aa2a89aff9676a236f9582d5a952.zip gcc-2c9b39efcb20aa2a89aff9676a236f9582d5a952.tar.gz gcc-2c9b39efcb20aa2a89aff9676a236f9582d5a952.tar.bz2 |
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
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions