diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-01-05 05:57:27 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-01-05 05:57:27 +0000 |
commit | 33c544bdb033f70fe24629846569967631cba215 (patch) | |
tree | 6064bd2624b668554b5f495f60bdc40e07f4205f | |
parent | 6252bd8eac35653bc0e9c66bd7920735cee1b362 (diff) | |
download | bcm5719-llvm-33c544bdb033f70fe24629846569967631cba215.tar.gz bcm5719-llvm-33c544bdb033f70fe24629846569967631cba215.zip |
[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
llvm-svn: 291086
-rw-r--r-- | llvm/lib/Support/Host.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp index 7593cfc98ce..8a09589aa88 100644 --- a/llvm/lib/Support/Host.cpp +++ b/llvm/lib/Support/Host.cpp @@ -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; |