1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 13:20:26 +02:00
guile/check
pcpa a62f405751 Add the jit_callee_save_p interface and extra register definitions.
* check/self.c, check/self.ok: New files implementing simple
	consistency check assertions. At first validating some macros
	that use values from different sources agree.

	* check/Makefile.am: Update for the new test case.

	* include/lightning.h,  lib/lightning.c: Add the new
	jit_callee_save_p() call, that is intended to be used when
	writing complex code using lightning, so that one does not
	need to verify what backend is being used, or have access to
	private data, to query if a register is callee save or not;
	on several backends the scratch registers are actually callee
	save.

	* include/lightning/jit_aarch64.h, include/lightning/jit_arm.h,
	include/lightning/jit_hppa.h, include/lightning/jit_mips.h,
	include/lightning/jit_ppc.h, include/lightning/jit_sparc.h,
	include/lightning/jit_x86.h: Add an explicit definition for
	JIT_R3-JIT_Rn, JIT_V3-JIT_Vn and JIT_F6-JIT_Fn when applicable.
	This allows one to write code based on "#if defined(JIT_XN)"
	and therefore, not need to check what is the current backend
	or have access to private data structures. This is particularly
	useful when writing virtual machines with several specialized,
	global registers.

	* lib/jit_ia64.c: Properly flag the callee save general
	purpose registers as such, so that jit_callee_save_p() works
	as intended.
2013-09-10 21:41:49 -03:00
..
3to2.ok Big merge with new lightning semantics aiming for lightning 2.0. 2012-12-02 19:44:36 -02:00
3to2.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
add.ok Big merge with new lightning semantics aiming for lightning 2.0. 2012-12-02 19:44:36 -02:00
add.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
all.tst Implement the qmul and qdiv instructions. 2013-02-04 18:54:37 -02:00
allocai.ok Big merge with new lightning semantics aiming for lightning 2.0. 2012-12-02 19:44:36 -02:00
allocai.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
alu.inc Correct float division and LX with stop code generation. 2013-04-27 04:37:57 -03:00
alu_add.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alu_add.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alu_and.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alu_and.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alu_com.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alu_com.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alu_div.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alu_div.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alu_lsh.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alu_lsh.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alu_mul.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alu_mul.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alu_neg.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alu_neg.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alu_or.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alu_or.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alu_rem.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alu_rem.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alu_rsh.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alu_rsh.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alu_sub.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alu_sub.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alu_xor.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alu_xor.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alux_add.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alux_add.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
alux_sub.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
alux_sub.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
bp.ok Big merge with new lightning semantics aiming for lightning 2.0. 2012-12-02 19:44:36 -02:00
bp.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
branch.ok Add several arithmetic and branch tests cases. 2012-12-09 19:13:33 -02:00
branch.tst Correct wrong and confusing reverse float comparison logic 2012-12-29 18:55:11 -02:00
call.ok Add simple test case to test argument and return values. 2012-12-23 20:28:05 -02:00
call.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
carry.ok Add new carry test case. 2012-12-23 11:51:41 -02:00
carry.tst Add new carry test case. 2012-12-23 11:51:41 -02:00
ccall.c Cosmetic removal of white spaces in end of lines. 2013-08-10 11:38:43 -03:00
ccall.ok Add the new ccall test case to test interleaved C and jit function calls 2013-01-05 16:14:59 -02:00
check.arm.sh Properly check tests output. 2013-07-28 14:01:22 -03:00
check.sh Properly check tests output. 2013-07-28 14:01:22 -03:00
check.swf.sh Properly check tests output. 2013-07-28 14:01:22 -03:00
check.x87.sh Properly check tests output. 2013-07-28 14:01:22 -03:00
clobber.ok Add new register clobber detection test case. 2012-12-22 12:15:03 -02:00
clobber.tst Correct float division and LX with stop code generation. 2013-04-27 04:37:57 -03:00
cvt.ok Add new test case for int/float to/from conversion. 2012-12-06 15:16:23 -02:00
cvt.tst Add jit_ellipis and remove jit_prepare argument. 2012-12-12 22:59:52 -02:00
divi.ok Big merge with new lightning semantics aiming for lightning 2.0. 2012-12-02 19:44:36 -02:00
divi.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
fib.ok Big merge with new lightning semantics aiming for lightning 2.0. 2012-12-02 19:44:36 -02:00
fib.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
float.ok Add new extensive float comparison and conversion test case 2012-12-29 14:16:45 -02:00
float.tst New s390x port built on the hercules emulator and fedora 16 image. 2013-07-28 14:13:39 -03:00
fop_abs.ok Add two extra test cases for float operations. 2012-12-17 17:55:38 -02:00
fop_abs.tst Add two extra test cases for float operations. 2012-12-17 17:55:38 -02:00
fop_sqrt.ok Add two extra test cases for float operations. 2012-12-17 17:55:38 -02:00
fop_sqrt.tst Add two extra test cases for float operations. 2012-12-17 17:55:38 -02:00
ldst.inc Add functional hppa port. All tests pass. 2013-06-01 01:53:33 -03:00
ldsti.ok Add new test cases to exercise memory load/store. 2012-12-05 15:57:33 -02:00
ldsti.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
ldstr-c.ok Add new ldst variant test cases to check base/index register clobber. 2012-12-06 10:00:30 -02:00
ldstr-c.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
ldstr.ok Add new test cases to exercise memory load/store. 2012-12-05 15:57:33 -02:00
ldstr.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
ldstxi-c.ok Add new ldst variant test cases to check base/index register clobber. 2012-12-06 10:00:30 -02:00
ldstxi-c.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
ldstxi.ok Add new test cases to exercise memory load/store. 2012-12-05 15:57:33 -02:00
ldstxi.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
ldstxr-c.ok Add new ldst variant test cases to check base/index register clobber. 2012-12-06 10:00:30 -02:00
ldstxr-c.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
ldstxr.ok Add new test cases to exercise memory load/store. 2012-12-05 15:57:33 -02:00
ldstxr.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
lightning.c Use the logic to workaround float NaN and Inf Hercules bug conditional 2013-09-10 21:29:15 -03:00
Makefile.am Add the jit_callee_save_p interface and extra register definitions. 2013-09-10 21:41:49 -03:00
qalu.inc Implement the qmul and qdiv instructions. 2013-02-04 18:54:37 -02:00
qalu_div.ok Implement the qmul and qdiv instructions. 2013-02-04 18:54:37 -02:00
qalu_div.tst Implement the qmul and qdiv instructions. 2013-02-04 18:54:37 -02:00
qalu_mul.ok Implement the qmul and qdiv instructions. 2013-02-04 18:54:37 -02:00
qalu_mul.tst New s390x port built on the hercules emulator and fedora 16 image. 2013-07-28 14:13:39 -03:00
ret.ok Implement the "live" code to explicitly tell a register is live. 2013-02-05 14:14:25 -02:00
ret.tst Implement the "live" code to explicitly tell a register is live. 2013-02-05 14:14:25 -02:00
rpn.ok Correct integer multiplication and add extra test case. 2012-12-03 00:07:29 -02:00
rpn.tst Add the new jit_name call to mark function boundaries 2013-01-18 18:05:57 -02:00
run-test Add support to test different/alternate code generation setups. 2012-12-14 22:40:08 -02:00
self.c Add the jit_callee_save_p interface and extra register definitions. 2013-09-10 21:41:49 -03:00
self.ok Add the jit_callee_save_p interface and extra register definitions. 2013-09-10 21:41:49 -03:00
stack.ok Add new test case to check stack integrity on complex stack frames. 2012-12-19 18:07:12 -02:00
stack.tst Adjust lightning to work on ppc AIX. 2013-06-07 21:27:52 -03:00
varargs.ok Add functional hppa port. All tests pass. 2013-06-01 01:53:33 -03:00
varargs.tst Add functional hppa port. All tests pass. 2013-06-01 01:53:33 -03:00