[compiler-rt] [llvm] [X86] Update Model value for Arrow Lake. (PR #113273)
Freddy Ye via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 22 00:01:39 PDT 2024
https://github.com/FreddyLeaf created https://github.com/llvm/llvm-project/pull/113273
Ref.: https://cdrdv2.intel.com/v1/dl/getContent/671368
>From 3114f910faa3360abb43da72fe7d88537b0f13f8 Mon Sep 17 00:00:00 2001
From: Freddy Ye <freddy.ye at intel.com>
Date: Mon, 21 Oct 2024 16:04:54 +0800
Subject: [PATCH] [X86] Update Model value for Arrow Lake.
Ref.: https://cdrdv2.intel.com/v1/dl/getContent/671368
---
compiler-rt/lib/builtins/cpu_model/x86.c | 2 ++
llvm/lib/TargetParser/Host.cpp | 2 ++
2 files changed, 4 insertions(+)
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