1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-01 18:00:23 +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>
* check/ldstr.ok, check/ldstr.tst, check/ldsti.ok,

View file

@ -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:

View file

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

View file

@ -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 ;;