diff options
author | Olga Makhotina <olga.makhotina@intel.com> | 2018-05-08 12:23:08 +0000 |
---|---|---|
committer | Sebastian Peryt <speryt@gcc.gnu.org> | 2018-05-08 14:23:08 +0200 |
commit | 50e461dfe37e66bff2a2932480fb041743cdd93c (patch) | |
tree | 75627a5203d33c9541902dbfaa7744c8abb80b5d /gcc/config.gcc | |
parent | 4d4015db89b3e93dac9f8e08ce9127390d475f11 (diff) | |
download | gcc-50e461dfe37e66bff2a2932480fb041743cdd93c.zip gcc-50e461dfe37e66bff2a2932480fb041743cdd93c.tar.gz gcc-50e461dfe37e66bff2a2932480fb041743cdd93c.tar.bz2 |
config.gcc: Support "goldmont".
2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
gcc/
* config.gcc: Support "goldmont".
* config/i386/driver-i386.c (host_detect_local_cpu): Detect "goldmont".
* config/i386/i386-c.c (ix86_target_macros_internal): Handle
PROCESSOR_GOLDMONT.
* config/i386/i386.c (m_GOLDMONT): Define.
(processor_target_table): Add "goldmont".
(PTA_GOLDMONT): Define.
(ix86_lea_outperforms): Add TARGET_GOLDMONT.
(get_builtin_code_for_version): Handle PROCESSOR_GOLDMONT.
(fold_builtin_cpu): Add M_INTEL_GOLDMONT.
(fold_builtin_cpu): Add "goldmont".
(ix86_add_stmt_cost): Add TARGET_GOLDMONT.
(ix86_option_override_internal): Add "goldmont".
* config/i386/i386.h (processor_costs): Define TARGET_GOLDMONT.
(processor_type): Add PROCESSOR_GOLDMONT.
* config/i386/i386.md: Add CPU "glm".
* config/i386/glm.md: New file.
* config/i386/x86-tune.def: Add m_GOLDMONT.
* doc/invoke.texi: Add goldmont as x86 -march=/-mtune= CPU type.
libgcc/
* config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
* config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
gcc/testsuite/
* gcc.target/i386/builtin_target.c: Test goldmont.
* gcc.target/i386/funcspec-56.inc: Tests for arch=goldmont and
arch=silvermont.
From-SVN: r260042
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 8741dd1..7f5ba50 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -637,7 +637,8 @@ x86_64_archs="amdfam10 athlon64 athlon64-sse3 barcelona bdver1 bdver2 \ bdver3 bdver4 znver1 btver1 btver2 k8 k8-sse3 opteron opteron-sse3 nocona \ core2 corei7 corei7-avx core-avx-i core-avx2 atom slm nehalem westmere \ sandybridge ivybridge haswell broadwell bonnell silvermont knl knm \ -skylake-avx512 cannonlake icelake-client icelake-server skylake x86-64 native" +skylake-avx512 cannonlake icelake-client icelake-server skylake goldmont \ +x86-64 native" # Additional x86 processors supported by --with-cpu=. Each processor # MUST be separated by exactly one space. |