Skip to content

Commit 0773695

Browse files
authored
Merge pull request #4760 from martin-frbg/zhaoxin7k
Add cpuid for Zhaoxin KX-7000
2 parents 18063b1 + 9b2a0c7 commit 0773695

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

cpuid_x86.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2525,6 +2525,7 @@ int get_coretype(void){
25252525
case 0x7:
25262526
switch (exmodel) {
25272527
case 5:
2528+
case 6:
25282529
if (support_avx2())
25292530
return CORE_ZEN;
25302531
else

driver/others/dynamic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,7 @@ static gotoblas_t *get_coretype(void){
927927
case 0x7:
928928
switch (exmodel) {
929929
case 5:
930+
case 6:
930931
if (support_avx2())
931932
return &gotoblas_ZEN;
932933
else

0 commit comments

Comments
 (0)