Skip to content

Commit 88b498b

Browse files
authored
Add Intel Crestmont uarch (#299)
Darkmont is the uarch used in Sierra Forest Tested: make cpu-info sde -srf -- ./cpu-info
1 parent c61fe91 commit 88b498b

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

include/cpuinfo.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,8 @@ enum cpuinfo_uarch {
371371
cpuinfo_uarch_goldmont = 0x00100404,
372372
/** Intel Goldmont Plus microarchitecture (Gemini Lake). */
373373
cpuinfo_uarch_goldmont_plus = 0x00100405,
374+
/** Intel Crestmont microarchitecture (Sierra Forest). */
375+
cpuinfo_uarch_crestmont = 0x00100407,
374376

375377
/** Intel Knights Ferry HPC boards. */
376378
cpuinfo_uarch_knights_ferry = 0x00100500,

src/x86/uarch.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ enum cpuinfo_uarch cpuinfo_x86_decode_uarch(
185185
case 0x5A: // Moorefield
186186
case 0x5D: // SoFIA
187187
return cpuinfo_uarch_silvermont;
188+
case 0xAF: // Sierra Forest
189+
return cpuinfo_uarch_crestmont;
188190
case 0x4C: // Braswell, Cherry
189191
// Trail
190192
case 0x75: // Spreadtrum

tools/cpu-info.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ static const char* uarch_to_string(enum cpuinfo_uarch uarch) {
9090
return "Saltwell";
9191
case cpuinfo_uarch_silvermont:
9292
return "Silvermont";
93+
case cpuinfo_uarch_crestmont:
94+
return "Crestmont";
9395
case cpuinfo_uarch_airmont:
9496
return "Airmont";
9597
case cpuinfo_uarch_goldmont:

0 commit comments

Comments
 (0)