From: Ilya Verbin Date: Wed, 31 Aug 2016 19:49:35 +0000 (+0000) Subject: Fix detection of AVX512IFMA in host_detect_local_cpu X-Git-Tag: basepoints/gcc-8~4803 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=212720907ac47104f7f8025f4c5c2867b4c1e20a;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29506594b8bd..1cf6ef600ddf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-08-31 Ilya Verbin + + * config/i386/driver-i386.c (host_detect_local_cpu): Fix detection of + AVX512IFMA. + 2016-08-31 David Malcolm * diagnostic-show-locus.c (class layout): Add field m_fixit_hints. diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c index 22a8f2861aee..6d4390f403c7 100644 --- a/gcc/config/i386/driver-i386.c +++ b/gcc/config/i386/driver-i386.c @@ -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;