We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bdf051 commit 18e2fe9Copy full SHA for 18e2fe9
1 file changed
driver/others/dynamic.c
@@ -829,7 +829,18 @@ static gotoblas_t *get_coretype(void){
829
}
830
if (family == 0xf){
831
if ((exfamily == 0) || (exfamily == 2)) {
832
- if (ecx & (1 << 0)) return &gotoblas_OPTERON_SSE3;
+ if (exmodel == 6 && model == 11) { /*QEMU virtual cpu*/
833
+ if (support_avx512_bf16())
834
+ return &gotoblas_COOPERLAKE;
835
+ if (support_avx512())
836
+ return &gotoblas_SKYLAKEX;
837
+ if (support_avx2())
838
+ return &gotoblas_ZEN;
839
+ else
840
+ return &gotoblas_BARCELONA;
841
+ }
842
843
+ if (ecx & (1 << 0)) return &gotoblas_OPTERON_SSE3;
844
else return &gotoblas_OPTERON;
845
} else if (exfamily == 5 || exfamily == 7) {
846
return &gotoblas_BOBCAT;
0 commit comments