From 6ad818458b48ca655715590a8181d75b5858086f Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 20 May 2019 16:58:23 +0000 Subject: [PATCH] [X86] Add icelake-client and tremont model numbers to getHostCPUName. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361174 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Host.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index 4a7eff3f6e3..d47b4d6a419 100644 --- a/lib/Support/Host.cpp +++ b/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; -- 2.11.0