diff options
author | Julia Koval <julia.koval@intel.com> | 2018-02-02 14:45:57 +0100 |
---|---|---|
committer | Julia Koval <jkoval@gcc.gnu.org> | 2018-02-02 14:45:57 +0100 |
commit | 02da1e9cae7c925289758d2f601f1aa5691640d0 (patch) | |
tree | f26a581da14b06af13d4dacb37668456b9e9a9c5 /libgcc | |
parent | 31766e6833851fc0eeec9eabaa800a8edaa53c60 (diff) | |
download | gcc-02da1e9cae7c925289758d2f601f1aa5691640d0.zip gcc-02da1e9cae7c925289758d2f601f1aa5691640d0.tar.gz gcc-02da1e9cae7c925289758d2f601f1aa5691640d0.tar.bz2 |
Add -march=icelake.
gcc/
* config.gcc: Add -march=icelake.
* config/i386/driver-i386.c (host_detect_local_cpu): Detect icelake.
* config/i386/i386-c.c (ix86_target_macros_internal): Handle icelake.
* config/i386/i386.c (processor_costs): Add m_ICELAKE.
(PTA_ICELAKE, PTA_AVX512VNNI, PTA_GFNI, PTA_VAES, PTA_AVX512VBMI2,
PTA_VPCLMULQDQ, PTA_RDPID, PTA_AVX512BITALG): New.
(processor_target_table): Add icelake.
(ix86_option_override_internal): Handle new PTAs.
(get_builtin_code_for_version): Handle icelake.
(M_INTEL_COREI7_ICELAKE): New.
(fold_builtin_cpu): Handle icelake.
* config/i386/i386.h (TARGET_ICELAKE, PROCESSOR_ICELAKE): New.
* doc/invoke.texi: Add -march=icelake.
gcc/testsuite/
* gcc.target/i386/funcspec-56.inc: Handle new march.
* g++.dg/ext/mv16.C: Ditto.
libgcc/
* config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
From-SVN: r257331
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 4 | ||||
-rw-r--r-- | libgcc/config/i386/cpuinfo.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 79c79e8..1eb1663 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2018-02-02 Julia Koval <julia.koval@intel.com> + + * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE. + 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16 diff --git a/libgcc/config/i386/cpuinfo.h b/libgcc/config/i386/cpuinfo.h index c43d941..a247072 100644 --- a/libgcc/config/i386/cpuinfo.h +++ b/libgcc/config/i386/cpuinfo.h @@ -70,6 +70,7 @@ enum processor_subtypes INTEL_COREI7_SKYLAKE, INTEL_COREI7_SKYLAKE_AVX512, INTEL_COREI7_CANNONLAKE, + INTEL_COREI7_ICELAKE, CPU_SUBTYPE_MAX }; |