[compiler-rt] cafbcfa - [X86] Update Model value for Raptor Lake.

Freddy Ye via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 00:33:34 PDT 2023


Author: Freddy Ye
Date: 2023-07-26T15:33:15+08:00
New Revision: cafbcfa086afa467156a7975ab8b064c6217c140

URL: https://github.com/llvm/llvm-project/commit/cafbcfa086afa467156a7975ab8b064c6217c140
DIFF: https://github.com/llvm/llvm-project/commit/cafbcfa086afa467156a7975ab8b064c6217c140.diff

LOG: [X86] Update Model value for Raptor Lake.

Reviewed By: pengfei, skan

Differential Revision: https://reviews.llvm.org/D156285

Added: 
    

Modified: 
    compiler-rt/lib/builtins/cpu_model.c
    llvm/lib/TargetParser/Host.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/builtins/cpu_model.c b/compiler-rt/lib/builtins/cpu_model.c
index 36eb696c39eef9..5f45217a64c0e7 100644
--- a/compiler-rt/lib/builtins/cpu_model.c
+++ b/compiler-rt/lib/builtins/cpu_model.c
@@ -449,6 +449,8 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
     case 0x9a:
     // Raptorlake:
     case 0xb7:
+    case 0xba:
+    case 0xbf:
     // Meteorlake:
     case 0xaa:
     case 0xac:

diff  --git a/llvm/lib/TargetParser/Host.cpp b/llvm/lib/TargetParser/Host.cpp
index 518c859b11cc44..ffb7436b713168 100644
--- a/llvm/lib/TargetParser/Host.cpp
+++ b/llvm/lib/TargetParser/Host.cpp
@@ -824,6 +824,8 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
     case 0x9a:
     // Raptorlake:
     case 0xb7:
+    case 0xba:
+    case 0xbf:
     // Meteorlake:
     case 0xaa:
     case 0xac:


        


More information about the llvm-commits mailing list