summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2008-11-12 13:46:25 +0000
committerCharles.Forsyth <devnull@localhost>2008-11-12 13:46:25 +0000
commit80a374407c3c8837c0e30f32486af86b7c30cded (patch)
tree85c3efb8c030519b84928875ac6867477f7366b5
parent48063faf7937a148e85991c463bf91e78213ebf1 (diff)
20081112-1346
-rw-r--r--emu/Linux/asm-arm.S3
-rw-r--r--include/version.h2
-rw-r--r--libmath/blas.c3
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;
}