diff options
author | Xianyi Zhang <xianyi@iscas.ac.cn> | 2011-03-22 14:09:47 +0800 |
---|---|---|
committer | Xianyi Zhang <xianyi@iscas.ac.cn> | 2011-03-22 14:09:47 +0800 |
commit | e4bb6f24828c73293d6b4b28621a21acab7b12eb (patch) | |
tree | bd25f608f45c8d6ce79fa3582ac9d7e54646e7f1 /cpuid_x86.c | |
parent | 972062903cec7f4a510b1d847e4abe752f33702a (diff) | |
download | openblas-e4bb6f24828c73293d6b4b28621a21acab7b12eb.tar.gz openblas-e4bb6f24828c73293d6b4b28621a21acab7b12eb.tar.bz2 openblas-e4bb6f24828c73293d6b4b28621a21acab7b12eb.zip |
Fixed the detecting bug on Intel Core i5. Thank ggl329 for the patch.v0.1alpha1
Diffstat (limited to 'cpuid_x86.c')
-rw-r--r-- | cpuid_x86.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpuid_x86.c b/cpuid_x86.c index 8acc95ff5..0d091b37c 100644 --- a/cpuid_x86.c +++ b/cpuid_x86.c @@ -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; |