From: Craig Topper Date: Wed, 22 May 2019 19:51:35 +0000 (+0000) Subject: [X86] Add more icelake model numbers to getHostCPUName. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd9c8d375ad21357d42d08a87681418c67c3a0f6;p=llvm [X86] Add more icelake model numbers to getHostCPUName. Using model numbers found in Table 2-1 of the May 2019 version of the Intel Software Developer's Manual Volume 4. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361422 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index d47b4d6a419..542ebe9e537 100644 --- a/lib/Support/Host.cpp +++ b/lib/Support/Host.cpp @@ -682,11 +682,19 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model, break; // Icelake: + case 0x7d: case 0x7e: *Type = X86::INTEL_COREI7; *Subtype = X86::INTEL_COREI7_ICELAKE_CLIENT; // "icelake-client" break; + // Icelake Xeon: + case 0x6a: + case 0x6c: + *Type = X86::INTEL_COREI7; + *Subtype = X86::INTEL_COREI7_ICELAKE_SERVER; // "icelake-server" + break; + case 0x1c: // Most 45 nm Intel Atom processors case 0x26: // 45 nm Atom Lincroft case 0x27: // 32 nm Atom Medfield