aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorCui,Lili <lili.cui@intel.com>2021-04-24 11:52:17 +0800
committerliuhongt <hongtao.liu@intel.com>2021-04-27 09:22:04 +0800
commit2cde2d620fc5ff60264ee825fd6eea457d7c51d9 (patch)
treea064b7a01d29b995dae677b45b54d121b1f04d8e /gcc
parentc0fa3f2fb365144b3a059920aeaf6ff37db1177d (diff)
downloadgcc-2cde2d620fc5ff60264ee825fd6eea457d7c51d9.zip
gcc-2cde2d620fc5ff60264ee825fd6eea457d7c51d9.tar.gz
gcc-2cde2d620fc5ff60264ee825fd6eea457d7c51d9.tar.bz2
Synchronize Rocket Lake's processor_names and processor_cost_table with processor_type
gcc/ChangeLog * common/config/i386/i386-common.c (processor_names): Sync processor_names with processor_type. * config/i386/i386-options.c (processor_cost_table): Sync processor_cost_table with processor_type.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/common/config/i386/i386-common.c2
-rw-r--r--gcc/config/i386/i386-options.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/common/config/i386/i386-common.c b/gcc/common/config/i386/i386-common.c
index af3f387..e156cc3 100644
--- a/gcc/common/config/i386/i386-common.c
+++ b/gcc/common/config/i386/i386-common.c
@@ -1758,13 +1758,13 @@ const char *const processor_names[] =
"skylake-avx512",
"cannonlake",
"icelake-client",
- "rocketlake",
"icelake-server",
"cascadelake",
"tigerlake",
"cooperlake",
"sapphirerapids",
"alderlake",
+ "rocketlake",
"intel",
"geode",
"k6",
diff --git a/gcc/config/i386/i386-options.c b/gcc/config/i386/i386-options.c
index cc7b617..64c6ef4 100644
--- a/gcc/config/i386/i386-options.c
+++ b/gcc/config/i386/i386-options.c
@@ -727,12 +727,12 @@ static const struct processor_costs *processor_cost_table[] =
&icelake_cost,
&icelake_cost,
&icelake_cost,
- &icelake_cost,
&skylake_cost,
&icelake_cost,
&skylake_cost,
&icelake_cost,
&icelake_cost,
+ &icelake_cost,
&intel_cost,
&geode_cost,
&k6_cost,