Merge pull request #2055 from martin-frbg/atomid

Add CPUID data for Intel Denverton (as Nehalem)
This commit is contained in:
Martin Kroeker 2019-03-12 22:57:07 +01:00 committed by GitHub
commit 3ce28fb81a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -1359,6 +1359,8 @@ int get_cpuname(void){
return CPUTYPE_NEHALEM;
case 12:
// Apollo Lake
case 15:
// Denverton
return CPUTYPE_NEHALEM;
}
break;
@ -1378,7 +1380,7 @@ int get_cpuname(void){
case 9:
case 8:
switch (model) {
case 14: // Kaby Lake
case 14: // Kaby Lake and refreshes
if(support_avx2())
return CPUTYPE_HASWELL;
if(support_avx())

View File

@ -566,8 +566,8 @@ static gotoblas_t *get_coretype(void){
return &gotoblas_NEHALEM; //OS doesn't support AVX. Use old kernels.
}
}
//Apollo Lake
if (model == 12) {
//Apollo Lake or Denverton
if (model == 12 || model == 15) {
return &gotoblas_NEHALEM;
}
return NULL;