diff --git a/include/cpuinfo.h b/include/cpuinfo.h index 387611cc..9ed5d924 100644 --- a/include/cpuinfo.h +++ b/include/cpuinfo.h @@ -419,6 +419,8 @@ enum cpuinfo_uarch { cpuinfo_uarch_zen3 = 0x0020010B, /** AMD Zen 4 microarchitecture. */ cpuinfo_uarch_zen4 = 0x0020010C, + /** AMD Zen 5 microarchitecture. */ + cpuinfo_uarch_zen5 = 0x0020010D, /** NSC Geode and AMD Geode GX and LX. */ cpuinfo_uarch_geode = 0x00200200, diff --git a/src/x86/uarch.c b/src/x86/uarch.c index b291ebcf..a21eabb0 100644 --- a/src/x86/uarch.c +++ b/src/x86/uarch.c @@ -387,6 +387,8 @@ enum cpuinfo_uarch cpuinfo_x86_decode_uarch( return cpuinfo_uarch_zen4; } break; + case 0x1a: + return cpuinfo_uarch_zen5; } break; case cpuinfo_vendor_hygon: diff --git a/tools/cpu-info.c b/tools/cpu-info.c index b0fec240..b896b270 100644 --- a/tools/cpu-info.c +++ b/tools/cpu-info.c @@ -132,6 +132,8 @@ static const char* uarch_to_string(enum cpuinfo_uarch uarch) { return "Zen 3"; case cpuinfo_uarch_zen4: return "Zen 4"; + case cpuinfo_uarch_zen5: + return "Zen 5"; case cpuinfo_uarch_geode: return "Geode"; case cpuinfo_uarch_bobcat: