summaryrefslogtreecommitdiff
path: root/0261-x86-Update-model-values-for-Alderlake-and-Rocketlake.patch
diff options
context:
space:
mode:
Diffstat (limited to '0261-x86-Update-model-values-for-Alderlake-and-Rocketlake.patch')
-rw-r--r--0261-x86-Update-model-values-for-Alderlake-and-Rocketlake.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/0261-x86-Update-model-values-for-Alderlake-and-Rocketlake.patch b/0261-x86-Update-model-values-for-Alderlake-and-Rocketlake.patch
new file mode 100644
index 0000000..889bbdc
--- /dev/null
+++ b/0261-x86-Update-model-values-for-Alderlake-and-Rocketlake.patch
@@ -0,0 +1,38 @@
+From 50757adc93ef32a97a8a1083f5d53a9c00da6ac8 Mon Sep 17 00:00:00 2001
+From: "Cui, Lili" <lili.cui@intel.com>
+Date: Thu, 29 Jun 2023 03:10:35 +0000
+Subject: [PATCH 07/28] x86: Update model values for Alderlake and Rocketlake.
+
+Update model values for Alderlake and Rocketlake according to SDM.
+
+gcc/ChangeLog
+
+ * common/config/i386/cpuinfo.h (get_intel_cpu): Remove model value 0xa8
+ from Rocketlake, remove model value 0xbf from Alderlake.
+---
+ gcc/common/config/i386/cpuinfo.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/gcc/common/config/i386/cpuinfo.h b/gcc/common/config/i386/cpuinfo.h
+index 0333da56b..28b2ff0b0 100644
+--- a/gcc/common/config/i386/cpuinfo.h
++++ b/gcc/common/config/i386/cpuinfo.h
+@@ -435,7 +435,6 @@ 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");
+@@ -508,7 +507,6 @@ get_intel_cpu (struct __processor_model *cpu_model,
+ break;
+ case 0x97:
+ case 0x9a:
+- case 0xbf:
+ /* Alder Lake. */
+ cpu = "alderlake";
+ CHECK___builtin_cpu_is ("corei7");
+--
+2.31.1
+