1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-06 04:00:26 +02:00
guile/lightening
Andy Wingo 35cd7fac8b Fix jmp-shortening on x64 when target within instruction.
* lightening/x86.c (jit_try_shorten): If the address is within the
  last instruction, don't shorten.  If the intstruction is a jump, we
  could elide it entirely in some cases, but we don't know if the user
  captured the PC before calling jit_patch_here.  Better to leave this
  to the user.

Thanks to Helmut Eller for the bug report and test case in
https://gitlab.com/wingo/lightening/-/issues/17.
2021-01-07 11:04:17 +01:00
..
aarch64-cpu.c Add jmpi_with_link instruction 2019-06-20 10:13:37 +02:00
aarch64-fpu.c Fix literal pool emission on armv7 2019-05-21 14:19:48 +02:00
aarch64.c Fix patch_veneer on aarch64 2020-07-30 11:17:46 +02:00
aarch64.h Add jmpi_with_link instruction 2019-06-20 10:13:37 +02:00
arm-cpu.c Fix ARMv7 THUMB encoding for immediates. 2020-06-20 15:57:06 +02:00
arm-vfp.c ARMv7 backend compiling without warnings 2019-05-20 11:02:21 +02:00
arm.c ARMv7 backend passing all tests! 2019-05-20 15:20:33 +02:00
arm.h Add jmpi_with_link instruction 2019-06-20 10:13:37 +02:00
endian.h Remove hppa support 2019-05-08 21:44:03 +02:00
lightening.c Spill whole words to stack, even for uint8_t args 2020-07-30 14:26:37 +02:00
mips-cpu.c Fix mips32r6 bug 2020-01-06 21:58:04 +01:00
mips-fpu.c Change headers and files to be named "lightening" instead of "jit" 2019-04-03 13:57:48 +02:00
mips.c Inline some internal definitions into backend-specific files 2019-04-26 14:37:35 +02:00
mips.h Change headers and files to be named "lightening" instead of "jit" 2019-04-03 13:57:48 +02:00
ppc-cpu.c Change headers and files to be named "lightening" instead of "jit" 2019-04-03 13:57:48 +02:00
ppc-fpu.c Change headers and files to be named "lightening" instead of "jit" 2019-04-03 13:57:48 +02:00
ppc.c Inline some internal definitions into backend-specific files 2019-04-26 14:37:35 +02:00
ppc.h Change headers and files to be named "lightening" instead of "jit" 2019-04-03 13:57:48 +02:00
s390-cpu.c Change headers and files to be named "lightening" instead of "jit" 2019-04-03 13:57:48 +02:00
s390-fpu.c Change headers and files to be named "lightening" instead of "jit" 2019-04-03 13:57:48 +02:00
s390.c Inline some internal definitions into backend-specific files 2019-04-26 14:37:35 +02:00
s390.h Change headers and files to be named "lightening" instead of "jit" 2019-04-03 13:57:48 +02:00
x86-cpu.c push/pop of link register does not affect stack size on x86 2019-06-20 10:53:12 +02:00
x86-sse.c Silence "unused" warnings 2019-05-22 23:04:30 +02:00
x86.c Fix jmp-shortening on x64 when target within instruction. 2021-01-07 11:04:17 +01:00
x86.h Add jmpi_with_link instruction 2019-06-20 10:13:37 +02:00