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:
d2a6285
)
The assembly microkernel is not safe to use on ELFv1
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Sun, 3 Nov 2019 21:42:46 +0000
(22:42 +0100)
committer
GitHub
<noreply@github.com>
Sun, 3 Nov 2019 21:42:46 +0000
(22:42 +0100)
kernel/power/izamax.c
patch
|
blob
|
history
diff --git
a/kernel/power/izamax.c
b/kernel/power/izamax.c
index
cfe78c8
..
3c132f8
100644
(file)
--- a/
kernel/power/izamax.c
+++ b/
kernel/power/izamax.c
@@
-316,6
+316,7
@@
BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
if (inc_x == 1) {
+#if defined(_CALL_ELF) && (_CALL_ELF == 2)
BLASLONG n1 = n & -16;
if (n1 > 0) {
@@
-323,6
+324,7
@@
BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
i = n1;
ix = n1 << 1;
}
+#endif
while(i < n)
{