wingo pushed a commit to branch lightning
in repository guile.
commit 91244b1801e270127e13c9eeba0ded4d620ae4e7
Author: pcpa <[email protected]>
Date: Wed Dec 5 22:40:02 2012 -0200
Correct test cases in i586 build.
* check/ldstxi.tst, check/ldstxr.tst: Correct wrong argument
order for 32 bit mode tests.
* configure.ac: Correct check for ix86 target_cpu.
---
ChangeLog | 7 +++++++
check/ldstxi.tst | 2 +-
check/ldstxr.tst | 4 +---
configure.ac | 2 +-
4 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index f73029e..e8d5de2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2012-12-05 Paulo Andrade <[email protected]>
+ * check/ldstxi.tst, check/ldstxr.tst: Correct wrong argument
+ order for 32 bit mode tests.
+
+ * configure.ac: Correct check for ix86 target_cpu.
+
+2012-12-05 Paulo Andrade <[email protected]>
+
* check/ldstr.ok, check/ldstr.tst, check/ldsti.ok,
check/ldsti.tst, check/ldstxr.ok, check/ldstxr.tst,
check/ldstxi.ok, check/ldstxi.tst:
diff --git a/check/ldstxi.tst b/check/ldstxi.tst
index e981b7f..710ee42 100644
--- a/check/ldstxi.tst
+++ b/check/ldstxi.tst
@@ -111,7 +111,7 @@ L##x##C:
#else
# define LDSTL(C, R0, R1)
# define SI(C, N, x, X, R0, R1) \
- ldxi_##x $off##x %R1 %R0 \
+ ldxi_##x %R1 %R0 $off##x \
beqi L##x##C %R1 I##X##N \
calli @abort \
L##x##C:
diff --git a/check/ldstxr.tst b/check/ldstxr.tst
index c989cb6..6fb7d7d 100644
--- a/check/ldstxr.tst
+++ b/check/ldstxr.tst
@@ -115,7 +115,7 @@ L##x##C:
# define LDSTL(C, R0, R1, R2)
# define SI(C, N, x, X, R0, R1, R2) \
movi %R2 $off##x \
- ldxr_##x %R2 %R1 %R0 \
+ ldxr_##x %R1 %R0 %R2 \
beqi L##x##C %R1 I##X##N \
calli @abort \
L##x##C:
@@ -218,7 +218,6 @@ L##x##C:
main:
prolog
-#if 0
/* Simple test to simplify validating encodings before
* brute force tests */
movi %r0 t0
@@ -307,7 +306,6 @@ Lf:
beqi_d Ld %f0 0.25
calli @abort
Ld:
-#endif
LDST(v0, v1, v2, r0, r1, r2, f0, f1, f2, f3, f4, f5)
// just to know did not abort
diff --git a/configure.ac b/configure.ac
index de78e10..e7051c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,7 +58,7 @@ fi
cpu=
case "$target_cpu" in
- i?x86|x86_64) cpu=x86 ;;
+ i?86|x86_64) cpu=x86 ;;
*arm*) cpu=arm ;;
*mips*) cpu=mips ;;
*ppc*) cpu=ppc ;;