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:
e50a664
)
Refs #220. Support Power7 by old Power6 kernels.
author
Zhang Xianyi
<traits.zhang@gmail.com>
Tue, 21 May 2013 14:59:45 +0000
(22:59 +0800)
committer
Zhang Xianyi
<traits.zhang@gmail.com>
Tue, 21 May 2013 14:59:45 +0000
(22:59 +0800)
cpuid_power.c
patch
|
blob
|
history
diff --git
a/cpuid_power.c
b/cpuid_power.c
index 24ff78f0507708d7eec87749984cc410bfc01c13..9fd9ec9f4e80f771776299a94ca4f74ce9fa1b8f 100644
(file)
--- a/
cpuid_power.c
+++ b/
cpuid_power.c
@@
-114,6
+114,7
@@
int detect(void){
if (!strncasecmp(p, "PPC970", 6)) return CPUTYPE_PPC970;
if (!strncasecmp(p, "POWER5", 6)) return CPUTYPE_POWER5;
if (!strncasecmp(p, "POWER6", 6)) return CPUTYPE_POWER6;
+ if (!strncasecmp(p, "POWER7", 6)) return CPUTYPE_POWER6;
if (!strncasecmp(p, "Cell", 4)) return CPUTYPE_CELL;
if (!strncasecmp(p, "7447", 4)) return CPUTYPE_PPCG4;