From: Martin Kroeker Date: Sun, 3 Nov 2019 21:39:06 +0000 (+0100) Subject: The assembly microkernel is not safe to use on ELFv1 X-Git-Tag: upstream/0.3.21~30^2~59^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d999688d1a7a78ba8c69eedb8f26945aa1f04baf;p=platform%2Fupstream%2Fopenblas.git The assembly microkernel is not safe to use on ELFv1 --- diff --git a/kernel/power/idamin.c b/kernel/power/idamin.c index 7fe0f8a..85dd49a 100644 --- a/kernel/power/idamin.c +++ b/kernel/power/idamin.c @@ -326,13 +326,15 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) { minf = ABS(x[0]); //index's not incremented if (inc_x == 1) { +#if defined(_CALL_ELF) && (_CALL_ELF == 2) BLASLONG n1 = n & -32; if (n1 > 0) { min = diamin_kernel_32(n1, x, &minf); i = n1; } - +#endif + while (i < n) { if (ABS(x[i]) < minf) { min = i;