Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cpuid_x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -1843,9 +1843,11 @@ int get_cpuname(void)
if (support_avx2()) return CPUTYPE_ZEN;
else return CPUTYPE_DUNNINGTON;
default:
if (support_avx2()) return CPUTYPE_ZEN;
return CPUTYPE_NEHALEM;
}
default:
if (support_avx2()) return CPUTYPE_ZEN;
return CPUTYPE_NEHALEM;
}
}
Expand Down
6 changes: 6 additions & 0 deletions driver/others/dynamic.c
Original file line number Diff line number Diff line change
Expand Up @@ -951,9 +951,15 @@ static gotoblas_t *get_coretype(void){
else
return &gotoblas_DUNNINGTON;
default:
if (support_avx2())
return &gotoblas_ZEN;
else
return &gotoblas_NEHALEM;
}
default:
if (support_avx2())
return &gotoblas_ZEN;
else
return &gotoblas_NEHALEM;
}
}
Expand Down
Loading