Skip to content

Commit

Permalink
Refs #94. Auto-detecting Intel Xeon E7 Westmere-EX.
Browse files Browse the repository at this point in the history
  • Loading branch information
xianyi committed Apr 23, 2012
1 parent f4eee22 commit 001c2c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cpuid_x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,9 @@ int get_cpuname(void){
case 13:
//Intel Core i7-3000 / Xeon E5 (Sandy Bridge)
return CPUTYPE_NEHALEM;
case 15:
//Xeon Processor E7 (Westmere-EX)
return CPUTYPE_NEHALEM;
}
break;
}
Expand Down Expand Up @@ -1325,6 +1328,9 @@ int get_coretype(void){
case 13:
//Intel Core i7-3000 / Xeon E5 (Sandy Bridge)
return CORE_NEHALEM;
case 15:
//Xeon Processor E7 (Westmere-EX)
return CORE_NEHALEM;
}
break;
}
Expand Down

0 comments on commit 001c2c3

Please sign in to comment.