Skip to content

Commit

Permalink
amd: Add Phoenix (Zen 4) CPU ID (#3645)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgamari authored Nov 11, 2023
1 parent f659017 commit d9e4547
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/PerfCounters_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ static CpuMicroarch compute_cpu_microarch() {
case 0x50f00: // Cezanne (Zen 3)
case 0x40f40: // Rembrandt (Zen 3+)
case 0x60f10: // Raphael (Zen 4)
case 0x70f40: // Phoenix (Zen 4)
if (ext_family == 0xa) {
return AMDZen;
}
Expand Down
1 change: 1 addition & 0 deletions src/counters-test/counters.cc
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ static CpuMicroarch compute_cpu_microarch(void) {
case 0x50f00: // Cezanne (Zen 3)
case 0x40f40: // Rembrandt (Zen 3+)
case 0x60f10: // Raphael (Zen 4)
case 0x70f40: // Phoenix (Zen 4)
if (ext_family == 0xa) {
return AMDZen;
}
Expand Down

0 comments on commit d9e4547

Please sign in to comment.