Merge pull request #4792 from martin-frbg/issue4790

Fix core assignment in cpu detection for Intel family 15
This commit is contained in:
Martin Kroeker 2024-07-11 17:38:43 +02:00 committed by GitHub
commit f0fc7249f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -2392,12 +2392,12 @@ int get_coretype(void){
else
return CORE_NEHALEM;
}
}
case 15:
if (model <= 0x2) return CORE_NORTHWOOD;
else return CORE_PRESCOTT;
}
}
}
if (vendor == VENDOR_AMD){
if (family <= 0x5) return CORE_80486;