Skip to content

Commit feca8f9

Browse files
authored
Recognize other AVX2-capable Zhaoxin cpus
1 parent 9019f9b commit feca8f9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

driver/others/dynamic.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,9 +951,15 @@ static gotoblas_t *get_coretype(void){
951951
else
952952
return &gotoblas_DUNNINGTON;
953953
default:
954+
if (support_avx2())
955+
return &gotoblas_ZEN;
956+
else
954957
return &gotoblas_NEHALEM;
955958
}
956959
default:
960+
if (support_avx2())
961+
return &gotoblas_ZEN;
962+
else
957963
return &gotoblas_NEHALEM;
958964
}
959965
}

0 commit comments

Comments
 (0)