From 331e2db3b82592c7644186aa950acc29f54df29e Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 12 Dec 2017 23:05:19 +0100 Subject: [PATCH] i386.c (PTA_SKYLAKE_AVX512): Add PTA_CLWB. * config/i386/i386.c (PTA_SKYLAKE_AVX512): Add PTA_CLWB. (PTA_CANNONLAKE): Remove PTA_CLWB. From-SVN: r255589 --- gcc/ChangeLog | 15 +++++++++++---- gcc/config/i386/i386.c | 4 ++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7415fa9a3c4..3289f18f662 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-12-12 Julia Koval + + * config/i386/i386.c (PTA_SKYLAKE_AVX512): Add PTA_CLWB. + (PTA_CANNONLAKE): Remove PTA_CLWB. + 2017-12-12 Bill Schmidt PR target/83332 @@ -59,9 +64,11 @@ 2017-12-12 Julia Koval * 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_): New pattern. @@ -82,7 +89,7 @@ * config/i386/i386.opt: Add -mvaes. * doc/invoke.texi: Ditto. -2017-12-12 Alexandre Oliva +2017-12-12 Alexandre Oliva * debug.h (gcc_debug_hooks): Add inline_entry. * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise. @@ -413,7 +420,7 @@ ALTIVEC_BUILTIN_VEC_SLL): Add expansions. * doc/extend.texi: Add documentation for the added builtins. -2017-12-11 Alexandre Oliva +2017-12-11 Alexandre Oliva PR rtl-optimization/80693 PR rtl-optimization/81019 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 53317cf3d0a..051c3e56d82 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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 \ -- 2.30.2