From: Martin Kroeker Date: Sun, 3 Nov 2019 21:41:19 +0000 (+0100) Subject: The assembly microkernel is not safe to use on ELFv1 X-Git-Tag: upstream/0.3.21~30^2~59^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2a628554921577f7353256c5888fc09dc3ccdae;p=platform%2Fupstream%2Fopenblas.git The assembly microkernel is not safe to use on ELFv1 --- diff --git a/kernel/power/izamin.c b/kernel/power/izamin.c index 1ffa3ba..8da2189 100644 --- a/kernel/power/izamin.c +++ b/kernel/power/izamin.c @@ -314,6 +314,8 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) if (inc_x == 1) { minf = CABS1(x,0); //index will not be incremented + +#if defined(_CALL_ELF) && (_CALL_ELF == 2) BLASLONG n1 = n & -16; if (n1 > 0) { @@ -321,7 +323,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x) i = n1; ix = n1 << 1; } - +#endif while(i < n) {