x86: Update model value for Alderlake and Rocketlake

gcc/ChangeLog

	* common/config/i386/cpuinfo.h (get_intel_cpu): Add new model values
	to Alderlake and Rocketlake.
This commit is contained in:
Cui,Lili 2022-01-04 09:44:37 +08:00 committed by liuhongt
parent 62c8b21d48
commit 4bd5297f66

View File

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