Add an extra familiy/model combination used by AMD Steamrolller (Godavari).

This commit is contained in:
Gian-Carlo Pascutto 2017-04-19 19:15:47 +02:00
parent f2f0e98bb5
commit 9c884986ad
2 changed files with 3 additions and 1 deletions

View File

@ -1304,6 +1304,7 @@ int get_cpuname(void){
else
return CPUTYPE_BARCELONA; //OS don't support AVX.
case 0:
case 8:
switch(exmodel){
case 1: //AMD Trinity
if(support_avx())
@ -1839,6 +1840,7 @@ int get_coretype(void){
else
return CORE_BARCELONA; //OS don't support AVX.
case 0:
case 8:
switch(exmodel){
case 1: //AMD Trinity
if(support_avx())

View File

@ -365,7 +365,7 @@ static gotoblas_t *get_coretype(void){
openblas_warning(FALLBACK_VERBOSE, BARCELONA_FALLBACK);
return &gotoblas_BARCELONA; //OS doesn't support AVX. Use old kernels.
}
}else if(model == 0){
}else if(model == 0 || model == 8){
if (exmodel == 1) {
//AMD Trinity
if(support_avx())