Alien-LibJIT

 view release on metacpan or  search on metacpan

libjit/ChangeLog  view on Meta::CPAN


2009-05-10  Aleksey Demakov  <ademakov@gmail.com>

	* include/jit/jit-except.h (JIT_RESULT_UNDEFINED_LABEL):
	* jit/jit-except.c (jit_exception_builtin): add new builtin
	exception.

	* jit/jit-internal.h (struct _jit_label_info): add srtuct.
	(struct _jit_builder): replace label_blocks with label_info.

	* jit/jit-block.c (_jit_block_record_label):
	* jit/jit-dump.c (jit_dump_function):
	* jit/jit-insn.c (jit_insn_label): allow more than one label per
	basic block.

	* include/jit/jit-block.h:
	* jit/jit-block.c (jit_block_get_next_label): add function.

2009-05-09  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-internal.h, jit/jit-block.c, jit/jit-insn.c,
	* jit/jit-function.c: allocate insns as individual array for each
	basic block instead of using common per-function pool.

	* jit/jit-internal.h, jit/jit-block.c: keep useless basic blocks
	in the deleted_blocks list instead of freeing them immediately as
	these blocks still may be referenced from elsewhere, for instance,
	from jit_value_t structs.

	* jit/jit-internal.h, jit/jit-block.c (_jit_block_is_final): add
	function to check if the given block is the last one.
	* jit/jit-rules-alpha.c, jit/jit-rules-arm.c, jit/jit-rules-x86.c,
	* jit/jit-rules-x86-64.c (jump_to_epilog): use _jit_block_is_final.

2009-04-29  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-block.c (_jit_block_build_cfg, _jit_block_clean_cfg): add
	functions to build and clean control flow graph.
	* jit/jit-block.c, jit-live.c (_jit_block_peephole_branch): remove
	function superseded by jit_block_clean_cfg().
	* jit/jit-internal.h, jit/jit-block.c:
	* jit/jit-function.c, jit/jit-insn.c: add control flow graph edges
	to basic blocks, streamline basic block handling.

	* jit/jit-block.c (jit_block_get_label): return jit_label_undefined
	instead of zero on error.
	* jit/jit-insn.c (jit_insn_call_finally): create a new block after
	JIT_OP_CALL_FINALLY.
	* jit/Makefile.am (libjit_la_SOURCES): remove jit-cfg.[ch].

2009-04-24  Michele Tartara  <mikyt@users.sourceforge.net>

	* jit/jit-gen-arm.h (arm_mov_reg_float): fix typo.
	* jit/jit-rules-arm.c (_jit_gen_load_value): fix load logic.

2009-04-22  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-insn.c (jit_insn_call, jit_insn_call_indirect) 
	(jit_insn_call_indirect_vtable, jit_insn_call_native): don't end
	basic block before a function call, rather end it after the call if
	the call may throw some exception.
	* jit/jit-function.c (compile_block): spill all registers before
	calls.

2009-04-21  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-dump.c (jit_dump_insn): fix "call_finally" dump.

2009-04-16  Michele Tartara  <mikyt@users.sourceforge.net>

	* jit/jit-rules-arm.c: ARM backend fixes.

2009-04-16  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-reg-alloc.c (set_regdesc_flags): fix bug reported by
	jan@wedesoft.de.

2009-04-05  Michele Tartara  <mikyt@users.sourceforge.net>

	* jit/jit-type.c (perform_layout): let struct alignment be greater
	than alignment of every indvidual field.

2009-03-28  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules.h (jit_reg_name, jit_reg_flags, jit_reg_code); add
	convenience macros for register info access.
	* jit/jit-rules.h, jit/jit-rules-interp.c, jit/jit-rules-x86.c,
	* jit/jit-rules-arm.c (_jit_reg_get_pair, jit_reg_get_pair): add
	function and macro for finding register pair.
	* jit/jit-reg-alloc.c: replace use of _jit_regs_needs_long_pair with
	jit_reg_get_pair().
	* jit/jit-reg-alloc.h, jit/jit-reg-alloc.c (_jit_regs_get_cpu)
	(_jit_regs_needs_long_pair): remove unused functions.

2009-03-25  Michele Tartara  <mikyt@users.sourceforge.net>

	* jit/jit-gen-arm.h (arm_alu_cc_reg): fix a typo.
	* jit/jit-rules-arm.ins (JIT_OP_IDIV): support negative dividends.

2009-03-24  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules.h (jit_reg_other_reg): add macro.
	* jit/jit-reg-alloc.c: replace OTHER_REG with jit_reg_other_reg.
	* jit/jit-rules-x86.c (_jit_gen_load_value): use jit_reg_other_reg.
	* jit/jit-rules-arm.c (_jit_gen_load_value) 
	(_jit_gen_load_value_struct): use jit_reg_other_reg.

2009-03-23  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-arm.ins: minor cleanup.

2009-03-23  Michele Tartara  <mikyt@users.sourceforge.net>

	* jit/jit-gen-arm.h: add more ARM codegen macros including VFP
	support.
	* jit/jit-rules-arm.ins: restore ARM FPA rules, implement IDIV and
	fix MEMSET opcodes.
	* jit/jit-rules-arm.h, jit/jit-rules-arm.c: more ARM code.
	* jit/jit-reg-alloc.c (_jit_regs_commit): fix typo.

2009-02-07  Aleksey Demakov  <ademakov@gmail.com>

libjit/ChangeLog  view on Meta::CPAN


	* jit/jit-insn.c (jit_insn_sign): the dest value of the sign insn
	has to be int regardless of the argument type.

2008-04-13  Klaus Treichel  <ktreichel@web.de>

	* include/jit/Makefile.am:
	* include/jit/jit-arch-x86-64.h: new file with x86-64 architecture
	specific macros for stack frame inspection.

	* configure.in: check for x86-64 arch, add -fno-omit-frame-pointer
	flag.

	* include/jit/jit-walk.h: use _JIT_ARCH_GET_RETURN_ADDRESS and
	_JIT_ARCH_GET_CURRENT_RETURN if available.

	* jit/jit-gen-x86-64.h: Add additional macros for saving and
	restoring the fpu controlword and the mxcsr register. Add
	additional SSE conversion macros. Add SSE compare macros.
	Add macros for the SSE bit operations on packed values.
	Add macros for SSE sqrt and rounding. Add macros for fpu rounding.

	* jit/jit-rules-x86-64.c: Add the dreg register class and functions
	to handle rounding and SSE bit opcodes on packed values.

	* jit/jit-rules-x86-64.ins: Add INT_TO_NFLOAT, LONG_TO_NFLOAT,
	FLOAT32_TO_NFLOAT, FLOAT64_TO_NFLOAT.
	Rewrite NFLOAT_TO_INT and NFLOAT_TO_LONG to use the new functions
	in jit-rules-x86-64.c. Add handling of ABS, NEG and float compares.

2008-03-31  Klaus Treichel  <ktreichel@web.de>

	* jit/jit-rules-x86.ins: Fix the sign opcode for integers and the
	constant case for longs.

2008-03-30  Klaus Treichel  <ktreichel@web.de>

	* jit/jit-gen-x86-64.h: Add macros for the test, imul, cdw/cdq/cqo
	and cmov instructions.

	* jit/jit-intrinsic.c (jit_int_sign, jit_long_sign): Return 1 for
	values greater than 0 instead of 0.

	* jit/jit-rules-x84-64.ins: Add IMUL, IDIV, IDIV_UN, IREM, IREM_UN,
	LMUL, LDIV, LDIV_UN, LREM and LREM_UN opcodes. Replace the compares
	with zero done with or with test instructions.

2008-03-29  Klaus Treichel  <ktreichel@web.de>

	* jit/jit-rules-x86.ins: Fix signed division of negative values by a
	constant positive power of two.

2008-03-29  Klaus Treichel  <ktreichel@web.de>

	* jit/jit-apply.c, tools/gen-apply.c: changes to apply needed for
	x86-64 support.

2008-03-25  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-interp.c (jit_function_apply_vararg): fix return code	if
	exception is thrown.

2008-03-24  Klaus Treichel  <ktreichel@web.de>

	* jit/jit-function.c (cleanup_on_restart): Reset the epilog_fixup.

	* jit/jit-apply-x86-64.c: Move parameter passing handling from
	jit-rules-x86-64.c to this file because they are needed by apply too.

	* jit/jit-apply-x86-64.h: Add declarations needed for parameter passing.

	* jit/jit-gen-x86-64.h: Add macros for shift opcodes, register exchanges
	and moves from general purpose register to xmm register and vice versa.

	* jit/jit-rules-x86-64.c: Move parameter handling to jit-apply.x86-64.c.
	Add handling of structs in _jit_gen_load_value and _spill_reg. Fix more
	parameter passing issues.

	* jit/jit-rules-x86-64.ins: Do some cleanup. Add casts to jit_nint when
	checking for valid ranges. Add integer and long shift opcodes. Add
	memset opcode.

2008-03-04  Klaus Treichel  <ktreichel@web.de>

	* jit/Makefile.am: Add jit-rules-x86-64.inc to CLEANFILES to fix
	make distcheck.

2008-03-03  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-cache.h, jit/jit-cache.c, jit/jit-function.c (compile):
	modify cache algorithm to allow a method to occupy more than one
	cache page.

	* include/jit/jit-context.h: add JIT_OPTION_CACHE_MAX_PAGE_FACTOR
	option.
	* jit/jit-context.c (_jit_context_get_cache): use that option.

2008-03-02  Klaus Treichel  <ktreichel@web.de>

	* jit/jit-apply-x86-64.h: define the sizes for indirector and
	redirector.

	* jit/jit-apply-x86-64.c: do either a memory indirect, RIP relative
	or register relative jump in the redirector whatever is appropriate
	for the address location in _jit_create_indirector.

	* jit/jit-gen-x86-64.h: add lots of additional code generation
	macros and fix some bugs.

	* jit/jit-insn.c: don't mark the current block dead after throwing
	an exception in jit_insn_call_intrinsic because this is handled in
	jit_insn_call_native if the flag JIT_CALL_NORETURN is specified.

	* jit/Makefile.am: Add the new files jit-rules-x86-64.c,
	jit-rules-x86-64.h and jit-rules-x86-64.ins to the sources.

	* jit/jit-rules.h: add the native backend for X86_64.

	* jit/jit-rules-x86-64.c, jit/jit-rules-x86-64.h,
	jit/jit-rules-x86-64.ins: add the first native  code generation for
	X86_64.

	* jit/jit-value.c: create a nint constant for long/ulong types in
	jit_value_create_constant on 64bit archs.

2008-02-29  Aleksey Demakov  <ademakov@gmail.com>

	* include/jit/jit-plus.h, jitplus/jit-plus-jump-table.cpp:
	* jitplus/jit-plus-function.cpp, jitplus/Makefile.am: add
	jit_jump_table class and jit_function::insn_jump_table method, add
	jit-plus-jump-table.cpp file, move jit_build_exception class from
	jit-plus-function.cpp to jit-plus.h.

2008-02-26  Aleksey Demakov  <ademakov@gmail.com>

	* use LGPL 2.1 for all the rest - dpas, tools, tests, and doc.

2008-02-06  Aleksey Demakov  <ademakov@gmail.com>

	* auto_gen.sh: by popular demand restore this file although it only
	does "autoreconf -i -f" now.

	* tools/gen-rules-parser.y: update license and copyright notices.

2008-01-30  Klaus Treichel  <ktreichel@web.de>

	* jit/Makefile.am: Fix typo in my last commit.

2008-01-29  Klaus Treichel  <ktreichel@web.de>

	* jit/jit-apply-x86-64.h: Fix the macros jit_builtin_return_int
	and jit_builtin_return_float.

	* jit/jit-apply-x86-64.c: Add closure support for x86_64.

	* jit/jit-gen-x86-64.h: Add first codegeneration macros for x86_64.

	* jit/Makefile.am: Add the two new files to the libjit sources.

2008-01-26  Aleksey Demakov  <ademakov@gmail.com>

	* auto_gen.sh: remove, use "autoreconf -i -f" instead (thanks
	Dalibor for the hint).
	* INSTALL, config.guess, config.sub, install-sh, missing: remove
	from CVS, these files are automatically generated by autoreconf.
	* mkinstalldirs: remove, this file is obsolete.

2008-01-25  Aleksey Demakov  <ademakov@gmail.com>

	* include/*, jit/*, jitplus/*, jitdynamic/*: use LGPL 2.1.

libjit/ChangeLog  view on Meta::CPAN

	* jit/jit-rules-alpha.c: register class should not include FIXED
	registers.

	* .cvsignore, tools/.cvsignore, tutorial/.cvsignore: updated
	the .cvsignore files to ignore some generated files.

2007-01-03  Thomas Cort  <linuxgeek@gmail.com>

	* jit/jit-rules-alpha.c: initialize alpha register classes.
	Fix signed-ness warnings.

2007-01-02  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-x86.ins: add JIT_OP_IMIN_UN rule (based on the
	  patch #5540 by Kirill Kononenko).

	* jit/jit-reg-alloc.c (set_regdesc_value, set_regdesc_register)
	(choose_output_register): handle EARLY_CLOBBER flag for dest value.

2006-12-30  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-reg-class.c, jit/jit-reg-class.h, jit/Makefile.am: add
	register classes.

	* jit/jit-rules-x86.c (_jit_init_backend): initialize x86 register
	classes.

	* jit/jit-reg-alloc.h, jit/jit-reg-alloc.c: specify register class
	for each value and scratch register. Clean up interface.

	* tools/gen-rules-scanner.l, tools/gen-rules-parser.y: add register
	class declaration; "reg", "lreg", "freg" are not keywords anymore.
	"scratch" requires register class specification. "clobber" accepts
	register class which means all registers in the class are clobbered.
	Remove "only", "spill_before", "unary", and "binary" keywords.
	Replace "unary_note" and "binary_note" with "note". Also replace
	"unary_branch" and "binary_branch" with "branch".

	* jit/jit-rules-alpha.ins, jit/jit-rules-x86.ins: update according
	to the new rule syntax.

2006-12-20  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-thread.h, jit/jit-thread.c: add _jit_global_lock mutex.
	* jit/jit-init.c (jit_init): make sure that initialization is done
	  only once.

2006-12-17  Klaus Treichel  <ktreichel@web.de>

	* include/jit/jit-function.h, jit/jit-function.c: Add the function
	jit_function_from_vtable_pointer to convert a vtable pointer back to
	the jit_function_t.

2006-11-29  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-reg-alloc.c (save_value): fix bug freeing stack register
	that is not on the stack top.

2006-11-27  Kirill Kononenko  <Kirill.Kononenko@gmail.com>

	* jit/jit-rules-x86.c (throw_builtin):
	* jit/jit-rules-x86.ins (JIT_OP_THROW, JIT_OP_LOAD_PC): directly use
	the inst variable to get current PC value for the position-dependent
	code case (patch #5503).

2006-11-27  Aleksey Demakov  <ademakov@gmail.com>

	* include/jit/jit-context.h: add JIT_OPTION_POSITION_INDEPENDENT
	option.
	* jit/jit-internal.h (struct _jit_builder): add position_independent
	field.
	* jit/jit-function.c (_jit_function_ensure_builder): initialize
	position_independent field.

	* jit/jit-rules-x86.c (throw_builtin):
	* jit/jit-rules-x86.ins (JIT_OP_ADDRESS_OF_LABEL, JIT_OP_JUMP_TABLE)
	(JIT_OP_THROW, JIT_OP_LOAD_PC): add position_independent check and
	stub missing cases.

2006-11-26  Kirill Kononenko  <Kirill.Kononenko@gmail.com>

	* jit/jit-rules-x86.ins: if JIT_USE_SIGNALS is defined do not emit
	explicit division by zero check (patch #5278).

2006-11-26  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-reg-alloc.c (choose_output_register): fix global register
	use cost computation.

	* jit/jit-rules-x86.ins: mark as commutative JIT_OP_IADD,
	JIT_OP_IMUL, JIT_OP_LADD, JIT_OP_IAND, JIT_OP_IOR, JIT_OP_IXOR,
	JIT_OP_LAND, JIT_OP_LOR, JIT_OP_XOR rules.

2006-11-25  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-reg-alloc.c (exch_stack_top, free_value): fix freeing
	stack registers.

2006-11-25  Kirill Kononenko  <Kirill.Kononenko@gmail.com>

	* jit/jit-rules-x86.ins: add JIT_OP_ISIGN and JIT_OP_LSIGN rules
	(patch #5533), optimize JIT_OP_LNEG rule (patch #5555). [with
	some modifications by Aleksey Demakov.]

2006-11-11  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-x86.ins: add JIT_OP_IABS and JIT_OP_LABS rules.

2006-11-04  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-x86.ins: make comparison opcodes use three-address
	patterns.

2006-11-01  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-reg-alloc.c (commit_input_value, commit_output_value):
	do not increment/decrement the top of the register stack in case of
	fp-value coalescing.

2006-10-23  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-x86.ins: JIT_OP_EXPAND_INT and JIT_OP_EXPAND_UINT
	rules were broken for local byte or short values. Fixed by removing
	the local pattern altogether as the reg pattern produces the same
	code but without the bug.

2006-10-18  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-reg-alloc.c (clobbers_register, bind_value): enable
	coalescing of the destination value of a copy operation with the
	source value in a single register.

	* jit/jit-rules-x86.ins: tag COPY rules with the "copy" keyword
	and change patterns of TRUNC rules to have a separate destination
	register.

libjit/ChangeLog  view on Meta::CPAN


2006-05-01  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-x86.sel, jit/jit-rules-x86.ins: fix problem with
	spilling dest register in JIT_OP_ADDRESS_OF rule.

	* jit/jit-rules-x86.ins: rewrite JIT_OP_STORE_RELATIVE_INT rule.

2006-04-23  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-reg-alloc.h, jit/jit-reg-alloc.c: register allocator now
	supports register sets that constrain the register assignment.

	* tools/gen-rules-parser.y: extend grammar to support register sets.
	Fix bugs.

	* jit/jit-rules-x86.ins: take advantage of new register allocator
	for JIT_OP_MEMORY, JIT_OP_MEMOVE, JIT_OP_MEMESET rules.

2006-04-20  Aleksey Demakov  <ademakov@gmail.com>

	* tools/gen-rules-parser.y: fix generation of `if' pattern code.

2006-04-19  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-x86.c (_jit_gen_load_value): fix compiler warning.

	* tools/gen-rules-parser.y (gensel_output_clauses): fix generation
	of clobber and scratch code.

	* tools/gen-rules-scanner.l, tools/gen-rules-parser.y: add `any'
	keyword.

2006-04-18  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-x86.ins: add instruction selection rules for new
	register allocator.
	* jit/Makefile.am: build new instruction selection rules.
	* configure.in: add --enable-new-reg-alloc option.

2006-04-14  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-reg-alloc.h, jit/jit-reg-alloc.c: new register allocator
	improved and extended to support stack registers.

	* jit/jit-internal.h (struct _jit_builder): 
	* jit/jit-function.c (compile_block, jit_function_compile): add
	some tracing.

	* jit/jit-rules.h:
	* jit/jit-rules-arm.c:
	* jit/jit-rules-interp.c: 
	* jit/jit-rules-x86.c: add _jit_gen_exch_top and _jit_gen_spill_top
	functions used by new allocator to handle stack registers. Add reg
	argument to _jit_gen_spill_global and_jit_gen_load_global
	functions.

2006-04-11  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-insn.c (jit_insn_start_catcher): initialize
	thrown_exception (the problem was found by Klaus).

2006-04-08  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-opcode.c: add jump table into jit_opcodes array.

	* tools/gen-rules-parser.y: extend pattern syntax to allow mark
	  registers as clobbered. Fix bugs.

2006-04-07  Klaus Treichel  <ktreichel@web.de>

	* jit/jit-internal.h (struct _jit_function): add indirector field.
	* jit/jit-function.c (jit_function_compile, jit_function_create):
	  use indirector.
	* jit/jit-apply-x86.h: define jit_indirector_size.
	* jit/jit-apply-func.h, jit/jit-apply-x86.c (_jit_create_indirector):
	  add function that emits indirector code.

2006-04-07  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-insn.c (create_call_setup_insns): zero struct_return
	in case of tail calls (the problem was found by Klaus).

2006-04-03  Aleksey Demakov  <ademakov@gmail.com>

	* tools/gen-rules-scanner.l:
	* tools/gen-rules-parser.y: add `reversible', `x87arith',
	  and `copy' keywords. Fix bugs.

2006-03-23  Klaus Treichel  <ktreichel@web.de>

	* jit/jitc-except.c: Walk the stack to build the stack trace in
	jit_exception_get_stack_trace when the frame is not broken.

2006-03-23  Aleksey Demakov  <ademakov@gmail.com>

	* tools/Makefile.am: 
	* tools/gen-rules-parser.y, tools/gen-rules-scanner.l: add
	"gen-rules" tool that is similar to "gen-sel" but uses new
	register allocator.

2006-03-12  Klaus Treichel  <ktreichel@web.de>

	* jit/jit-insn.c: Pop the setjump context on return from functions
	with a catcher.

2006-03-11  Kirill Kononenko  <Kirill.Kononenko@gmail.com>

	* jit/jit-insn.c (create_call_setup_insn): fix tail calls, work
	if the called function is not the callee function
	(thanks klausT for finding the bug).

2006-02-27  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-insn.c (jit_insn_convert): fix int->uint and uint->int
	conversion.

2006-02-26  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-x86.sel: fix JIT_OP_STORE_RELATIVE_LONG.

libjit/ChangeLog  view on Meta::CPAN


2006-02-04  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-x86.sel: fix a typo in JIT_OP_JUMP_TABLE.

2006-01-30  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-x86.c (_jit_gen_load_value): optimize loading
	of zero constants. Allow to move a value from one register to
	another.

2006-01-15  Rhys Weatherley  <rweather@southern-storm.com.au>

	* configure.in, NEWS: update version for the "0.0.6" release.

	* configure.in: updating working version to "0.0.7".

2006-01-14  Aleksey Demakov  <ademakov@gmail.com>

	* tools/gen-sel-parser.y: spilling a register which is the first
	part of a register pair spill the other part too.

	* jit/jit-reg-alloc.c (free_register_for_value):
	* jit/jit-rules-x86.sel: if a register is the second part of a
	register pair do not consider it free.

2006-01-13  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-insn.c: fix all descriptors of intrinsic functions that
	return an exception code to have return_type equal to
	_jit_type_int_def.

	* jit/jit-dump.c (dump_object_code): fix object file extension.

2006-01-11  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-gen-x86.h (x86_jump_memindex): add macro for indirect
	jumps.
	* jit/jit-internal.h, jit/jit-function.c, jiy/jit-rules-x86.c:
	add fixup_absolute_list field to _jit_block struct for fixing up
	absolute address references to a block.
	* include/jit/jit-opcode.h, include/jit/jit-insn.h, jit/jit-insn.c
	(jit_insn_jump_table), jit/jit-rules-x86.sel, jit/jit-rules-interp.c
	(_jit_gen_insn), jit/jit-interp.c (_jit_run_function):
	add JIT_OP_JUMP_TABLE opcode.

2006-01-08  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-apply-x86.h (jit_builtin_return_int): change definition
	to dereference the return_buf argument and use leal instead of movl.
	This fixes builds with gcc 4.0.2.

2005-12-28  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-x86.sel: implement JIT_OP_MEMMOVE rule. Get rid of
	compiler warnings in JIT_OP_MEMSET.

2005-12-24  Avinash Atreya  <avinashatreya@gmail.com>

	* dpas/dpas-parser.y: implement array expressions (committed by Aleksey
	Demakov, jit_insn_throw replaced with throw_builtin_exception)

2005-12-24  Aleksey Demakov  <ademakov@gmail.com>

	* include/jit/jit-except.h, jit/jit-except.c (jit_exception_builtin): 
	add JIT_RESULT_OUT_OF_BOUNDS builtin exception type code.

	* dpas/dpas-parser.y (throw_builtin_exception): add static function
	that makes jit_exception_builtin call.

	* jit/jit-cache.c (_jit_cache_get_start_method): add function that
	for an address in cache returns the start address of the block that
	contains it.
	* jit/jit-except.c (jit_stack_trace_get_offset): use
	_jit_cache_get_start_method function instead of cache_start field.
	* jit/jit-internal.h, jit/jit-function.c (jit_function_compile):
	remove cache_start field to the jit_function struct.

2005-12-22  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-rules-x86.sel: implement JIT_OP_MEMSET and JIT_OP_MEMCPY
	rules optimized	for small constant size blocks.

2005-12-20  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-gen-x86.h (x86_fld_memindex, x86_fld80_memindex)
	(x86_fst_memindex, x86_fst80_memindex): add floating point load
	and store macros with memindex addressing.

	* jit/jit-rules-x86.sel: optimize floating point element load
	and store rules. Fix potential register allocation problems.

2005-12-18  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-internal.h, jit/jit-function.c (jit_function_compile):
	Add cache_start field to the jit_function struct, set it to the start
	of the function code cache.

	* jit/jit-except.c (jit_stack_trace_get_offset): implement the
	function.

2005-12-15  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-insn.c (jit_insn_address_of): return null if the value is
	constant.

2005-12-15  Avinash Atreya  <avinashatreya@gmail.com>

	* jit/jit-insn.c: Store constants to a temporary to obtain
	address of constant values (Gopal).

2005-12-13  Aleksey Demakov  <ademakov@gmail.com>

	* configure.in: Added --enable-long-double option that forces
	jit_nfloat to be long double.

	* jit/jit-apply-x86.h (jit_builtin_apply, jit_builtin_return_float):
	In gcc/Win32 and gcc/non-Win32 versions of the macros check the size
	of jit_nfloat and use fstpl/fldl or fstpt/fldt instructions
	accordingly.

	* tools/gen-apply.c (detect_float_return): On x86 only the first
	10 bytes of 12 byte long doubles are significant and are used for
	comparison.

2005-12-12  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-dump.c (dump_object_code): in order to make dump work on
	cygwin call "as" and "objdump" in two separate system() calls because
	it looks like the ';' separator between commands does not work there.
	Also on Win32 use TMP and TEMP environment variables as the tmp
	directory names and fallback to "c:/tmp".

	* jit/jit-gen-x86.h (jit_assert): change the macro definition to
	resolve	problems introduced at 2005-12-10.

2005-12-10  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-gen-x86.h: Merged changes from the latest Mono project's
	version	of this file.

	* jit/jit-rules-x86.sel: Done the following rules:
	JIT_OP_LOAD_ELEMENT_FLOAT32, JIT_OP_LOAD_ELEMENT_FLOAT64,
	JIT_OP_LOAD_ELEMENT_NFLOAT, JIT_OP_STORE_ELEMENT_LONG,
	JIT_OP_STORE_ELEMENT_FLOAT32, JIT_OP_STORE_ELEMENT_FLOAT64,
	JIT_OP_STORE_ELEMENT_NFLOAT.

2005-11-19  Klaus Treichel  <ktreichel@web.de>

	* jit/apply-x86-64.h: Change definition of JIT_MEMCPY from "jit_memcpy" to
	"jit_memcpy@PLT" to fix the build of a shared library for x86_64.

2004-11-18  Rhys Weatherley  <rweather@southern-storm.com.au>

	* include/jit/jit-opcode.h, jit/jit-dump.c, jit/jit-insn.c,
	jit/jit-interp.c, jit/jit-opcode.c, jit/jit-rules-interp.c,
	jit/jit-rules-x86.sel: implement tail calls properly.

2004-11-05  Evin Robertson  <evin@users.sourceforge.net>

	* jit/jit-insn.c (jit_insn_store): use the destination type
	to determine the store opcode, not the source value type.

2004-11-02  Evin Robertson  <evin@users.sourceforge.net>

	* jit/jit-function.c (jit_function_compile): clear block addresses
	and fixup lists if we need to restart on a new cache page (minor
	alterations by Rhys).

	* jit/jit-function.c (jit_function_apply_vararg): return 0 when a
	sub-function throws an exception, not 1.

2004-10-31  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-rules-x86.sel: handle the special case of constant
	destination pointers in "store_relative" instructions, because
	otherwise the register allocator gets confused.

2004-10-29  Peter Lund <firefly@diku.dk>

	* doc/libjit.3: fix manpage formatting issues. (patch attached
	to bug #10779, Gopal).

2004-10-28  Rhys Weatherley  <rweather@southern-storm.com.au>

	* configure.in, jit/jit-debugger.c, jit/jit-thread.c,
	jit/jit-thread.h: implement some of the locking code
	for the debugging API.

2004-10-12  Evin Robertson  <evin@users.sourceforge.net>

	* jit/jit-rules-x86.c (output_branch): correct the offset
	when outputting a long-form backward branch.

	* tests/Makefile.am, tests/loop.pas: test case for the
	long-form backward branch bug.

2004-10-06  Rhys Weatherley  <rweather@southern-storm.com.au>

	* doc/Makefile.am, doc/libjit.texi, include/jit/Makefile.am,
	include/jit/jit-common.h, include/jit/jit-context.h,
	include/jit/jit-debugger.h, include/jit/jit-except.h,
	include/jit/jit-function.h, include/jit/jit.h, jit/Makefile.am,
	jit/jit-context.c, jit/jit-debug.c, jit/jit-debugger.c,
	jit/jit-insn.c, jit/jit-internal.h, jit/jit-interp.c:
	redesign the debugger API so that it contains functions
	like "add breakpoint", "run", "step", etc that more closely resemble
	what a front end debugger will want to have, shifting the
	implementation burden off the front end.

2004-10-04  Rhys Weatherley  <rweather@southern-storm.com.au>

	* include/jit/jit-function.h, include/jit/jit-insn.h,
	include/jit/jit-opcode.h, include/jit/jit-plus.h, jit/jit-function.c,
	jit/jit-insn.c, jit/jit-internal.h, jit/jit-interp.c,
	jit/jit-opcode.c, jit/jit-rules-interp.c, jit/jit-rules-arm.sel,
	jit/jit-rules-x86.sel, jitplus/jit-plus-function.cpp:
	add instructions and function API's for supporting debug line
	numbers and breakpoints.

	* doc/Makefile.am, doc/libjit.texi, include/jit/jit-context.h,
	include/jit/jit-insn.h, include/jit/jit-opcode.h,
	include/jit/jit-plus.h, jit/Makefile.am, jit/jit-context.c,
	jit/jit-debug.c, jit/jit-function.c, jit/jit-insn.c,
	jit/jit-internal.h, jit/jit-interp.c, jit/jit-opcode.c,
	jit/jit-rules-arm.sel, jit/jit-rules-interp.c, jit/jit-rules-x86.sel,
	jitplus/jit-plus-function.cpp: clean up the breakpoint API and
	implement debug hooks for the interpreter.

	* jit/jit-insn.c, jit/jit-rules-arm.sel, jit/jit-rules-x86.sel:
	use a common helper function for performing debug hook tests on

libjit/ChangeLog  view on Meta::CPAN


2004-08-30  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit-rules-x86.sel: fix x86 code generation for floating-point
	return instructions.

2004-08-16  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-cpuid-x86.c (cpuid_query): use %ebx in a way that doesn't
	confuse PIC mode in some versions of gcc (bug #10022).

2004-08-13  Rhys Weatherley  <rweather@southern-storm.com.au>

	* include/jit/jit-insn.h, include/jit/jit-opcode.h,
	include/jit/jit-plus.h, jit/jit-insn.c, jit/jit-internal.h,
	jit/jit-interp.h, jit/jit-opcode.c, jit/jit-rules-interp.c,
	jitplus/jit-plus-function.cpp: re-implement the "push_return_area_ptr"
	patch so as to avoid wasting stack space in functions with more
	than one native function call.

2004-08-12  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-rules-interp.c: account for the extra value that is
	added to the stack by the "push_return_area_ptr" instruction.

2004-08-08  Rhys Weatherley  <rweather@southern-storm.com.au>

	* configure.in, NEWS: update version for the "0.0.4" release.

	* configure.in: updating working version to "0.0.5".

2004-08-05  Rhys Weatherley  <rweather@southern-storm.com.au>

	* doc/Makefile.am, doc/README, doc/libjit.texi,
	jit/jit-dump.c, jit/jit-insn.c: documentation updates.

	* dpas/Makefile.am, tools/Makefile.am: support for parallel builds.

2004-08-04  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-opcode.c: fix the operand types for "call_vtable_ptr".

2004-06-25  Rhys Weatherley  <rweather@southern-storm.com.au>

	* tools/gen-apply.c: fix a crash in gen-apply under x86-64.

	* jit/jit-apply-func.h, jit/jit-apply-x86-64.h, tools/gen-apply.c:
	write an x86-64 assembly version of "__builtin_apply", because
	the version inside gcc has an unusable register ordering.

2004-06-24  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-reg-alloc.c, jit/jit-rules-arm.h, jit/jit-rules-interp.c,
	jit/jit-rules-interp.h, jit/jit-rules-x86.h, jit/jit-rules.h:
	use separate JIT_REG_xxx flags for float32, float64, and nfloat
	because some platforms need to put these values in different
	types of registers (e.g. x86-64).

2004-06-22  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-insn.c: properly set the "may_throw" flag for opcodes
	that throw exceptions and which are also supported by the back end.

2004-06-21  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-rules-x86.c, jit/jit-rules-x86.sel: move the code
	for loading/storing small structures into a central location.

2004-06-18  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-dump.c, jit/jit-reg-alloc.c, jit/jit-rules-arm.c,
	jit/jit-rules-arm.h, jit/jit-rules-x86.c, jit/jit-rules-x86.h,
	jit/jit-rules-x86.sel, jit/jit-rules.c, jit/jit-rules.h,
	tests/param.pas: rewrite the x86 and ARM parameter handling
	routines to centralise the code and fix several bugs; add new
	tests for fastcall and stdcall conventions.

2004-06-17  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-reg-alloc.c (_jit_regs_set_outgoing): pass 64-bit "fastcall"
	parameters in ECX:EDX, not in ECX:EBX.

	* tools/gen-apply.c: allow floating-point values to be passed
	in "fastcall" registers.

2004-06-16  Rhys Weatherley  <rweather@southern-storm.com.au>

	* tools/gen-sel-parser.y: add a missing semi-colon.

2004-06-14  Rhys Weatherley  <rweather@southern-storm.com.au>

	* dpas/dpas-internal.h, dpas/dpas-parser.y, dpas/dpas-scanner.l,
	jit/jit-rules-x86.c, jit/jit-rules-x86.sel, tests/Makefile.am,
	tests/param.pas, tools/gen-apply.c: add some test cases for
	parameter passing; fix fastcall/stdcall conventions for x86.

	* jit/jit-rules-arm.h, jit/jit-rules-arm.sel, jit/jit-rules-x86.h,
	jit/jit-rules-x86.sel, tools/gen-sel-parser.y: enable register
	allocation for 64-bit values under x86 and ARM; expand some
	64-bit opcodes in the instruction selectors.

2004-06-12  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-insn.c, jit/jit-rules-x86.c, jit/jit-rules-x86.sel:
	implement or stub missing x86 instruction selection rules.

	* include/jit/jit-insn.h, include/jit/jit-opcode.h,
	include/jit/jit-plus.h, jit/jit-function.c, jit/jit-insn.c,
	jit/jit-interp.c, jit/jit-opcode.c, jit/jit-rules-interp.c,
	jitplus/jit-plus-function.cpp: add the "outgoing_frame_posn"
	instruction, to support tail calls.

2004-06-11  Rhys Weatherley  <rweather@southern-storm.com.au>

	* doc/libjit.texi, jit/jit-insn.c, jit/jit-internal.h,
	jit/jit-reg-alloc.c, jit/jit-rules-arm.c, jit/jit-rules-arm.sel,
	jit/jit-rules-interp.c, jit/jit-rules-x86.c, jit/jit-rules-x86.sel,
	jit/jit-rules.h, jit/jit-value.c, tutorial/Makefile.am,
	tutorial/t2.c, tutorial/t5.c: implement tail calls from a
	function to itself.

	* jit/jit-function.c, jit/jit-reg-alloc.c, jit/jit-rules-arm.c,

libjit/ChangeLog  view on Meta::CPAN


	* jit/jit-rules-x86.c: fix misnaming of jit_type_get_abi,
	jit_abi_stdcall, and jit_abi_fastcall.

	* tools/gen-apply-macosx.h, tools/gen-apply.c: bypass the
	auto-detection logic in gen-apply under MacOSX because
	it doesn't work with Apple's version of gcc.

	* tools/gen-apply.c: gen-apply fix for ia64.

	* jit/jit-alloc.c (jit_flush_exec): warning fix for ia64.

2004-06-06  Miroslaw Dobrzanski-Neumann  <mne@mosaic-ag.com>

	* jit/jit-alloc.c (jit_flush_exec): flush cache lines properly
	if the start is not on a line boundary.

2004-06-06  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-reg-alloc.c, jit/jit-reg-alloc.h, jit/jit-rules-arm.c,
	jit/jit-rules-arm.sel, jit/jit-rules-x86.c, jit/jit-rules-x86.sel:
	add some more instructions to the ARM back end; split some x86
	back end code out into common code for ARM to use as well.

2004-06-02  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-function.c, jit/jit-insn.c, jit/jit-internal.h,
	jit/jit-reg-alloc.c, jit/jit-reg-alloc.h, jit/jit-rules-arm.c,
	jit/jit-rules-arm.h, jit/jit-rules-interp.c, jit/jit-rules-interp.h,
	jit/jit-rules-x86.c, jit/jit-rules-x86.h, jit/jit-rules.h,
	jit/jit-value.c, tools/gen-sel-parser.y: implement a simple global
	register allocation policy, based on usage counts.

	* jit/jit-reg-alloc.c (_jit_regs_load_value): if a value is in a
	global register and it is not going to be destroyed by an instruction,
	then use the global register as the operand.

	* jit/jit-insn.c: recognise "t = a op b; a = t" and turn it
	into "a = a op b" to make it easier for back ends to recognise
	special idioms such as increments and decrements.

2004-06-01  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-cache.c, jit/jit-elf-read.c, tools/gen-apply.c:
	fix some gcc 3.x compile warnings.

	* jit/jit-rules-arm.c, jit/jit-rules-arm.sel: more instruction
	selection rules for ARM.

	* configure.in, jit/jit-rules.h: enable the x86 back end by
	default on platforms where it makes sense, and add the option
	"--enable-interpreter" to "configure".

2004-05-31  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-rules-x86.sel: optimize multiplications for x86.

	* jit/jit-rules-x86.c, jit/jit-rules-x86.sel, tools/gen-sel-parser.y,
	tools/gen-sel-scanner.l: inline and optimize divisions for x86.

	* jit/jit-rules-x86.sel: throw exceptions correctly for "check_null".

2004-05-30  Rhys Weatherley  <rweather@southern-storm.com.au>

	* doc/libjit.texi: clarify the text that describes LLVM, at the
	request of Chris Lattner, LLVM's author.

	* jit/jit-insn.c (jit_insn_convert): use intrinsic functions
	for conversions when the back end doesn't support the opcode.

	* jit/jit-rules-x86.sel, tools/gen-sel-parser.y,
	tools/gen-sel-scanner.l: improve instruction selection for
	floating-point "push" operations.

	* include/jit/jit-insn.h, jit/jit-insn.c, jit/jit-internal.h,
	jit/jit-rules-x86.c: add "jit_insn_defer_pop_stack" and
	"jit_insn_flush_defer_pop", to defer the popping of function
	call arguments as long as possible.

	* jit/jit-rules-x86.sel: fix a cpu vs non-cpu register problem
	in the floating-point "push" operations for x86.

2004-05-29  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-insn.c, jit/jit-reg-alloc.c, jit/jit-reg-alloc.h,
	jit/jit-rules-x86.c, jit/jit-rules-x86.sel: continue the
	x86 back end; particularly byte/short stores.

	* jit/jit-rules-x86.sel: stub out JIT_OP_RETURN_REG, which
	doesn't need any special handling for x86.

2004-05-27  Rhys Weatherley  <rweather@southern-storm.com.au>

	* tools/gen-apply.c: split "detect_struct_conventions" up a bit
	more to (hopefully) prevent problems under MacOSX; fix a bug in
	the generation of "jit_apply_builder_align_regs" that affected
	ARM and PPC systems.

	* dpas/dpas-types.c (dpas_type_identical): treat "float64" and
	"nfloat" as identical on platforms whose "long double" type is
	the same as "double".

	* jit/jit-rules-x86.c, jit/jit-rules-x86.sel, tools/gen-sel-parser.y,
	tools/gen-sel-scanner.l: relative loads and stores for x86.

2004-05-26  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-insn.c, jit/jit-rules-x86.c, jit/jit-rules-x86.sel,
	jit/jit-rules.h, tools/gen-sel-parser.y: fix some compile issues
	in the x86 native back end.

	* jit/jit-function.c, jit/jit-rules-x86.c, jit/jit-rules-x86.sel,
	tools/gen-sel-parser.y: more bug fixes for the x86 back end.

	* include/jit/jit-insn.h, include/jit/jit-plus.h, jit/jit-insn.c,
	jitplus/jit-plus-function.cpp: add "jit_insn_new_block" to simplify
	creating a new block that doesn't have an explicit label.

	* dpas/dpas-parser.y, include/jit/jit-block.h, jit/jit-block.c,
	jit/jit-insn.c: add "jit_block_current_is_dead" to simplify
	testing if the last block is reachable or not, taking empty

libjit/ChangeLog  view on Meta::CPAN

	include/jit/jit-meta.h, include/jit/jit-type.h, include/jit/jit-util.h,
	jit/jit-type.c, jit/jit-value.c: add more instances of JIT_NOTHROW
	to the headers; add some special meta tags for types.

	* include/jit/jit-type.h, jit/jit-type.c: tag the system-dependent
	types so that they can be distinguished from the fixed-sized types
	when it is necessary to do so.

	* jit/Makefile.am, jit/jit-mangle.c: add the beginnings of a C++
	name mangler, to help with extracting C++ symbols from dynamic
	shared libraries.

	* doc/Makefile.am, doc/libjit.texi, doc/mangling_rules.txt,
	include/jit/jit-type.h, include/jit/jit-util.h, jit/jit-mangle.c,
	jit/jit-type.c: continue the implementation of the C++ name
	mangling routines.

2004-05-01  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-apply-x86.c, jit/jit-rules-x86.c, tools/gen-apply.c:
	fix function prolog and epilog handling for structure returns
	under x86/cdecl.

	* configure.in: set the initial working version to 0.0.1.

	* jit/jit-rules-x86.c: implement x86 code generation for some of
	the basic operators.

	* include/jit/jit-insn.h, include/jit/jit-opcode.h,
	include/jit/jit-plus.h, jit/jit-insn.c, jit/jit-interp.cpp,
	jit/jit-opcode.c, jit/jit-reg-alloc.c, jit/jit-reg-alloc.h,
	jit/jit-rules-interp.c, jitplus/jit-plus-function.cpp:
	add array access instructions.

	* tools/gen-apply.c: clean up the builder/parser macros and
	detect padding of the floating-point registers.

2004-04-30  Rhys Weatherley  <rweather@southern-storm.com.au>

	* include/jit/jit-function.h, include/jit/jit-insn.h,
	include/jit/jit-opcode.h, include/jit/jit-plus.h, jit/jit-except.cpp,
	jit/jit-function.c, jit/jit-insn.c, jit/jit-internal.h,
	jit/jit-interp.cpp, jit/jit-interp.h, jit/jit-opcode.c,
	jit/jit-rules-arm.c, jit/jit-rules-interp.c, jit/jit-rules-x86.c,
	jit/jit-rules.h, jitplus/jit-plus-function.cpp: put some
	infrastructure in place to support "try"-related instructions.

	* dpas/dpas-parser.y, dpas/dpas-scope.h, dpas/dpas-semantics.h:
	introduce effective address based l-values into dpas.

2004-04-27  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-dump.c, jit/jit-reg-alloc.c: fix a register stack bug
	in "_jit_regs_set_value"; add some more debug code.

	* include/jit/jit-opcode.h, jit/jit-insn.c, jit/jit-internal.h,
	jit/jit-interp.cpp, jit/jit-opcode.c: wrap function calls
	with code to set up and remove exception frame information.

	* jit/jit-function.c, jit/jit-insn.c, jit/jit-internal.h:
	intuit "nothrow" and "noreturn" flags for compiled functions.

	* include/jit/jit-insn.h, include/jit/jit-plus.h, jit/jit-insn.c,
	jitplus/jit-plus-function.cpp: add "jit_insn_throw",
	"jit_insn_rethrow", and "jit_insn_get_call_stack" to assist
	with throwing exceptions.

	* include/jit/jit-insn.h, jit/jit-block.c, jit/jit-insn.c,
	jit/jit-internal.h: add some instructions for managing "try" blocks.

	* include/jit/jit-opcode.h, jit/jit-block.c, jit/jit-insn.c,
	jit/jit-internal.h, jit/jit-opcode.c: more work on "try" blocks.

2004-04-26  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-reg-alloc.c, jit/jit-reg-alloc.h: add functions to
	assist with register allocation on stack-based architectures.

	* jit/jit-rules-interp.c: implement "_jit_gen_load_value" for
	the interpreter backend.

	* jit/jit-interp.cpp, jit/jit-interp.h: fix some opcode names that
	should be prefixed with "JIT_OP".

	* jit/jit-function.c, jit/jit-internal.h, jit/jit-reg-alloc.c,
	jit/jit-reg-alloc.h, jit/jit-rules-arm.c, jit/jit-rules-interp.c,
	jit/jit-rules-interp.h, jit/jit-rules-x86.c, jit/jit-rules.h:
	interpreter back end code generation for binary, unary, and
	branch opcodes.

	* doc/libjit.texi, jit/jit-rules-interp.c: fix the Texinfo section
	markers in the "Porting" chapter.

	* jit/jit-rules-interp.c: code generation for interpreter return's.

	* include/jit/jit-except.h, include/jit/jit-function.h,
	include/jit/jit-plus.h, jit/jit-except.cpp, jit/jit-function.c,
	jit/jit-interp.cpp, jit/jit-interp.h, jit/jit-rules-interp.c,
	jitplus/jit-plus-function.cpp: implement "jit_function_apply"
	and "jit_function_apply_vararg" for the interpreter back end.

	* jitplus/jit-plus-function.cpp: initialization errors in
	the C++ binding.

	* jit/jit-function.c, jit/jit-insn.c, jit/jit-interp.cpp,
	jit/jit-rules-interp.c: work on code generation for function calls.

	* doc/libjit.texi, include/jit/jit-insn.h, include/jit/jit-plus.h,
	jit/jit-insn.c, jitplus/jit-plus-function.cpp, tutorial/t2.c:
	add a "flags" parmeter to "jit_insn_call" and friends, so that
	"nothrow", "noreturn", and "tail" options can be supplied.

	* jit/jit-dump.c, jit/jit-interp.cpp, jit/jit-interp.h,
	jit/jit-opcode.c, jit/jit-rules-interp.c: dump the translated
	native code from "jit_dump_function" are compilation.

	* jit/jit-interp.cpp, jit/jit-rules-interp.c: argument variable
	offsets should in item units, not byte units.

	* jit/jit-insn.c, jit/jit-reg-alloc.c, jit/jit-reg-alloc.h,
	jit/jit-rules-interp.c: improve register allocation in stacks.

2004-04-25  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-apply-func.h, jit/jit-apply-x86.c, jit/jit-apply-x86.h,
	jit/jit-cache.c: use CPU-specifc padding for aligning code
	areas with NOP's, for greater runtime efficiency.

	* include/jit/jit-elf.h, jit/Makefile.am, jit/jit-elf-write.c:
	add the skeleton of the ELF writing routines.

	* jit/jit-interp.cpp: modify VM_BR_TARGET so that it is PIC-friendly.

2004-04-24  Rhys Weatherley  <rweather@southern-storm.com.au>

	* */*: Initial public release.  Most of the skeleton code is in place.



( run in 1.259 second using v1.01-cache-2.11-cpan-119454b85a5 )