projects
/
platform
/
upstream
/
openblas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace vpermpd with vpermilpd
[platform/upstream/openblas.git]
/
common_x86_64.h
diff --git
a/common_x86_64.h
b/common_x86_64.h
index
f59ff66
..
c05998d
100644
(file)
--- a/
common_x86_64.h
+++ b/
common_x86_64.h
@@
-129,12
+129,13
@@
static __inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx){
*ecx=cpuinfo[2];
*edx=cpuinfo[3];
#else
- __asm__ __volatile__("cpuid"
+ __asm__ __volatile__("mov $0, %%ecx;"
+ "cpuid"
: "=a" (*eax),
"=b" (*ebx),
"=c" (*ecx),
"=d" (*edx)
- : "0" (op)
, "c"(0)
);
+ : "0" (op));
#endif
}