]> granicus.if.org Git - llvm/commitdiff
[X86] Add more icelake model numbers to getHostCPUName.
authorCraig Topper <craig.topper@intel.com>
Wed, 22 May 2019 19:51:35 +0000 (19:51 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 22 May 2019 19:51:35 +0000 (19:51 +0000)
Using model numbers found in Table 2-1 of the May 2019 version
of the Intel Software Developer's Manual Volume 4.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361422 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Host.cpp

index d47b4d6a419899c8723df565bc6ee9ab513e2c6f..542ebe9e5370816b2d091a3ff4622448c2eff90b 100644 (file)
@@ -682,11 +682,19 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
       break;
 
     // Icelake:
+    case 0x7d:
     case 0x7e:
       *Type = X86::INTEL_COREI7;
       *Subtype = X86::INTEL_COREI7_ICELAKE_CLIENT; // "icelake-client"
       break;
 
+    // Icelake Xeon:
+    case 0x6a:
+    case 0x6c:
+      *Type = X86::INTEL_COREI7;
+      *Subtype = X86::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