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

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.
This commit is contained in:
pcpa 2013-06-01 01:53:33 -03:00
parent e80b244f34
commit 3356b9d93a
17 changed files with 5111 additions and 6 deletions

View file

@ -76,6 +76,8 @@ typedef jit_int32_t jit_fpr_t;
# include <lightning/jit_sparc.h>
#elif defined(__ia64__)
# include <lightning/jit_ia64.h>
#elif defined(__hppa__)
# include <lightning/jit_hppa.h>
#endif
#define jit_flag_node 0x00000001 /* patch node not absolute */