Fix detection of AVX512IFMA in host_detect_local_cpu

gcc/
	* config/i386/driver-i386.c (host_detect_local_cpu): Fix detection of
	AVX512IFMA.

From-SVN: r239908
This commit is contained in:
Ilya Verbin 2016-08-31 19:49:35 +00:00 committed by Ilya Verbin
parent 3d4f9f878d
commit 212720907a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-08-31 Ilya Verbin <iverbin@gmail.com>
* config/i386/driver-i386.c (host_detect_local_cpu): Fix detection of
AVX512IFMA.
2016-08-31 David Malcolm <dmalcolm@redhat.com>
* diagnostic-show-locus.c (class layout): Add field m_fixit_hints.

View File

@ -498,7 +498,7 @@ const char *host_detect_local_cpu (int argc, const char **argv)
has_avx512dq = ebx & bit_AVX512DQ;
has_avx512bw = ebx & bit_AVX512BW;
has_avx512vl = ebx & bit_AVX512VL;
has_avx512vl = ebx & bit_AVX512IFMA;
has_avx512ifma = ebx & bit_AVX512IFMA;
has_prefetchwt1 = ecx & bit_PREFETCHWT1;
has_avx512vbmi = ecx & bit_AVX512VBMI;