The assembly microkernel is not safe to use on ELFv1

This commit is contained in:
Martin Kroeker
2019-11-03 22:37:27 +01:00
committed by GitHub
parent ccc28c6d60
commit 928fe1b28e

View File

@@ -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;