Skip to content

Commit

Permalink
AMD: Add Hawk Point (Zen 4) CPU ID
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 authored and rocallahan committed Apr 18, 2024
1 parent b9117dd commit 6c7c961
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 @@ -117,6 +117,7 @@ static CpuMicroarch compute_cpu_microarch() {
case 0x40f40: // Rembrandt (Zen 3+)
case 0x60f10: // Raphael (Zen 4)
case 0x70f40: // Phoenix (Zen 4)
case 0x70f50: // Hawk Point (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 @@ -358,6 +358,7 @@ static CpuMicroarch compute_cpu_microarch(void) {
case 0x40f40: // Rembrandt (Zen 3+)
case 0x60f10: // Raphael (Zen 4)
case 0x70f40: // Phoenix (Zen 4)
case 0x70f50: // Hawk Point (Zen 4)
if (ext_family == 0xa) {
return AMDZen;
}
Expand Down

0 comments on commit 6c7c961

Please sign in to comment.