OSDN Git Service

[X86] Add icelake-client and tremont model numbers to getHostCPUName.
authorCraig Topper <craig.topper@intel.com>
Mon, 20 May 2019 16:58:23 +0000 (16:58 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 20 May 2019 16:58:23 +0000 (16:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361174 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Host.cpp

index 4a7eff3..d47b4d6 100644 (file)
@@ -681,6 +681,12 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
       *Subtype = X86::INTEL_COREI7_CANNONLAKE; // "cannonlake"
       break;
 
+    // Icelake:
+    case 0x7e:
+      *Type = X86::INTEL_COREI7;
+      *Subtype = X86::INTEL_COREI7_ICELAKE_CLIENT; // "icelake-client"
+      break;
+
     case 0x1c: // Most 45 nm Intel Atom processors
     case 0x26: // 45 nm Atom Lincroft
     case 0x27: // 32 nm Atom Medfield
@@ -706,6 +712,9 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
     case 0x7a:
       *Type = X86::INTEL_GOLDMONT_PLUS;
       break;
+    case 0x86:
+      *Type = X86::INTEL_TREMONT;
+      break;
     case 0x57:
       *Type = X86::INTEL_KNL; // knl
       break;