]> granicus.if.org Git - llvm/commitdiff
[X86] Add Intel Kaby Lake model numbers to getHostCPUName aliased to "skylake" since...
authorCraig Topper <craig.topper@gmail.com>
Thu, 5 Jan 2017 05:57:27 +0000 (05:57 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 5 Jan 2017 05:57:27 +0000 (05:57 +0000)
Model numbers found here http://www.sandpile.org/x86/cpuid.htm

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

lib/Support/Host.cpp

index 7593cfc98ce97521fc7c01d3542125816853bc45..8a09589aa884ae3aacf9fe99eb5d259e0298a4a4 100644 (file)
@@ -474,8 +474,10 @@ getIntelProcessorTypeAndSubtype(unsigned int Family, unsigned int Model,
       break;
 
     // Skylake:
-    case 0x4e:
-    case 0x5e:
+    case 0x4e: // Skylake mobile
+    case 0x5e: // Skylake desktop
+    case 0x8e: // Kaby Lake mobile
+    case 0x9e: // Kaby Lake desktop
       *Type = INTEL_COREI7; // "skylake"
       *Subtype = INTEL_COREI7_SKYLAKE;
       break;