diff options
author | Xianyi Zhang <xianyi@iscas.ac.cn> | 2012-02-13 19:20:35 +0800 |
---|---|---|
committer | Xianyi Zhang <xianyi@iscas.ac.cn> | 2012-02-13 19:20:35 +0800 |
commit | fe613de8e1b72b8225e81556511ac22ea1e2201d (patch) | |
tree | ca4d91cb86fd596e6469fd251119c6ef135903d6 | |
parent | 142e99d4e97dc9387f417e5e45b92a63895743ed (diff) | |
download | openblas-fe613de8e1b72b8225e81556511ac22ea1e2201d.tar.gz openblas-fe613de8e1b72b8225e81556511ac22ea1e2201d.tar.bz2 openblas-fe613de8e1b72b8225e81556511ac22ea1e2201d.zip |
refs #69. Auto-detect Intel Core i6/i7 (Sandy Bridge) CPU with Nehalem assembly kernels.
-rw-r--r-- | cpuid_x86.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpuid_x86.c b/cpuid_x86.c index b68f53573..e183e9fc3 100644 --- a/cpuid_x86.c +++ b/cpuid_x86.c @@ -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; |