diff mbox

[AVX-512,committed] Fix detection of AVX512IFMA in host_detect_local_cpu

Message ID CADG=Z0G2ueoiFU4A1sc2-LVaF0NkO6uCD_jC8TVZyjFKsP-6tg@mail.gmail.com
State New
Headers show

Commit Message

Ilya Verbin Aug. 31, 2016, 7:51 p.m. UTC
Hi!

I've committed this patch as obvious.


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




  -- Ilya
diff mbox

Patch

Index: gcc/config/i386/driver-i386.c
===================================================================
--- gcc/config/i386/driver-i386.c (revision 239907)
+++ gcc/config/i386/driver-i386.c (working copy)
@@ -498,7 +498,7 @@ 
       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;