projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a53c6e2
)
Detect Intel Core i7 3000 with Sandybridge.
author
Xianyi Zhang
<traits.zhang@gmail.com>
Fri, 25 May 2012 15:20:29 +0000
(23:20 +0800)
committer
Xianyi Zhang
<traits.zhang@gmail.com>
Fri, 25 May 2012 15:20:29 +0000
(23:20 +0800)
cpuid_x86.c
patch
|
blob
|
history
diff --git
a/cpuid_x86.c
b/cpuid_x86.c
index
53b6f35
..
0b9b5b6
100644
(file)
--- a/
cpuid_x86.c
+++ b/
cpuid_x86.c
@@
-990,7
+990,7
@@
int get_cpuname(void){
return CPUTYPE_NEHALEM;
case 13:
//Intel Core i7-3000 / Xeon E5 (Sandy Bridge)
- return CPUTYPE_
NEHALEM
;
+ return CPUTYPE_
SANDYBRIDGE
;
case 15:
//Xeon Processor E7 (Westmere-EX)
return CPUTYPE_NEHALEM;
@@
-1332,7
+1332,7
@@
int get_coretype(void){
return CORE_NEHALEM;
case 13:
//Intel Core i7-3000 / Xeon E5 (Sandy Bridge)
- return CORE_
NEHALEM
;
+ return CORE_
SANDYBRIDGE
;
case 15:
//Xeon Processor E7 (Westmere-EX)
return CORE_NEHALEM;