Browse Source

The assembly microkernel is not safe to use on ELFv1

tags/v0.3.8^2
Martin Kroeker GitHub 6 years ago
parent
commit
d2a6285549
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      kernel/power/izamin.c

+ 3
- 1
kernel/power/izamin.c View File

@@ -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)
{


Loading…
Cancel
Save