i386.c (PTA_SKYLAKE_AVX512): Add PTA_CLWB.
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 12 Dec 2017 22:05:19 +0000 (23:05 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 12 Dec 2017 22:05:19 +0000 (23:05 +0100)
* config/i386/i386.c (PTA_SKYLAKE_AVX512): Add PTA_CLWB.
(PTA_CANNONLAKE): Remove PTA_CLWB.

From-SVN: r255589

gcc/ChangeLog
gcc/config/i386/i386.c

index 7415fa9a3c4991be5e289e28588b20eecf477347..3289f18f6629aec89585e683c85f5c1a7307d0b2 100644 (file)
@@ -1,3 +1,8 @@
+2017-12-12  Julia Koval  <julia.koval@intel.com>
+
+       * config/i386/i386.c (PTA_SKYLAKE_AVX512): Add PTA_CLWB.
+       (PTA_CANNONLAKE): Remove PTA_CLWB.
+
 2017-12-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
 
        PR target/83332
 2017-12-12  Julia Koval  <julia.koval@intel.com>
 
        * config.gcc: Add vaesintrin.h.
-       * config/i386/i386-builtin-types.def (V64QI_FTYPE_V64QI_V64QI): New type.
+       * config/i386/i386-builtin-types.def (V64QI_FTYPE_V64QI_V64QI):
+       New type.
        * config/i386/i386-builtin.def (__builtin_ia32_vaesdec_v16qi,
-       __builtin_ia32_vaesdec_v32qi, __builtin_ia32_vaesdec_v64qi): New builtins.
+       __builtin_ia32_vaesdec_v32qi, __builtin_ia32_vaesdec_v64qi):
+       New builtins.
        * config/i386/i386.c (ix86_expand_args_builtin): Handle new type.
        * config/i386/immintrin.h: Include vaesintrin.h.
        * config/i386/sse.md (vaesdec_<mode>): New pattern.
@@ -82,7 +89,7 @@
        * config/i386/i386.opt: Add -mvaes.
        * doc/invoke.texi: Ditto.
 
-2017-12-12  Alexandre Oliva <aoliva@redhat.com>
+2017-12-12  Alexandre Oliva  <aoliva@redhat.com>
 
        * debug.h (gcc_debug_hooks): Add inline_entry.
        * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise.
        ALTIVEC_BUILTIN_VEC_SLL): Add expansions.
        * doc/extend.texi: Add documentation for the added builtins.
 
-2017-12-11  Alexandre Oliva <aoliva@redhat.com>
+2017-12-11  Alexandre Oliva  <aoliva@redhat.com>
 
        PR rtl-optimization/80693
        PR rtl-optimization/81019
index 53317cf3d0ac6d93bd62169bb4d6019e23e21de0..051c3e56d8219636f5d35103bb10a1a7e9856811 100644 (file)
@@ -3447,9 +3447,9 @@ ix86_option_override_internal (bool main_args_p,
   (PTA_BROADWELL | PTA_CLFLUSHOPT | PTA_XSAVEC | PTA_XSAVES)
 #define PTA_SKYLAKE_AVX512 \
   (PTA_SKYLAKE | PTA_AVX512F | PTA_AVX512CD | PTA_AVX512VL \
-   | PTA_AVX512BW | PTA_AVX512DQ | PTA_PKU)
+   | PTA_AVX512BW | PTA_AVX512DQ | PTA_PKU | PTA_CLWB)
 #define PTA_CANNONLAKE \
-  (PTA_SKYLAKE_AVX512 | PTA_AVX512VBMI | PTA_AVX512IFMA | PTA_SHA | PTA_CLWB)
+  (PTA_SKYLAKE_AVX512 | PTA_AVX512VBMI | PTA_AVX512IFMA | PTA_SHA)
 #define PTA_KNL \
   (PTA_BROADWELL | PTA_AVX512PF | PTA_AVX512ER | PTA_AVX512F | PTA_AVX512CD)
 #define PTA_BONNELL \