]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/log
francis/libjit.git
17 years agoadd jump table support to jitplus interface
Aleksey Demakov [Fri, 29 Feb 2008 11:10:41 +0000 (11:10 +0000)]
add jump table support to jitplus interface

17 years agouse LGPL 2.1 for dpas, tools, tests, and doc
Aleksey Demakov [Wed, 27 Feb 2008 08:53:40 +0000 (08:53 +0000)]
use LGPL 2.1 for dpas, tools, tests, and doc

17 years agorestore auto_gen.sh
Aleksey Demakov [Wed, 6 Feb 2008 10:03:11 +0000 (10:03 +0000)]
restore auto_gen.sh

17 years agoupdate license and copyright notice
Aleksey Demakov [Wed, 6 Feb 2008 09:47:09 +0000 (09:47 +0000)]
update license and copyright notice

17 years agoFix typo in jit/Makefile.am (and ChangeLog)
Klaus Treichel [Wed, 30 Jan 2008 19:26:46 +0000 (19:26 +0000)]
Fix typo in jit/Makefile.am (and ChangeLog)

17 years agoAdd first set of codegeneration macros and closure support for x86_64.
Klaus Treichel [Tue, 29 Jan 2008 20:16:32 +0000 (20:16 +0000)]
Add first set of codegeneration macros and closure support for x86_64.

17 years agoremove auto_gen.sh, remove automatically generated files
Aleksey Demakov [Fri, 25 Jan 2008 23:06:31 +0000 (23:06 +0000)]
remove auto_gen.sh, remove automatically generated files

17 years agouse LGPL 2.1 for libjit
Aleksey Demakov [Thu, 24 Jan 2008 20:12:48 +0000 (20:12 +0000)]
use LGPL 2.1 for libjit

17 years agoadd LGPL v2.1 file
Aleksey Demakov [Tue, 22 Jan 2008 06:44:10 +0000 (06:44 +0000)]
add LGPL v2.1 file

17 years agofix texinfo markup for parameters
Aleksey Demakov [Tue, 22 Jan 2008 06:09:07 +0000 (06:09 +0000)]
fix texinfo markup for parameters

17 years agoadd missing file to the source list
Aleksey Demakov [Mon, 21 Jan 2008 18:02:53 +0000 (18:02 +0000)]
add missing file to the source list

17 years agoupdate the COPYING file to the latest edition of GPLv2 (new FSF address and minor...
Aleksey Demakov [Sat, 19 Jan 2008 03:27:46 +0000 (03:27 +0000)]
update the COPYING file to the latest edition of GPLv2 (new FSF address and minor formatting changes)

17 years agoFix bug in x86_memindex_emit with displacements outside the x86_int8 range.
Klaus Treichel [Wed, 16 Jan 2008 17:45:16 +0000 (17:45 +0000)]
Fix bug in x86_memindex_emit with displacements outside the x86_int8 range.

17 years agoadd TODO file
Aleksey Demakov [Fri, 11 Jan 2008 06:30:32 +0000 (06:30 +0000)]
add TODO file

17 years agoAdd the nint argument to the return_small_struct and flush_small_struct opcodes.
Klaus Treichel [Fri, 4 Jan 2008 17:15:49 +0000 (17:15 +0000)]
Add the nint argument to the return_small_struct and flush_small_struct opcodes.

17 years agofix fixups for interpreter
Aleksey Demakov [Thu, 3 Jan 2008 17:01:16 +0000 (17:01 +0000)]
fix fixups for interpreter

17 years agoAdd the nint argument to the copy_struct opcode.
Klaus Treichel [Thu, 3 Jan 2008 08:50:21 +0000 (08:50 +0000)]
Add the nint argument to the copy_struct opcode.

17 years agoFix the call to jit_memcpy in jit_builtin_apply.
Klaus Treichel [Mon, 31 Dec 2007 13:42:09 +0000 (13:42 +0000)]
Fix the call to jit_memcpy in jit_builtin_apply.

17 years agofix date
Aleksey Demakov [Sat, 29 Dec 2007 04:05:35 +0000 (04:05 +0000)]
fix date

17 years agofix interpreter JIT_OP_LCMP_UN opcode
Aleksey Demakov [Fri, 28 Dec 2007 19:53:36 +0000 (19:53 +0000)]
fix interpreter JIT_OP_LCMP_UN opcode

17 years agoFix some opcodes in the interpreter backend.
Klaus Treichel [Fri, 28 Dec 2007 19:31:14 +0000 (19:31 +0000)]
Fix some opcodes in the interpreter backend.

17 years agoadd x86 JIT_OP_NFLOAT_TO_INT and JIT_OP_NFLOAT_TO_LONG rules
Aleksey Demakov [Sun, 23 Dec 2007 18:18:44 +0000 (18:18 +0000)]
add x86 JIT_OP_NFLOAT_TO_INT and JIT_OP_NFLOAT_TO_LONG rules

17 years agofix on-demand compilation for interpreter
Aleksey Demakov [Fri, 21 Dec 2007 06:42:45 +0000 (06:42 +0000)]
fix on-demand compilation for interpreter

17 years agoupdate tutorial wrt recomplation
Aleksey Demakov [Thu, 20 Dec 2007 17:31:50 +0000 (17:31 +0000)]
update tutorial wrt recomplation

17 years agoremove jit_function_recompile
Aleksey Demakov [Thu, 20 Dec 2007 13:47:22 +0000 (13:47 +0000)]
remove jit_function_recompile

17 years agoAdd missed ChangeLog entries.
Klaus Treichel [Mon, 17 Dec 2007 17:57:28 +0000 (17:57 +0000)]
Add missed ChangeLog entries.

17 years agoAdd support for multi os archs. Fix jit_builtin_apply for x86_64 by adding
Klaus Treichel [Sun, 16 Dec 2007 11:46:53 +0000 (11:46 +0000)]
Add support for multi os archs. Fix jit_builtin_apply for x86_64 by adding
r10 and r11 to the clobber list. Fix compiler warnings in
_JIT_ALIGN_CHECK_TYPE.

17 years agofix compiler warnings
Aleksey Demakov [Tue, 27 Nov 2007 07:11:46 +0000 (07:11 +0000)]
fix compiler warnings

17 years agodo not start new basic block on the bytecode mark
Aleksey Demakov [Sat, 17 Nov 2007 02:12:36 +0000 (02:12 +0000)]
do not start new basic block on the bytecode mark
fix offset for the last mark

18 years agoadd missing header for macosx into distribution
Aleksey Demakov [Tue, 13 Nov 2007 09:19:23 +0000 (09:19 +0000)]
add missing header for macosx into distribution

18 years agofix a typo and add a wrapper for jit_function_reserve_label for jitplus
Aleksey Demakov [Thu, 8 Nov 2007 17:31:42 +0000 (17:31 +0000)]
fix a typo and add a wrapper for jit_function_reserve_label for jitplus

18 years agoextend comments for jit_insn_jump_table
Aleksey Demakov [Sun, 7 Oct 2007 14:20:34 +0000 (14:20 +0000)]
extend comments for jit_insn_jump_table

18 years agoadd jit_function_reserve_label function
Aleksey Demakov [Sun, 7 Oct 2007 14:16:50 +0000 (14:16 +0000)]
add jit_function_reserve_label function

18 years agofix jump table code generation
Aleksey Demakov [Sun, 7 Oct 2007 14:01:02 +0000 (14:01 +0000)]
fix jump table code generation

18 years agoreimplement optimization of relative instructions for the sake of correctness
Aleksey Demakov [Mon, 11 Jun 2007 06:06:55 +0000 (06:06 +0000)]
reimplement optimization of relative instructions for the sake of correctness

18 years agodisable copy propagation if JIT_OP_COPY_INT is applied to bytes and shorts;
Aleksey Demakov [Sun, 10 Jun 2007 16:26:22 +0000 (16:26 +0000)]
disable copy propagation if JIT_OP_COPY_INT is applied to bytes and shorts;
some tweaks for better code generation of copy instructions

18 years agoadd comments for readability of conversion tables in jit_insn_convert
Aleksey Demakov [Sat, 9 Jun 2007 16:59:29 +0000 (16:59 +0000)]
add comments for readability of conversion tables in jit_insn_convert

18 years agodo not use copy propagation for addressable and volatile values
Aleksey Demakov [Mon, 28 May 2007 09:00:54 +0000 (09:00 +0000)]
do not use copy propagation for addressable and volatile values

18 years agoimplement simple-minded copy propagation
Aleksey Demakov [Mon, 28 May 2007 02:41:28 +0000 (02:41 +0000)]
implement simple-minded copy propagation

18 years agoFix conversion from ulong to nfloat for values greater than jit_max_long.
Klaus Treichel [Sat, 26 May 2007 14:13:22 +0000 (14:13 +0000)]
Fix conversion from ulong to nfloat for values greater than jit_max_long.

18 years agoremove incorrect optimization in jit_insn_store()
Aleksey Demakov [Sat, 26 May 2007 13:47:31 +0000 (13:47 +0000)]
remove incorrect optimization in jit_insn_store()

18 years agofix compilation for archs without register stack
Aleksey Demakov [Wed, 4 Apr 2007 02:52:05 +0000 (02:52 +0000)]
fix compilation for archs without register stack

18 years agoupdate working version to 0.1.1
Aleksey Demakov [Sun, 4 Mar 2007 16:15:34 +0000 (16:15 +0000)]
update working version to 0.1.1

18 years agoadd doc scripts to EXTRA_DIST; add jit-arch.h to BUILT_SOURCES
Aleksey Demakov [Sat, 3 Mar 2007 18:00:10 +0000 (18:00 +0000)]
add doc scripts to EXTRA_DIST; add jit-arch.h to BUILT_SOURCES

18 years agoUpdates for the 0.1.0 release
Aleksey Demakov [Sat, 3 Mar 2007 14:12:16 +0000 (14:12 +0000)]
Updates for the 0.1.0 release

18 years agofix problem with ops that have x87 dest register and no x87 input registers
Aleksey Demakov [Sat, 24 Feb 2007 19:17:25 +0000 (19:17 +0000)]
fix problem with ops that have x87 dest register and no x87 input registers

18 years agocompile_block() checks if code cache is full
Aleksey Demakov [Thu, 15 Feb 2007 07:31:05 +0000 (07:31 +0000)]
compile_block() checks if code cache is full

18 years agofix texinfo comments
Aleksey Demakov [Mon, 12 Feb 2007 21:38:44 +0000 (21:38 +0000)]
fix texinfo comments

18 years agoremove doc/texinfo.tex from the tree
Aleksey Demakov [Mon, 12 Feb 2007 21:24:55 +0000 (21:24 +0000)]
remove doc/texinfo.tex from the tree

18 years agochange conditions for local and frame patterns to account for the case when
Aleksey Demakov [Mon, 12 Feb 2007 00:18:27 +0000 (00:18 +0000)]
change conditions for local and frame patterns to account for the case when
the use of the value is compiled before its first definition

18 years agomore correctly handle compilation restart
Aleksey Demakov [Sun, 11 Feb 2007 23:28:44 +0000 (23:28 +0000)]
more correctly handle compilation restart

18 years agoflush the output stream upon dumping the function
Aleksey Demakov [Sun, 11 Feb 2007 22:54:25 +0000 (22:54 +0000)]
flush the output stream upon dumping the function

18 years ago2007-02-10 Klaus Treichel <ktreichel@web.de>
Klaus Treichel [Sat, 10 Feb 2007 19:12:28 +0000 (19:12 +0000)]
2007-02-10  Klaus Treichel  <ktreichel@web.de>

* jit/jit-function.c: Use the on-demand compilation driver in
jit_function_apply too. Return the functions' entry point if the
function is allready compiled in jit_function_compile_entry.

18 years agoprovide for user defined on-demand compilation drivers
Aleksey Demakov [Sun, 4 Feb 2007 14:31:32 +0000 (14:31 +0000)]
provide for user defined on-demand compilation drivers

18 years agofix bug with input register thrashing introduced 2006-12-30
Aleksey Demakov [Sun, 28 Jan 2007 20:14:57 +0000 (20:14 +0000)]
fix bug with input register thrashing introduced 2006-12-30

18 years agofix bug loading registers for ternary ops
Aleksey Demakov [Sun, 28 Jan 2007 17:23:32 +0000 (17:23 +0000)]
fix bug loading registers for ternary ops

18 years agotweak gcc version of the _JIT_ARCH_GET_CURRENT_FRAME macro
Aleksey Demakov [Thu, 25 Jan 2007 21:29:08 +0000 (21:29 +0000)]
tweak gcc version of the _JIT_ARCH_GET_CURRENT_FRAME macro

18 years agoremove stack frame set up and restore instructions from redirector
Aleksey Demakov [Thu, 25 Jan 2007 20:55:53 +0000 (20:55 +0000)]
remove stack frame set up and restore instructions from redirector

18 years agoremove the closure_entry field from jit_function_t
Aleksey Demakov [Tue, 23 Jan 2007 06:42:33 +0000 (06:42 +0000)]
remove the closure_entry field from jit_function_t

18 years agocomplete regalloc support for x87
Aleksey Demakov [Wed, 17 Jan 2007 07:38:47 +0000 (07:38 +0000)]
complete regalloc support for x87

18 years agoAdd ChangeLog entry for the typo fix.
Klaus Treichel [Fri, 12 Jan 2007 18:28:53 +0000 (18:28 +0000)]
Add ChangeLog entry for the typo fix.

18 years agofixed a typo
Heiko Weiss [Fri, 12 Jan 2007 07:54:25 +0000 (07:54 +0000)]
fixed a typo

18 years agoRemoved FIXED registers from the alpha register class. Updated some
Thomas Cort [Thu, 4 Jan 2007 11:44:30 +0000 (11:44 +0000)]
Removed FIXED registers from the alpha register class. Updated some
.cvsignore files.

18 years agoadd register classes for alpha.
Thomas Cort [Thu, 4 Jan 2007 02:27:04 +0000 (02:27 +0000)]
add register classes for alpha.

18 years agohandle early_clobber flag for dest value;
Aleksey Demakov [Tue, 2 Jan 2007 17:00:18 +0000 (17:00 +0000)]
handle early_clobber flag for dest value;
apply patch #5540 with some modifications;

18 years agoadd support for register classes, clean up rule syntax and reg alloc interface
Aleksey Demakov [Fri, 29 Dec 2006 23:16:15 +0000 (23:16 +0000)]
add support for register classes, clean up rule syntax and reg alloc interface

18 years agoadd jit-reg-class.[ch] files to Makefile.am
Aleksey Demakov [Fri, 29 Dec 2006 21:11:11 +0000 (21:11 +0000)]
add jit-reg-class.[ch] files to Makefile.am

18 years agoadd register classes
Aleksey Demakov [Fri, 29 Dec 2006 19:08:14 +0000 (19:08 +0000)]
add register classes

18 years agomake sure that backend initialization is done only once
Aleksey Demakov [Tue, 19 Dec 2006 22:05:23 +0000 (22:05 +0000)]
make sure that backend initialization is done only once

18 years ago2006-12-17 Klaus Treichel <ktreichel@web.de>
Klaus Treichel [Sun, 17 Dec 2006 21:06:26 +0000 (21:06 +0000)]
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.

18 years agofix bug freeing stack register that is not on the stack top
Aleksey Demakov [Tue, 28 Nov 2006 20:26:42 +0000 (20:26 +0000)]
fix bug freeing stack register that is not on the stack top

18 years agoapplied patch #5503 with some modifications
Aleksey Demakov [Tue, 28 Nov 2006 16:10:07 +0000 (16:10 +0000)]
applied patch #5503 with some modifications

18 years agoadd POSITION_INDEPENDENT context option
Aleksey Demakov [Sun, 26 Nov 2006 20:42:01 +0000 (20:42 +0000)]
add POSITION_INDEPENDENT context option

18 years agopatch #5278
Aleksey Demakov [Sun, 26 Nov 2006 16:34:26 +0000 (16:34 +0000)]
patch #5278

18 years agofix global register use cost computation;
Aleksey Demakov [Sun, 26 Nov 2006 12:05:02 +0000 (12:05 +0000)]
fix global register use cost computation;
mark a few x86 instruction selection rules as commutative;

18 years agofix JIT_OP_LSIGN
Aleksey Demakov [Sat, 25 Nov 2006 15:41:53 +0000 (15:41 +0000)]
fix JIT_OP_LSIGN

18 years agoadd JIT_OP_ISIGN and JIT_OP_LSIGN, optimize JIT_OP_LNEG;
Aleksey Demakov [Sat, 25 Nov 2006 14:43:10 +0000 (14:43 +0000)]
add JIT_OP_ISIGN and JIT_OP_LSIGN, optimize JIT_OP_LNEG;
fix bug freeing stack registers;

19 years agoadd JIT_OP_IABS and JIT_OP_LABS rules
Aleksey Demakov [Fri, 10 Nov 2006 21:03:09 +0000 (21:03 +0000)]
add JIT_OP_IABS and JIT_OP_LABS rules

19 years agomake comparison opcodes use three-address patterns
Aleksey Demakov [Sat, 4 Nov 2006 14:57:10 +0000 (14:57 +0000)]
make comparison opcodes use three-address patterns

19 years agofixed a bug with coalescing values on x87-register stack
Aleksey Demakov [Wed, 1 Nov 2006 17:41:36 +0000 (17:41 +0000)]
fixed a bug with coalescing values on x87-register stack

19 years agoremove excessive and buggy patterns from JIT_OP_EXPAND_INT and
Aleksey Demakov [Sun, 22 Oct 2006 23:51:41 +0000 (23:51 +0000)]
remove excessive and buggy patterns from JIT_OP_EXPAND_INT and
JIT_OP_EXPAND_UINT rules

19 years agoenable coalescing of the destination and source values of a copy operation in
Aleksey Demakov [Wed, 18 Oct 2006 07:58:54 +0000 (07:58 +0000)]
enable coalescing of the destination and source values of a copy operation in
a single register;
tag x86 copy rules with the "copy" keyword;
use separate destination register for x86 trunc rules;

19 years agofix interpreter's struct handling;
Aleksey Demakov [Mon, 16 Oct 2006 02:27:24 +0000 (02:27 +0000)]
fix interpreter's struct handling;
fix segmentation fault in interpreter's fixup code;

19 years agofix uninitialized value use in create_value_entry();
Aleksey Demakov [Sat, 14 Oct 2006 04:24:31 +0000 (04:24 +0000)]
fix uninitialized value use in create_value_entry();
fix return code in interpreter's version of _jit_create_call_return_insns().

19 years ago2006-10-02 Klaus Treichel <ktreichel@web.de>
Klaus Treichel [Mon, 2 Oct 2006 18:01:50 +0000 (18:01 +0000)]
2006-10-02  Klaus Treichel  <ktreichel@web.de>

* jit/jit-intrinsic.c: Fix a copy bug in jit_ulong_mul (replace - by *).

19 years agoadd jit-arch-generic.h and jit-arch-x86.h files
Aleksey Demakov [Mon, 25 Sep 2006 06:56:36 +0000 (06:56 +0000)]
add jit-arch-generic.h and jit-arch-x86.h files

19 years agoresolve stack-walking problem with gcc 4.1 and introduce jit-arch-*.h
Aleksey Demakov [Sun, 24 Sep 2006 20:36:51 +0000 (20:36 +0000)]
resolve stack-walking problem with gcc 4.1 and introduce jit-arch-*.h
headers that may contain architecture dependent code.

19 years agoadd jit_insn_mark_breakpoint_variable() function.
Aleksey Demakov [Fri, 15 Sep 2006 16:17:20 +0000 (16:17 +0000)]
add jit_insn_mark_breakpoint_variable() function.

19 years agoremove jit-rules-x86.sel
Aleksey Demakov [Thu, 14 Sep 2006 17:16:36 +0000 (17:16 +0000)]
remove jit-rules-x86.sel

19 years agoremove --enable-new-reg-alloc option
Aleksey Demakov [Thu, 14 Sep 2006 15:13:57 +0000 (15:13 +0000)]
remove --enable-new-reg-alloc option

19 years agoremove "old" register allocator;
Aleksey Demakov [Thu, 14 Sep 2006 06:27:08 +0000 (06:27 +0000)]
remove "old" register allocator;

19 years agoadd _JIT_REGS_CLOBBER_STACK flag to be used for "only" rules
Aleksey Demakov [Sat, 9 Sep 2006 05:21:03 +0000 (05:21 +0000)]
add _JIT_REGS_CLOBBER_STACK flag to be used for "only" rules

19 years agoremove last traces of register allocation from the interpreter
Aleksey Demakov [Sat, 2 Sep 2006 13:46:28 +0000 (13:46 +0000)]
remove last traces of register allocation from the interpreter

19 years agoCommit configure.in which i missed the last time ;)
Klaus Treichel [Thu, 31 Aug 2006 18:24:05 +0000 (18:24 +0000)]
Commit configure.in which i missed the last time ;)

19 years ago2006-08-31 Klaus Treichel <ktreichel@web.de>
Klaus Treichel [Wed, 30 Aug 2006 19:43:13 +0000 (19:43 +0000)]
2006-08-31  Klaus Treichel  <ktreichel@web.de>

* configure.in: Replace the deprecated AM_PROG_LIBTOOL with the current
AC_PROG_LIBTOOL.

* jitdynamic/Makefile.am, jitplus/Makefile.am: Add -no-undefined to the
LDFLAGS to enable building cygwin/mingw dlls.

19 years agodo not use jit-rules-x86.sel anymore
Aleksey Demakov [Wed, 30 Aug 2006 19:23:26 +0000 (19:23 +0000)]
do not use jit-rules-x86.sel anymore

19 years agoadd "frame" keyword to .ins file syntax
Aleksey Demakov [Wed, 30 Aug 2006 18:35:10 +0000 (18:35 +0000)]
add "frame" keyword to .ins file syntax

19 years agoreplace interpreter stack with 3 dedicated pseudo-registers
Aleksey Demakov [Wed, 30 Aug 2006 13:31:58 +0000 (13:31 +0000)]
replace interpreter stack with 3 dedicated pseudo-registers

19 years agodelete extra popping of setjmp context for interpreter
Aleksey Demakov [Tue, 29 Aug 2006 13:29:35 +0000 (13:29 +0000)]
delete extra popping of setjmp context for interpreter

19 years agoadd _jit_gen_move_top() to take part of the _jit_gen_exch_top() functionality
Aleksey Demakov [Tue, 29 Aug 2006 11:57:12 +0000 (11:57 +0000)]
add _jit_gen_move_top() to take part of the _jit_gen_exch_top() functionality
thus making the interface cleaner