summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/builtins/cpu_model.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler-rt/lib/builtins/cpu_model.c b/compiler-rt/lib/builtins/cpu_model.c
index 1290d4ce843..f953aed959e 100644
--- a/compiler-rt/lib/builtins/cpu_model.c
+++ b/compiler-rt/lib/builtins/cpu_model.c
@@ -363,11 +363,19 @@ static void getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
break;
// Icelake:
+ case 0x7d:
case 0x7e:
*Type = INTEL_COREI7;
*Subtype = INTEL_COREI7_ICELAKE_CLIENT; // "icelake-client"
break;
+ // Icelake Xeon:
+ case 0x6a:
+ case 0x6c:
+ *Type = INTEL_COREI7;
+ *Subtype = INTEL_COREI7_ICELAKE_SERVER; // "icelake-server"
+ break;
+
case 0x1c: // Most 45 nm Intel Atom processors
case 0x26: // 45 nm Atom Lincroft
case 0x27: // 32 nm Atom Medfield
OpenPOWER on IntegriCloud