1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-04 22:40:25 +02:00
guile/doc
pcpa 839341a498 Implement jit_frame and jit_tramp interfaces
* include/lightning.h, include/lightning/jit_private.h,
	lib/jit_aarch64-cpu.c, lib/jit_alpha-cpu.c, lib/jit_arm-cpu.c,
	lib/jit_hppa-cpu.c, lib/jit_ia64-cpu.c, lib/jit_mips-cpu.c,
	lib/jit_ppc-cpu.c, lib/jit_s390x-cpu.c, lib/jit_sparc-cpu.c,
	lib/jit_x86-cpu.c, lib/lightning.c: Implement the new
	jit_frame and jit_tramp interfaces, that allow writing
	trampoline like calls, where a single dispatcher jit buffer
	is written, and later other jit buffers are created, with
	the same stack frame layout as the dispatcher. This is the
	logic that GNU Smalltalk used in lightning 1.x, and is required
	to make a sane port for lighting 2.x.

	* jit_ia64-cpu.c: Implement support for jit_frame and jit_tramp,
	and also correct wrong encoding for B4 instructions, that
	implement jmpr, as well as correct reverse logic in _jmpr,
	that was moving the branch register to the jump register,
	and not vice-versa.
	Also, if a stack frame is to be assumed, always assume it may
	call a function with up to 8 arguments, regardless of the
	hint frame argument.

	* lib/jit_arm.c: Add a new must_align_p() interface to ensure
	function prologs are always aligned. This condition was
	previously always true, somewhat by accident, but with
	jit_tramp it is not guaranteed.

	* jit_ia64-cpu.c: lib/jit_ppc.c: Add minor special handling
	required to implement jit_tramp, where a function descriptor
	should not be added before a prolog, as jit_tramp means omit
	prolog.

	* check/lightning.c: Update test driver for the new interfaces.

	* check/Makefile.am, check/tramp.tst, check/tramp.ok: Add
	a simple test and example of the jit_frame and jit_tramp
	usage implementing a simple Fibonacci function using a
	simulation of an interpreter stack and how it would handle
	state in language specific variables.

	* doc/body.texi: Add documentation for jit_frame and
	jit_tramp.
2014-10-14 17:04:40 -03:00
..
.cvsignore big merge 2008-01-09 15:49:22 +01:00
.gitignore add .gitignore 2008-01-09 15:49:21 +01:00
body.texi Implement jit_frame and jit_tramp interfaces 2014-10-14 17:04:40 -03:00
ifib.c Add code to release all memory used by the jit state. 2013-02-11 15:51:55 -02:00
incr.c Add code to release all memory used by the jit state. 2013-02-11 15:51:55 -02:00
lightning.texi Update texinfo documentation to match current implementation. 2013-01-24 19:41:35 -02:00
Makefile.am Correct license to properly advertise LGPLv3 and not GPLv3. 2013-08-11 18:08:52 -03:00
printf.c Add code to release all memory used by the jit state. 2013-02-11 15:51:55 -02:00
rfib.c Add code to release all memory used by the jit state. 2013-02-11 15:51:55 -02:00
rpn.c Add code to release all memory used by the jit state. 2013-02-11 15:51:55 -02:00
version.texi Add info menu entry for lightning 2014-08-29 11:23:22 -03:00