aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIlya Verbin <iverbin@gmail.com>2016-08-31 19:49:35 +0000
committerIlya Verbin <iverbin@gcc.gnu.org>2016-08-31 19:49:35 +0000
commit212720907ac47104f7f8025f4c5c2867b4c1e20a (patch)
treeeb1d7c405448442bffc20df38685da29ec3f8ffc /gcc
parent3d4f9f878d9aae137be3151920dfcde089a28ddc (diff)
downloadgcc-212720907ac47104f7f8025f4c5c2867b4c1e20a.zip
gcc-212720907ac47104f7f8025f4c5c2867b4c1e20a.tar.gz
gcc-212720907ac47104f7f8025f4c5c2867b4c1e20a.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/driver-i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2950659..1cf6ef6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c
index 22a8f28..6d4390f 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;