Skip to content

Commit cac6b76

Browse files
committed
[X86] Add icelake-client and tremont model numbers to getHostCPUName.
llvm-svn: 361174
1 parent 639b29b commit cac6b76

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

llvm/lib/Support/Host.cpp

+9
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,12 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
681681
*Subtype = X86::INTEL_COREI7_CANNONLAKE; // "cannonlake"
682682
break;
683683

684+
// Icelake:
685+
case 0x7e:
686+
*Type = X86::INTEL_COREI7;
687+
*Subtype = X86::INTEL_COREI7_ICELAKE_CLIENT; // "icelake-client"
688+
break;
689+
684690
case 0x1c: // Most 45 nm Intel Atom processors
685691
case 0x26: // 45 nm Atom Lincroft
686692
case 0x27: // 32 nm Atom Medfield
@@ -706,6 +712,9 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
706712
case 0x7a:
707713
*Type = X86::INTEL_GOLDMONT_PLUS;
708714
break;
715+
case 0x86:
716+
*Type = X86::INTEL_TREMONT;
717+
break;
709718
case 0x57:
710719
*Type = X86::INTEL_KNL; // knl
711720
break;

0 commit comments

Comments
 (0)