Fixed the detecting bug on Intel Core i5. Thank ggl329 for the patch.

This commit is contained in:
Xianyi Zhang 2011-03-22 14:09:47 +08:00
parent 972062903c
commit e4bb6f2482
2 changed files with 10 additions and 0 deletions

View File

@ -1305,6 +1305,11 @@ int get_coretype(void){
break;
case 2:
switch (model) {
case 5:
//Intel Core (Clarkdale) / Core (Arrandale)
// Pentium (Clarkdale) / Pentium Mobile (Arrandale)
// Xeon (Clarkdale), 32nm
return CORE_NEHALEM;
case 12:
//Xeon Processor 5600 (Westmere-EP)
return CORE_NEHALEM;

View File

@ -123,6 +123,11 @@ static gotoblas_t *get_coretype(void){
return NULL;
case 2:
//Intel Core (Clarkdale) / Core (Arrandale)
// Pentium (Clarkdale) / Pentium Mobile (Arrandale)
// Xeon (Clarkdale), 32nm
if (model == 5) return &gotoblas_NEHALEM;
//Intel Xeon Processor 5600 (Westmere-EP)
if (model == 12) return &gotoblas_NEHALEM;
return NULL;