diff --git a/src/util/u_cpu_detect.c b/src/util/u_cpu_detect.c index df52ad4f4b2..ae711aae14f 100644 --- a/src/util/u_cpu_detect.c +++ b/src/util/u_cpu_detect.c @@ -709,6 +709,9 @@ util_cpu_detect_once(void) case 0x19: util_cpu_caps.family = CPU_AMD_ZEN3; break; + default: + if (util_cpu_caps.x86_cpu_type > 0x19) + util_cpu_caps.family = CPU_AMD_ZEN_NEXT; } /* general feature flags */ diff --git a/src/util/u_cpu_detect.h b/src/util/u_cpu_detect.h index 9fd4dd289df..59dd2304e10 100644 --- a/src/util/u_cpu_detect.h +++ b/src/util/u_cpu_detect.h @@ -50,6 +50,7 @@ enum cpu_family { CPU_AMD_ZEN1_ZEN2, CPU_AMD_ZEN_HYGON, CPU_AMD_ZEN3, + CPU_AMD_ZEN_NEXT, CPU_AMD_LAST, };