diff options
author | Craig Topper <craig.topper@intel.com> | 2019-05-20 16:58:23 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-05-20 16:58:23 +0000 |
commit | cac6b76a764cf4051072ad7a032a64bcfab5d5cf (patch) | |
tree | 1862ff4e310770ce26386af9a0a91bbae7c9a1c5 /llvm/lib/Support/Host.cpp | |
parent | 639b29b1b59f72aa1c713e2edf9410b86872ef32 (diff) | |
download | bcm5719-llvm-cac6b76a764cf4051072ad7a032a64bcfab5d5cf.tar.gz bcm5719-llvm-cac6b76a764cf4051072ad7a032a64bcfab5d5cf.zip |
[X86] Add icelake-client and tremont model numbers to getHostCPUName.
llvm-svn: 361174
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r-- | llvm/lib/Support/Host.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp index 4a7eff3f6e3..d47b4d6a419 100644 --- a/llvm/lib/Support/Host.cpp +++ b/llvm/lib/Support/Host.cpp @@ -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; |