x86: Update model value for Alderlake and Rocketlake
authorCui,Lili <lili.cui@intel.com>
Tue, 4 Jan 2022 01:44:37 +0000 (09:44 +0800)
committerliuhongt <hongtao.liu@intel.com>
Tue, 4 Jan 2022 08:30:41 +0000 (16:30 +0800)
gcc/ChangeLog

* common/config/i386/cpuinfo.h (get_intel_cpu): Add new model values
to Alderlake and Rocketlake.

gcc/common/config/i386/cpuinfo.h

index 2d8ea20..61b1a0f 100644 (file)
@@ -415,6 +415,7 @@ get_intel_cpu (struct __processor_model *cpu_model,
       cpu_model->__cpu_subtype = INTEL_COREI7_SKYLAKE;
       break;
     case 0xa7:
+    case 0xa8:
       /* Rocket Lake.  */
       cpu = "rocketlake";
       CHECK___builtin_cpu_is ("corei7");
@@ -487,6 +488,7 @@ get_intel_cpu (struct __processor_model *cpu_model,
       break;
     case 0x97:
     case 0x9a:
+    case 0xbf:
       /* Alder Lake.  */
       cpu = "alderlake";
       CHECK___builtin_cpu_is ("corei7");