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:
ccc28c6
)
The assembly microkernel is not safe to use on ELFv1
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Sun, 3 Nov 2019 21:37:27 +0000
(22:37 +0100)
committer
GitHub
<noreply@github.com>
Sun, 3 Nov 2019 21:37:27 +0000
(22:37 +0100)
kernel/power/idamax.c
patch
|
blob
|
history
diff --git
a/kernel/power/idamax.c
b/kernel/power/idamax.c
index
5bdc0a1
..
337fa54
100644
(file)
--- a/
kernel/power/idamax.c
+++ b/
kernel/power/idamax.c
@@
-324,6
+324,7
@@
BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
if (inc_x == 1) {
+#if defined(_CALL_ELF) && (_CALL_ELF == 2)
BLASLONG n1 = n & -32;
if (n1 > 0) {
@@
-331,7
+332,7
@@
BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) {
i = n1;
}
-
+#endif
while (i < n) {
if (ABS(x[i]) > maxf) {
max = i;