Synchronize Rocket Lake's processor_names and processor_cost_table with processor_type
authorCui,Lili <lili.cui@intel.com>
Sat, 24 Apr 2021 03:52:17 +0000 (11:52 +0800)
committerliuhongt <hongtao.liu@intel.com>
Tue, 27 Apr 2021 01:22:04 +0000 (09:22 +0800)
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.

gcc/common/config/i386/i386-common.c
gcc/config/i386/i386-options.c

index af3f387..e156cc3 100644 (file)
@@ -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",
index cc7b617..64c6ef4 100644 (file)
@@ -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,