Skip to content

Commit d742755

Browse files
authored
Added Willow Cove (#301)
* Added Willow Cove * Update uarch.c removed incomplete modification in naming * Update cpu-info.c moved willow_cove up two lines to be next to sunny_cove * Update cpuinfo.h made the enum consistent with uarch naming following sunny_cove * Update cpuinfo.h updated comments to refer to intel microarchitecture per request to keep consistent.
1 parent bac1e85 commit d742755

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

include/cpuinfo.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ enum cpuinfo_uarch {
353353
cpuinfo_uarch_palm_cove = 0x0010020B,
354354
/** Intel Sunny Cove microarchitecture (10 nm, Ice Lake). */
355355
cpuinfo_uarch_sunny_cove = 0x0010020C,
356+
/** Intel Willow Cove microarchitecture (10 nm, Tiger Lake). */
357+
cpuinfo_uarch_willow_cove = 0x0010020D,
356358

357359
/** Pentium 4 with Willamette, Northwood, or Foster cores. */
358360
cpuinfo_uarch_willamette = 0x00100300,

src/x86/uarch.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ enum cpuinfo_uarch cpuinfo_x86_decode_uarch(
168168
case 0x7E: // Ice Lake-U
169169
return cpuinfo_uarch_sunny_cove;
170170

171+
case 0x8C: // Tiger U
172+
case 0x8D: // Tiger H
173+
return cpuinfo_uarch_willow_cove;
171174
/* Low-power cores */
172175
case 0x1C: // Diamondville,
173176
// Silverthorne,

tools/cpu-info.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ static const char* uarch_to_string(enum cpuinfo_uarch uarch) {
8080
return "Palm Cove";
8181
case cpuinfo_uarch_sunny_cove:
8282
return "Sunny Cove";
83+
case cpuinfo_uarch_willow_cove:
84+
return "Willow Cove";
8385
case cpuinfo_uarch_willamette:
8486
return "Willamette";
8587
case cpuinfo_uarch_prescott:

0 commit comments

Comments
 (0)