diff --git a/cpuid_x86.c b/cpuid_x86.c index 6466bd148..d7d85eb20 100644 --- a/cpuid_x86.c +++ b/cpuid_x86.c @@ -1495,6 +1495,10 @@ int get_cpuname(void){ switch (model) { case 7: // Alder Lake desktop case 10: // Alder Lake mobile + if(support_avx512_bf16()) + return CPUTYPE_COOPERLAKE; + if(support_avx512()) + return CPUTYPE_SKYLAKEX; if(support_avx2()) return CPUTYPE_HASWELL; if(support_avx())