diff --git a/libcpuid/recog_amd.c b/libcpuid/recog_amd.c index 3f9d0d0..661555d 100644 --- a/libcpuid/recog_amd.c +++ b/libcpuid/recog_amd.c @@ -677,6 +677,7 @@ int cpuid_identify_amd(struct cpu_raw_data_t* raw, struct cpu_id_t* data, struct decode_amd_number_of_cores(raw, data); decode_amd_codename(data, internal); decode_architecture_version_x86(data); + data->purpose = cpuid_identify_purpose_amd(raw); return 0; } diff --git a/tests/amd/zen4/ryzen9-phoenix-h.test b/tests/amd/zen4/ryzen9-phoenix-h.test index 7e3af85..05efc24 100644 --- a/tests/amd/zen4/ryzen9-phoenix-h.test +++ b/tests/amd/zen4/ryzen9-phoenix-h.test @@ -1281,7 +1281,7 @@ CPUID 8FFFFFFF: 00000000-00000000-00000000-00000000 -------------------------------------------------------------------------------- x86 x86-64-v3 -general +performance 15 4 1