mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-28 22:10:29 +02:00
New s390x port built on the hercules emulator and fedora 16 image.
* include/lightning/jit_s390x.h, lib/jit_s390x-cpu.c, lib/jit_s390x-fpu.c, lib/jit_s390x.c: New files implementing the new s390x port. * configure.ac, include/lightning.h, include/lightning/Makefile.am, include/lightning/jit_private.h, lib/Makefile.am, lib/jit_disasm.c, lib/lightning.c: Minor adaptation for the new s390x backend. * check/float.tst: Update for the s390x result of truncating +Inf to integer. * check/qalu_mul.tst: Add extra test cases to better test high word of signed multiplication as the result is adjust from unsigned multiplication on s390x.
This commit is contained in:
parent
a3891adb4b
commit
f6ee396ccb
14 changed files with 5994 additions and 2 deletions
|
@ -43,6 +43,9 @@ EXTRA_DIST = \
|
|||
jit_ppc.c \
|
||||
jit_ppc-cpu.c \
|
||||
jit_ppc-fpu.c \
|
||||
jit_s390x.c \
|
||||
jit_s390x-cpu.c \
|
||||
jit_s390x-fpu.c \
|
||||
jit_sparc.c \
|
||||
jit_sparc-cpu.c \
|
||||
jit_sparc-fpu.c \
|
||||
|
|
|
@ -90,9 +90,14 @@ jit_init_debug(void)
|
|||
# endif
|
||||
disassemble_init_powerpc(&disasm_info);
|
||||
# endif
|
||||
|
||||
# if defined(__sparc__)
|
||||
disasm_info.endian = disasm_info.display_endian = BFD_ENDIAN_BIG;
|
||||
# endif
|
||||
# if defined(__s390x__)
|
||||
disasm_info.arch = bfd_arch_s390;
|
||||
disasm_info.mach = bfd_mach_s390_64;
|
||||
disasm_info.endian = disasm_info.display_endian = BFD_ENDIAN_BIG;
|
||||
disasm_info.disassembler_options = "zarch";
|
||||
# endif
|
||||
disasm_info.print_address_func = disasm_print_address;
|
||||
|
||||
|
|
3392
lib/jit_s390x-cpu.c
Normal file
3392
lib/jit_s390x-cpu.c
Normal file
File diff suppressed because it is too large
Load diff
1198
lib/jit_s390x-fpu.c
Normal file
1198
lib/jit_s390x-fpu.c
Normal file
File diff suppressed because it is too large
Load diff
1281
lib/jit_s390x.c
Normal file
1281
lib/jit_s390x.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -2913,4 +2913,6 @@ _patch_register(jit_state_t *_jit, jit_node_t *node, jit_node_t *link,
|
|||
# include "jit_hppa.c"
|
||||
#elif defined(__aarch64__)
|
||||
# include "jit_aarch64.c"
|
||||
#elif defined(__s390x__)
|
||||
# include "jit_s390x.c"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue