1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-03 02:36:19 +02:00

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.
This commit is contained in:
pcpa 2012-12-05 22:40:02 -02:00
parent f59fceb75d
commit 91244b1801
4 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,10 @@
2012-12-05 Paulo Andrade <pcpa@gnu.org>
* 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 <pcpa@gnu.org> 2012-12-05 Paulo Andrade <pcpa@gnu.org>
* check/ldstr.ok, check/ldstr.tst, check/ldsti.ok, * check/ldstr.ok, check/ldstr.tst, check/ldsti.ok,

View file

@ -111,7 +111,7 @@ L##x##C:
#else #else
# define LDSTL(C, R0, R1) # define LDSTL(C, R0, R1)
# define SI(C, N, x, X, 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 \ beqi L##x##C %R1 I##X##N \
calli @abort \ calli @abort \
L##x##C: L##x##C:

View file

@ -115,7 +115,7 @@ L##x##C:
# define LDSTL(C, R0, R1, R2) # define LDSTL(C, R0, R1, R2)
# define SI(C, N, x, X, R0, R1, R2) \ # define SI(C, N, x, X, R0, R1, R2) \
movi %R2 $off##x \ movi %R2 $off##x \
ldxr_##x %R2 %R1 %R0 \ ldxr_##x %R1 %R0 %R2 \
beqi L##x##C %R1 I##X##N \ beqi L##x##C %R1 I##X##N \
calli @abort \ calli @abort \
L##x##C: L##x##C:
@ -218,7 +218,6 @@ L##x##C:
main: main:
prolog prolog
#if 0
/* Simple test to simplify validating encodings before /* Simple test to simplify validating encodings before
* brute force tests */ * brute force tests */
movi %r0 t0 movi %r0 t0
@ -307,7 +306,6 @@ Lf:
beqi_d Ld %f0 0.25 beqi_d Ld %f0 0.25
calli @abort calli @abort
Ld: Ld:
#endif
LDST(v0, v1, v2, r0, r1, r2, f0, f1, f2, f3, f4, f5) LDST(v0, v1, v2, r0, r1, r2, f0, f1, f2, f3, f4, f5)
// just to know did not abort // just to know did not abort

View file

@ -58,7 +58,7 @@ fi
cpu= cpu=
case "$target_cpu" in case "$target_cpu" in
i?x86|x86_64) cpu=x86 ;; i?86|x86_64) cpu=x86 ;;
*arm*) cpu=arm ;; *arm*) cpu=arm ;;
*mips*) cpu=mips ;; *mips*) cpu=mips ;;
*ppc*) cpu=ppc ;; *ppc*) cpu=ppc ;;