From bd9c8d375ad21357d42d08a87681418c67c3a0f6 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 22 May 2019 19:51:35 +0000 Subject: [PATCH] [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 --- lib/Support/Host.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.50.1