From 3356b9d93a59c0aaa7c1303bea70cc10b87d7827 Mon Sep 17 00:00:00 2001 From: pcpa Date: Sat, 1 Jun 2013 01:53:33 -0300 Subject: Add functional hppa port. All tests pass. * include/lightning/jit_hppa.h, lib/jit_hppa-cpu.c, lib/jit_hppa-fpu.c, lib/jit_hppa.c: New files implementing the hppa port. Built on Debian Linux PA-RISC 2.0, 32 bit. * check/float.tst: Add preprocessor for hppa expected values when converting NaN and +-Inf to an integer. * check/ldst.inc: Ensure double load/store tests use an 8 byte aligned address by default. * lib/lightning.c: Correct a bug found during tests in the new port, where qmul* and qdiv* were not properly setting one of the result registers as modified in the function, what would be a problem if the only "write" usage were the qmul* or qdiv*. * check/varargs.tst, check/varargs.ok: Add one extra interleaved integer/double test to validate proper code generation in the extra case. * check/lightning.c, configure.ac, include/lightning.h, include/lightning/Makefile.am, include/lightning/jit_private.h, lib/Makefile.am, lib/jit_disasm.c: Update for the hppa port. --- lib/jit_disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/jit_disasm.c') diff --git a/lib/jit_disasm.c b/lib/jit_disasm.c index 6366ac7..829220c 100644 --- a/lib/jit_disasm.c +++ b/lib/jit_disasm.c @@ -89,7 +89,7 @@ jit_init_debug(void) # endif # if defined(__sparc__) disasm_info.endian = disasm_info.display_endian = BFD_ENDIAN_BIG; -#endif +# endif disasm_info.print_address_func = disasm_print_address; if (bfd_get_file_flags(disasm_bfd) & HAS_SYMS) { -- cgit v1.2.3

AltStyle によって変換されたページ (->オリジナル) /