diff options
| -rw-r--r-- | emu/Linux/asm-arm.S | 3 | ||||
| -rw-r--r-- | include/version.h | 2 | ||||
| -rw-r--r-- | libmath/blas.c | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/emu/Linux/asm-arm.S b/emu/Linux/asm-arm.S index 1cdac444..d13bcd0e 100644 --- a/emu/Linux/asm-arm.S +++ b/emu/Linux/asm-arm.S @@ -126,6 +126,7 @@ _tas: @ link register save eliminated. @ lr needed for prologue mov r3, #1 - swp r0, r3, [r0] + mov r1, r0 + swp r0, r3, [r1] mov pc, lr .size _tas, .-_tas diff --git a/include/version.h b/include/version.h index 9161e6af..923af68e 100644 --- a/include/version.h +++ b/include/version.h @@ -1 +1 @@ -#define VERSION "Fourth Edition (20081107)" +#define VERSION "Fourth Edition (20081112)" diff --git a/libmath/blas.c b/libmath/blas.c index a5cc9e0b..e40d2310 100644 --- a/libmath/blas.c +++ b/libmath/blas.c @@ -41,7 +41,8 @@ norm1(int n, double *x) if (n <= 0) return 0; while (n--) { - sum += fabs(*x++); + sum += fabs(*x); + x++; } return sum; } |
