[compiler-rt] 9e3d465 - [X86] Update Model value for Arrow Lake. (#113273)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 22 18:44:29 PDT 2024
Author: Freddy Ye
Date: 2024-10-23T09:44:26+08:00
New Revision: 9e3d4653afab438c3c2be79e1e9f758c59a34b84
URL: https://github.com/llvm/llvm-project/commit/9e3d4653afab438c3c2be79e1e9f758c59a34b84
DIFF: https://github.com/llvm/llvm-project/commit/9e3d4653afab438c3c2be79e1e9f758c59a34b84.diff
LOG: [X86] Update Model value for Arrow Lake. (#113273)
Ref.: https://cdrdv2.intel.com/v1/dl/getContent/671368
Added:
Modified:
compiler-rt/lib/builtins/cpu_model/x86.c
llvm/lib/TargetParser/Host.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/builtins/cpu_model/x86.c b/compiler-rt/lib/builtins/cpu_model/x86.c
index 23f8fa3e1fd490..7fa4b9e2b66082 100644
--- a/compiler-rt/lib/builtins/cpu_model/x86.c
+++ b/compiler-rt/lib/builtins/cpu_model/x86.c
@@ -475,6 +475,8 @@ static const char *getIntelProcessorTypeAndSubtype(unsigned Family,
// Arrowlake:
case 0xc5:
+ // Arrowlake U:
+ case 0xb5:
CPU = "arrowlake";
*Type = INTEL_COREI7;
*Subtype = INTEL_COREI7_ARROWLAKE;
diff --git a/llvm/lib/TargetParser/Host.cpp b/llvm/lib/TargetParser/Host.cpp
index 9834aaacba18d0..1f608f47ef79f4 100644
--- a/llvm/lib/TargetParser/Host.cpp
+++ b/llvm/lib/TargetParser/Host.cpp
@@ -820,6 +820,8 @@ static StringRef getIntelProcessorTypeAndSubtype(unsigned Family,
// Arrowlake:
case 0xc5:
+ // Arrowlake U:
+ case 0xb5:
CPU = "arrowlake";
*Type = X86::INTEL_COREI7;
*Subtype = X86::INTEL_COREI7_ARROWLAKE;
More information about the llvm-commits
mailing list