1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-20 18:50:21 +02:00

PPC: Build and pass all tests in powerpcle

* lib/jit_ppc-cpu.c, lib/jit_ppc.c: Correct some endianess issues
	on the powerpc le backend.
This commit is contained in:
Paulo Andrade 2014-12-26 17:23:39 -02:00
parent a16adad0fd
commit af9df5faeb
3 changed files with 13 additions and 4 deletions

View file

@ -26,7 +26,11 @@
# define fits_uint32_p(im) 1
# else
# define gpr_save_area 144 /* r14~r31 = 18 * 8 */
# define params_offset 48
# if if ABI_ELFv2
# define params_offset 32
# else
# define params_offset 48
# endif
# define can_sign_extend_int_p(im) \
(((im) >= 0 && (long)(im) <= 0x7fffffffL) || \
((im) < 0 && (long)(im) >= -0x80000000L))