Browse Source

refs #69. Auto-detect Intel Core i6/i7 (Sandy Bridge) CPU with Nehalem assembly kernels.

tags/v0.1alpha2.5
Xianyi Zhang 14 years ago
parent
commit
fe613de8e1
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      cpuid_x86.c

+ 6
- 0
cpuid_x86.c View File

@@ -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;
@@ -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;


Loading…
Cancel
Save