1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-26 13:10:22 +02:00

Rewrite jit_regset_scan1 for easier optimization.

* include/lightning/jit_aarch64.h, include/lightning/jit_arm.h,
	include/lightning/jit_hppa.h, include/lightning/jit_ia64.h,
	include/lightning/jit_mips.h, include/lightning/jit_ppc.h,
	include/lightning/jit_s390x.h, include/lightning/jit_sparc.h,
	include/lightning/jit_x86.h: Change jit_regset_t to an
	unsigned type, to allow safe right shift.

	* lib/lightning.c: Rewrite jit_regset_scan1 to allow easier
	compiler optimization.
This commit is contained in:
pcpa 2014-02-19 14:38:14 -03:00
parent b1d3217b63
commit 6e75c0352d
11 changed files with 33 additions and 16 deletions

View file

@ -133,6 +133,6 @@ typedef enum {
_NOREG,
} jit_reg_t;
typedef jit_int64_t jit_regset_t;
typedef jit_uint64_t jit_regset_t;
#endif /* _jit_hppa */