[llvm] r291086 - [X86] Add Intel Kaby Lake model numbers to getHostCPUName aliased to "skylake" since there are no feature differences.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 21:57:27 PST 2017
Author: ctopper
Date: Wed Jan 4 23:57:27 2017
New Revision: 291086
URL: http://llvm.org/viewvc/llvm-project?rev=291086&view=rev
Log:
[X86] Add Intel Kaby Lake model numbers to getHostCPUName aliased to "skylake" since there are no feature differences.
Model numbers found here http://www.sandpile.org/x86/cpuid.htm
Modified:
llvm/trunk/lib/Support/Host.cpp
Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=291086&r1=291085&r2=291086&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Wed Jan 4 23:57:27 2017
@@ -474,8 +474,10 @@ getIntelProcessorTypeAndSubtype(unsigned
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;
More information about the llvm-commits
mailing list