Skip to content

Commit

Permalink
refs #69. Auto-detect Intel Core i6/i7 (Sandy Bridge) CPU with Nehale…
Browse files Browse the repository at this point in the history
…m assembly kernels.
  • Loading branch information
xianyi committed Feb 13, 2012
1 parent 142e99d commit fe613de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cpuid_x86.c
Expand Up @@ -981,6 +981,9 @@ int get_cpuname(void){
// Pentium (Clarkdale) / Pentium Mobile (Arrandale)
// Xeon (Clarkdale), 32nm
return CPUTYPE_NEHALEM;
case 10:
//Intel Core i5-2000 /i7-2000 (Sandy Bridge)
return CPUTYPE_NEHALEM;
case 12:
//Xeon Processor 5600 (Westmere-EP)
return CPUTYPE_NEHALEM;
Expand Down Expand Up @@ -1310,6 +1313,9 @@ int get_coretype(void){
// Pentium (Clarkdale) / Pentium Mobile (Arrandale)
// Xeon (Clarkdale), 32nm
return CORE_NEHALEM;
case 10:
//Intel Core i5-2000 /i7-2000 (Sandy Bridge)
return CORE_NEHALEM;
case 12:
//Xeon Processor 5600 (Westmere-EP)
return CORE_NEHALEM;
Expand Down

0 comments on commit fe613de

Please sign in to comment.