summaryrefslogtreecommitdiff
path: root/0280-x86-Update-model-values-for-Alderlake-Rocketlake-and.patch
diff options
context:
space:
mode:
Diffstat (limited to '0280-x86-Update-model-values-for-Alderlake-Rocketlake-and.patch')
-rw-r--r--0280-x86-Update-model-values-for-Alderlake-Rocketlake-and.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/0280-x86-Update-model-values-for-Alderlake-Rocketlake-and.patch b/0280-x86-Update-model-values-for-Alderlake-Rocketlake-and.patch
new file mode 100644
index 0000000..4abff3f
--- /dev/null
+++ b/0280-x86-Update-model-values-for-Alderlake-Rocketlake-and.patch
@@ -0,0 +1,33 @@
+From 73042aa18fe70aa30a9c7c760b08e642560ecccd 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 26/28] x86: Update model values for Alderlake, Rocketlake and
+ Raptorlake.
+
+Update model values for Alderlake, Rocketlake and Raptorlake according to SDM.
+
+gcc/ChangeLog
+
+ * common/config/i386/cpuinfo.h (get_intel_cpu): Remove model value 0xa8
+ from Rocketlake, move model value 0xbf from Alderlake to Raptorlake.
+
+(cherry picked from commit e510c3be13a8ccdf1fc1b27c2501c126d493f335)
+---
+ gcc/common/config/i386/cpuinfo.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gcc/common/config/i386/cpuinfo.h b/gcc/common/config/i386/cpuinfo.h
+index 348bc0c12..f9bcb6fad 100644
+--- a/gcc/common/config/i386/cpuinfo.h
++++ b/gcc/common/config/i386/cpuinfo.h
+@@ -509,6 +509,7 @@ get_intel_cpu (struct __processor_model *cpu_model,
+ case 0x9a:
+ /* Alder Lake. */
+ case 0xb7:
++ case 0xbf:
+ /* Raptor Lake. */
+ case 0xaa:
+ case 0xac:
+--
+2.31.1
+