]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/log
francis/libjit.git
15 years agoFix arg1 for the address_of opcode.
Klaus Treichel [Tue, 10 Aug 2010 13:59:16 +0000 (15:59 +0200)]
Fix arg1 for the address_of opcode.

15 years agoAdd support for some of the new opcodes for x86_64.
Klaus Treichel [Mon, 9 Aug 2010 12:00:38 +0000 (14:00 +0200)]
Add support for some of the new opcodes for x86_64.

15 years agoAdd support for some of the new opcodes for x86.
Klaus Treichel [Sun, 8 Aug 2010 16:37:52 +0000 (18:37 +0200)]
Add support for some of the new opcodes for x86.
Add tests for integer/float conversions.

15 years agoAdd opcodes for direct conversions from and to 32-bit and 64-bit
Klaus Treichel [Sat, 7 Aug 2010 06:05:51 +0000 (08:05 +0200)]
Add opcodes for direct conversions from and to 32-bit and 64-bit
floatingpoint values.

15 years agoAdd jitplus support for the new trunc insn.
Klaus Treichel [Fri, 6 Aug 2010 11:12:52 +0000 (13:12 +0200)]
Add jitplus support for the new trunc insn.

15 years agoRefine comments for the rounding functions.
Klaus Treichel [Fri, 6 Aug 2010 10:07:56 +0000 (12:07 +0200)]
Refine comments for the rounding functions.

15 years agoAdd new trunc insn for rounding float values towards zero.
Klaus Treichel [Fri, 6 Aug 2010 09:30:02 +0000 (11:30 +0200)]
Add new trunc insn for rounding float values towards zero.

15 years agoAdd new wounding intrinsics for rounding float values towards zero.
Klaus Treichel [Fri, 6 Aug 2010 07:15:33 +0000 (09:15 +0200)]
Add new wounding intrinsics for rounding float values towards zero.

15 years agoAdd jit-arch.h to the ignore list.
Klaus Treichel [Wed, 4 Aug 2010 11:41:00 +0000 (13:41 +0200)]
Add jit-arch.h to the ignore list.

15 years agoBreak the circular build dependency between the include and tools
Klaus Treichel [Wed, 4 Aug 2010 11:37:38 +0000 (13:37 +0200)]
Break the circular build dependency between the include and tools
directories.
Don't include jit-arch.h in the disribution because it has to be recreated
in every case.

15 years agoAdd new built files to the ignore list.
Klaus Treichel [Tue, 3 Aug 2010 11:50:47 +0000 (13:50 +0200)]
Add new built files to the ignore list.

15 years agoAdd gen-ops tool for generation all opcode defintions ans tables from one
Klaus Treichel [Tue, 3 Aug 2010 09:44:07 +0000 (11:44 +0200)]
Add gen-ops tool for generation all opcode defintions ans tables from one
source.
Add sources for basic libjit opcodes and interpreter specific libjit
opcodes.

15 years agoAllow empty block branch optimization for address-of blocks
Aleksey Demakov [Mon, 31 May 2010 08:25:53 +0000 (15:25 +0700)]
Allow empty block branch optimization for address-of blocks

15 years agoMacOS X x86-64 build fix
Aleksey Demakov [Fri, 21 May 2010 22:23:34 +0000 (05:23 +0700)]
MacOS X x86-64 build fix

15 years agoFix strict-alias-rules in return struct tests.
Klaus Treichel [Sat, 15 May 2010 17:32:36 +0000 (19:32 +0200)]
Fix strict-alias-rules in return struct tests.

15 years agoFix comment for texinfo generation.
Klaus Treichel [Sat, 15 May 2010 12:49:05 +0000 (14:49 +0200)]
Fix comment for texinfo generation.

15 years agoAdd intrinsics for direct conversion from float32 and float64 to the
Klaus Treichel [Sat, 15 May 2010 12:46:37 +0000 (14:46 +0200)]
Add intrinsics for direct conversion from float32 and float64 to the
various integer types and float32 to float64 and vice versa.

15 years agoDon't merge an empty block if the address of the block was used.
Klaus Treichel [Sat, 8 May 2010 12:59:50 +0000 (14:59 +0200)]
Don't merge an empty block if the address of the block was used.

15 years agoFix accesses to possibly freed memory.
Klaus Treichel [Sun, 24 Jan 2010 09:47:51 +0000 (10:47 +0100)]
Fix accesses to possibly freed memory.

15 years agoBail out on previously assigned label
Aleksey Demakov [Wed, 9 Dec 2009 18:00:16 +0000 (00:00 +0600)]
Bail out on previously assigned label

15 years agofix block clean problems
Aleksey Demakov [Wed, 9 Dec 2009 13:55:08 +0000 (19:55 +0600)]
fix block clean problems

16 years agoimplement the "combine" part of the clean algorithm
Aleksey Demakov [Sun, 1 Nov 2009 06:14:50 +0000 (12:14 +0600)]
implement the "combine" part of the clean algorithm

16 years agoAdd support for the alloca opcode on X86_64.
Klaus Treichel [Sat, 31 Oct 2009 14:57:28 +0000 (15:57 +0100)]
Add support for the alloca opcode on X86_64.
Changes based on a patch from Peter Lobsinger <plobsing@gmail.com>

16 years agoFix compiler warnings where sizeof(int) != sizeof(void *)
Klaus Treichel [Sat, 31 Oct 2009 08:59:22 +0000 (09:59 +0100)]
Fix compiler warnings where sizeof(int) != sizeof(void *)

16 years agoadd jit_function_labels_equal() function
Aleksey Demakov [Fri, 30 Oct 2009 16:32:09 +0000 (22:32 +0600)]
add jit_function_labels_equal() function

16 years agoclean outgoing registers after calls
Aleksey Demakov [Fri, 30 Oct 2009 07:47:14 +0000 (13:47 +0600)]
clean outgoing registers after calls

16 years agohandle codegen errors with internal exceptions
Aleksey Demakov [Thu, 29 Oct 2009 22:41:57 +0000 (04:41 +0600)]
handle codegen errors with internal exceptions

16 years agouse internal exception to handle the cache full conditions
Aleksey Demakov [Thu, 29 Oct 2009 22:27:36 +0000 (04:27 +0600)]
use internal exception to handle the cache full conditions

16 years agoAdd JIT_RESULT_CACHE_FULL internal exception;
Aleksey Demakov [Thu, 29 Oct 2009 22:15:05 +0000 (04:15 +0600)]
Add JIT_RESULT_CACHE_FULL internal exception;
Add _jit_check_cache_space function.

16 years agoredo the last patch to use branch instructions, but without removing the actual compa...
Gopal V [Tue, 13 Oct 2009 16:05:11 +0000 (21:35 +0530)]
redo the last patch to use branch instructions, but without removing the actual compare instructions

16 years agoupdate ChangeLog
Gopal V [Thu, 8 Oct 2009 19:07:43 +0000 (00:37 +0530)]
update ChangeLog

16 years agoremove the premature optimization of compare & branch operations
Gopal V [Thu, 8 Oct 2009 18:59:38 +0000 (00:29 +0530)]
remove the premature optimization of compare & branch operations

16 years agoremove dead code
Aleksey Demakov [Tue, 4 Aug 2009 14:20:13 +0000 (21:20 +0700)]
remove dead code

16 years agoavoid jump tables while cleaning branches
Aleksey Demakov [Mon, 3 Aug 2009 17:30:00 +0000 (00:30 +0700)]
avoid jump tables while cleaning branches

16 years agoadd JIT_OP_BR_LFALSE rule for x86
Aleksey Demakov [Wed, 10 Jun 2009 10:01:54 +0000 (17:01 +0700)]
add JIT_OP_BR_LFALSE rule for x86

16 years agoupdate .gitignore files
Aleksey Demakov [Tue, 9 Jun 2009 21:09:05 +0000 (04:09 +0700)]
update .gitignore files

16 years agoupdate .gitignore files
Aleksey Demakov [Tue, 9 Jun 2009 21:03:50 +0000 (04:03 +0700)]
update .gitignore files

16 years agoadd JIT_OP_BR_LTRUE opcode for x86
Aleksey Demakov [Tue, 9 Jun 2009 20:51:57 +0000 (03:51 +0700)]
add JIT_OP_BR_LTRUE opcode for x86

16 years agorename .cvsimport to .gitimport
Klaus Treichel [Sat, 6 Jun 2009 09:15:09 +0000 (11:15 +0200)]
rename .cvsimport to .gitimport

16 years agomove compile functions from jit-function.c to a new file jit-compile.c; upstream/origin before.move.to.git
Aleksey Demakov [Fri, 5 Jun 2009 23:31:50 +0000 (23:31 +0000)]
move compile functions from jit-function.c to a new file jit-compile.c;
handle internal exceptions during compilation;
optimize CFG by default but add possibility to turn optimization off;
add jit_optimize function.

16 years agoadd JIT_OPTLEVEL_NONE and JIT_OPTLEVEL_NORMAL constants
Aleksey Demakov [Fri, 5 Jun 2009 17:03:10 +0000 (17:03 +0000)]
add JIT_OPTLEVEL_NONE and JIT_OPTLEVEL_NORMAL constants

16 years agoincrease messages array size
Aleksey Demakov [Mon, 11 May 2009 13:03:43 +0000 (13:03 +0000)]
increase messages array size

16 years agoadd JIT_RESULT_UNDEFINED_LABEL builtin error
Aleksey Demakov [Sun, 10 May 2009 16:01:08 +0000 (16:01 +0000)]
add JIT_RESULT_UNDEFINED_LABEL builtin error

16 years agoallow multiple labels for single block
Aleksey Demakov [Sat, 9 May 2009 21:54:31 +0000 (21:54 +0000)]
allow multiple labels for single block

16 years agobasic block changes
Aleksey Demakov [Fri, 8 May 2009 23:33:41 +0000 (23:33 +0000)]
basic block changes

16 years agocosmetic changes
Aleksey Demakov [Thu, 30 Apr 2009 03:45:09 +0000 (03:45 +0000)]
cosmetic changes

16 years agoindent
Aleksey Demakov [Thu, 30 Apr 2009 03:24:34 +0000 (03:24 +0000)]
indent

16 years agobuild CFG, optimize branches and remove unreachable blocks with CFG, remove _jit_bloc...
Aleksey Demakov [Wed, 29 Apr 2009 12:37:51 +0000 (12:37 +0000)]
build CFG, optimize branches and remove unreachable blocks with CFG, remove _jit_block_peephole_branch() function

16 years agoremove jit-cfg.h and jit-cfg.c from the build, leave them in the tree for reference
Aleksey Demakov [Tue, 28 Apr 2009 22:42:42 +0000 (22:42 +0000)]
remove jit-cfg.h and jit-cfg.c from the build, leave them in the tree for reference

16 years agocreate a new block after call_finally
Aleksey Demakov [Tue, 28 Apr 2009 22:33:54 +0000 (22:33 +0000)]
create a new block after call_finally

16 years agoreturn jit_label_undefined instead of 0 from jit_block_get_label()
Aleksey Demakov [Tue, 28 Apr 2009 22:27:55 +0000 (22:27 +0000)]
return jit_label_undefined instead of 0 from jit_block_get_label()

16 years agoARM backend fixes
Aleksey Demakov [Fri, 24 Apr 2009 13:35:17 +0000 (13:35 +0000)]
ARM backend fixes

16 years agofor function calls end basic block after the call rather than before and only if...
Aleksey Demakov [Wed, 22 Apr 2009 11:58:27 +0000 (11:58 +0000)]
for function calls end basic block after the call rather than before and only if the call may throw

16 years agofix call_finally dump
Aleksey Demakov [Tue, 21 Apr 2009 14:34:34 +0000 (14:34 +0000)]
fix call_finally dump

16 years agoARM backend fixes
Aleksey Demakov [Thu, 16 Apr 2009 13:39:39 +0000 (13:39 +0000)]
ARM backend fixes

16 years agoregalloc bugfix
Aleksey Demakov [Thu, 16 Apr 2009 05:38:54 +0000 (05:38 +0000)]
regalloc bugfix

16 years agolet struct alignment be greater than alignment of fields
Aleksey Demakov [Tue, 7 Apr 2009 07:36:45 +0000 (07:36 +0000)]
let struct alignment be greater than alignment of fields

16 years agofix typos
Aleksey Demakov [Sat, 28 Mar 2009 09:58:19 +0000 (09:58 +0000)]
fix typos

16 years agocosmetic changes
Aleksey Demakov [Sat, 28 Mar 2009 01:29:43 +0000 (01:29 +0000)]
cosmetic changes

16 years agomake register pair handling more flexible
Aleksey Demakov [Sat, 28 Mar 2009 00:11:38 +0000 (00:11 +0000)]
make register pair handling more flexible

16 years agoremove _jit_regs_get_cpu function
Aleksey Demakov [Fri, 27 Mar 2009 21:00:13 +0000 (21:00 +0000)]
remove _jit_regs_get_cpu function

16 years agoarm fixes
Aleksey Demakov [Wed, 25 Mar 2009 17:33:48 +0000 (17:33 +0000)]
arm fixes

16 years agouse jit_reg_other_reg
Aleksey Demakov [Tue, 24 Mar 2009 16:12:40 +0000 (16:12 +0000)]
use jit_reg_other_reg

16 years agoadd global jit_reg_other_reg macro to replace local reg-alloc OTHER_REG
Aleksey Demakov [Tue, 24 Mar 2009 15:59:56 +0000 (15:59 +0000)]
add global jit_reg_other_reg macro to replace local reg-alloc OTHER_REG

16 years agoarm idiv and memset opcodes
Aleksey Demakov [Tue, 24 Mar 2009 01:17:44 +0000 (01:17 +0000)]
arm idiv and memset opcodes

16 years agofix typo
Aleksey Demakov [Tue, 24 Mar 2009 00:56:35 +0000 (00:56 +0000)]
fix typo

16 years agocleanup arm rules
Aleksey Demakov [Mon, 23 Mar 2009 13:51:04 +0000 (13:51 +0000)]
cleanup arm rules

16 years agomore mikyt's ARM code
Aleksey Demakov [Mon, 23 Mar 2009 13:14:22 +0000 (13:14 +0000)]
more mikyt's ARM code

16 years agocosmetic changes
Aleksey Demakov [Mon, 23 Mar 2009 12:49:24 +0000 (12:49 +0000)]
cosmetic changes

16 years agorestore ARM FPA rules
Aleksey Demakov [Sun, 22 Mar 2009 21:33:27 +0000 (21:33 +0000)]
restore ARM FPA rules

16 years agoadd ARM codegen macros
Aleksey Demakov [Sun, 22 Mar 2009 21:22:05 +0000 (21:22 +0000)]
add ARM codegen macros

16 years agofor each jit_apply_ macro add individual check if it's already defined
Aleksey Demakov [Sat, 7 Feb 2009 16:45:18 +0000 (16:45 +0000)]
for each jit_apply_ macro add individual check if it's already defined

16 years agosmall fix
Aleksey Demakov [Sat, 7 Feb 2009 16:28:57 +0000 (16:28 +0000)]
small fix

16 years agointegrate mikyt's arm apply patch
Aleksey Demakov [Sat, 7 Feb 2009 16:15:58 +0000 (16:15 +0000)]
integrate mikyt's arm apply patch

16 years agoremove obsolete gen-sel tool
Aleksey Demakov [Sat, 7 Feb 2009 12:03:30 +0000 (12:03 +0000)]
remove obsolete gen-sel tool

16 years agoFix TEXTREL sections in the shared library on x86.
Klaus Treichel [Fri, 6 Feb 2009 18:22:31 +0000 (18:22 +0000)]
Fix TEXTREL sections in the shared library on x86.

16 years agoreplace ARM .sel file with .ins
Aleksey Demakov [Thu, 5 Feb 2009 21:21:06 +0000 (21:21 +0000)]
replace ARM .sel file with .ins

16 years agoadd jit-arch-arm.h
Aleksey Demakov [Thu, 5 Feb 2009 21:06:43 +0000 (21:06 +0000)]
add jit-arch-arm.h

16 years agostart integrating mikyt's ARM patch
Aleksey Demakov [Thu, 5 Feb 2009 21:01:24 +0000 (21:01 +0000)]
start integrating mikyt's ARM patch

16 years agoWork around an optimizer bug in gcc 4.3 on x86.
Klaus Treichel [Fri, 30 Jan 2009 19:46:01 +0000 (19:46 +0000)]
Work around an optimizer bug in gcc 4.3 on x86.

16 years agoAdd support for JIT_OP_ISIGN and JIT_OP_LSIGN on x86_64 and some int compare
Klaus Treichel [Thu, 1 Jan 2009 18:35:38 +0000 (18:35 +0000)]
Add support for JIT_OP_ISIGN and JIT_OP_LSIGN on x86_64 and some int compare
optimizations.

16 years agodon't define undefined labels for dump
Aleksey Demakov [Mon, 22 Dec 2008 18:49:46 +0000 (18:49 +0000)]
don't define undefined labels for dump

16 years agoupdate 0.1.4 plans
Aleksey Demakov [Fri, 19 Dec 2008 14:03:32 +0000 (14:03 +0000)]
update 0.1.4 plans

16 years agoadd Paul Brannan's ruby-libjit
Aleksey Demakov [Fri, 12 Dec 2008 11:30:57 +0000 (11:30 +0000)]
add Paul Brannan's ruby-libjit

16 years ago*** empty log message ***
Aleksey Demakov [Thu, 11 Dec 2008 04:14:50 +0000 (04:14 +0000)]
*** empty log message ***

16 years agoextend small int values returned from native calls
Aleksey Demakov [Wed, 10 Dec 2008 20:44:24 +0000 (20:44 +0000)]
extend small int values returned from native calls

16 years agostart development version 0.1.3
Aleksey Demakov [Wed, 10 Dec 2008 20:40:06 +0000 (20:40 +0000)]
start development version 0.1.3

16 years agobump version to 0.1.2
Aleksey Demakov [Wed, 10 Dec 2008 17:54:06 +0000 (17:54 +0000)]
bump version to 0.1.2

16 years ago*** empty log message ***
Aleksey Demakov [Wed, 10 Dec 2008 17:45:53 +0000 (17:45 +0000)]
*** empty log message ***

16 years agoFix calls to variadic functions.
Klaus Treichel [Wed, 10 Dec 2008 17:36:51 +0000 (17:36 +0000)]
Fix calls to variadic functions.

16 years agoupdate NEWS file
Aleksey Demakov [Wed, 10 Dec 2008 16:12:35 +0000 (16:12 +0000)]
update NEWS file

16 years agoMac OS X compatibility fixes
Aleksey Demakov [Sun, 23 Nov 2008 09:15:24 +0000 (09:15 +0000)]
Mac OS X compatibility fixes

17 years agoFix calling variadic functions ih jit_apply. Spill values with sizes less than
Klaus Treichel [Tue, 4 Nov 2008 19:49:12 +0000 (19:49 +0000)]
Fix calling variadic functions ih jit_apply. Spill values with sizes less than
sizeof jit_int as jit_int on the stack.

17 years agoupdate TODO
Aleksey Demakov [Sun, 12 Oct 2008 17:12:31 +0000 (17:12 +0000)]
update TODO

17 years agofix exception handling in interpreter
Aleksey Demakov [Sun, 12 Oct 2008 17:06:35 +0000 (17:06 +0000)]
fix exception handling in interpreter

17 years agofix typos
Aleksey Demakov [Sun, 12 Oct 2008 16:54:23 +0000 (16:54 +0000)]
fix typos

17 years agofix JIT_OP_TRUNC_INT, JIT_OP_TRUNC_UINT, JIT_OP_INCOMING_REG opcodes in interpreter
Aleksey Demakov [Sun, 5 Oct 2008 15:34:14 +0000 (15:34 +0000)]
fix JIT_OP_TRUNC_INT, JIT_OP_TRUNC_UINT, JIT_OP_INCOMING_REG opcodes in interpreter

17 years agoFix build on NetBSD to get the correct declaration of alloca.
Klaus Treichel [Thu, 7 Aug 2008 12:51:47 +0000 (12:51 +0000)]
Fix build on NetBSD to get the correct declaration of alloca.
This makes pnet work with libjit on NetBSD.

17 years agoAdd rules for one immediate value for float32 and float64 branch and setcc
Klaus Treichel [Sat, 26 Jul 2008 15:13:18 +0000 (15:13 +0000)]
Add rules for one immediate value for float32 and float64 branch and setcc
opcodes.

17 years agoAdd more tests using branches in tests/cond.pas.
Klaus Treichel [Sat, 19 Jul 2008 19:19:50 +0000 (19:19 +0000)]
Add more tests using branches in tests/cond.pas.
Rewrite float32/float64 compare and branch rules with consideration of nan
values.