[X86] Add icelake-client and tremont model numbers to getHostCPUName.

llvm-svn: 361174
This commit is contained in:
Craig Topper 2019-05-20 16:58:23 +00:00
parent 639b29b1b5
commit cac6b76a76
1 changed files with 9 additions and 0 deletions

View File

@ -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;