[X86] Add more icelake model numbers to compiler-rt implementation of __builtin_cpu_is.

Using model numbers found in Table 2-1 of the May 2019 version
of the Intel Software Developer's Manual Volume 4.

llvm-svn: 361423
This commit is contained in:
Craig Topper 2019-05-22 19:51:48 +00:00
parent 2f1895e03d
commit 6dbf4a86a7
1 changed files with 8 additions and 0 deletions

View File

@ -363,11 +363,19 @@ static void getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
break;
// Icelake:
case 0x7d:
case 0x7e:
*Type = INTEL_COREI7;
*Subtype = INTEL_COREI7_ICELAKE_CLIENT; // "icelake-client"
break;
// Icelake Xeon:
case 0x6a:
case 0x6c:
*Type = INTEL_COREI7;
*Subtype = 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