]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/log
francis/libjit.git
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.

17 years agoFix a bug in dpas with binary functions returning a boolean result where the
Klaus Treichel [Sat, 19 Jul 2008 10:20:51 +0000 (10:20 +0000)]
Fix a bug in dpas with binary functions returning a boolean result where the
result type was not recorded correctly.
Add tests for float comparisions where nan values are involved and add tests
for the *_inv opcodes (not (f1 op f2)).

17 years agoAdd branch and commutative options where applicable and replace chech for signed...
Klaus Treichel [Sun, 6 Jul 2008 14:00:42 +0000 (14:00 +0000)]
Add branch and commutative options where applicable and replace chech for signed 32bit immediate by imms32 clause.

17 years agofix problem with global registers and commutative ops
Aleksey Demakov [Sun, 6 Jul 2008 09:07:18 +0000 (09:07 +0000)]
fix problem with global registers and commutative ops

17 years agoadd unwinding interface
Aleksey Demakov [Thu, 29 May 2008 21:03:30 +0000 (21:03 +0000)]
add unwinding interface

17 years agominor code cleanup
Aleksey Demakov [Thu, 29 May 2008 18:53:00 +0000 (18:53 +0000)]
minor code cleanup

17 years agofix VirtualFree arguments; fix function signature leak;
Aleksey Demakov [Wed, 28 May 2008 06:13:47 +0000 (06:13 +0000)]
fix VirtualFree arguments; fix function signature leak;

17 years agoremove useless longjmp_label field from jit_builder_t struct
Aleksey Demakov [Tue, 27 May 2008 10:51:28 +0000 (10:51 +0000)]
remove useless longjmp_label field from jit_builder_t struct

17 years agoadd comments
Aleksey Demakov [Tue, 27 May 2008 07:37:00 +0000 (07:37 +0000)]
add comments

17 years agoAllow different float types at different offsets in the apply return struct.
Klaus Treichel [Mon, 26 May 2008 21:06:29 +0000 (21:06 +0000)]
Allow different float types at different offsets in the apply return struct.

17 years agoAdd the imms32 and imm32u keywords for support of signed and unsigned 32bit
Klaus Treichel [Mon, 26 May 2008 19:46:26 +0000 (19:46 +0000)]
Add the imms32 and imm32u keywords for support of signed and unsigned 32bit
immediate values.

17 years agoadd JIT_EXPORT_DATA macro to support win32 DLL idiosyncrasy
Aleksey Demakov [Mon, 26 May 2008 10:51:27 +0000 (10:51 +0000)]
add JIT_EXPORT_DATA macro to support win32 DLL idiosyncrasy

17 years agoAdd support for the param area for x86_64 and enable it by default (It's
Klaus Treichel [Sat, 24 May 2008 19:40:43 +0000 (19:40 +0000)]
Add support for the param area for x86_64 and enable it by default (It's
part of the X86_64 SysV abi).

17 years agoon win32 use VirtualAlloc and VirtualFree to allocate/free executable memory
Aleksey Demakov [Fri, 23 May 2008 14:53:30 +0000 (14:53 +0000)]
on win32 use VirtualAlloc and VirtualFree to allocate/free executable memory

17 years agoFix build with MS cl on windows and some ANSI C issues.
Klaus Treichel [Fri, 23 May 2008 11:00:42 +0000 (11:00 +0000)]
Fix build with MS cl on windows and some ANSI C issues.

17 years agoadd missing argument
Aleksey Demakov [Wed, 21 May 2008 16:00:30 +0000 (16:00 +0000)]
add missing argument

17 years agouse _JIT_ARCH_GET_NEXT_FRAME if defined; use gcc syntax only #ifdef __GNUC__
Aleksey Demakov [Wed, 21 May 2008 08:36:29 +0000 (08:36 +0000)]
use _JIT_ARCH_GET_NEXT_FRAME if defined; use gcc syntax only #ifdef __GNUC__

17 years agoInclude jit/jit-common.h instead of jit-internal.h to get the definitions of
Klaus Treichel [Mon, 12 May 2008 14:02:07 +0000 (14:02 +0000)]
Include jit/jit-common.h instead of jit-internal.h to get the definitions of
the libjit types because this file might be included at a time where
jit-apply-rules.h is not yet present. (it's used by tools/gen-apply.c)

17 years agolet register allocator free unused values that result from JIT_OP_INCOMING_REG and...
Aleksey Demakov [Thu, 8 May 2008 06:39:50 +0000 (06:39 +0000)]
let register allocator free unused values that result from JIT_OP_INCOMING_REG and JIT_OP_RETURN_REG instructions

17 years agoEmit the check for null only if the value to check is nint constant != 0 in
Klaus Treichel [Sun, 4 May 2008 16:53:08 +0000 (16:53 +0000)]
Emit the check for null only if the value to check is nint constant != 0 in
jit_insn_check_null.

17 years agoFix a bug with outgoing registers.
Klaus Treichel [Sun, 4 May 2008 15:06:33 +0000 (15:06 +0000)]
Fix a bug with outgoing registers.

17 years agocosmetic changes
Aleksey Demakov [Fri, 2 May 2008 18:16:32 +0000 (18:16 +0000)]
cosmetic changes

17 years agoignore autogenerated files
Aleksey Demakov [Tue, 22 Apr 2008 07:10:31 +0000 (07:10 +0000)]
ignore autogenerated files

17 years agorename configure.in to configure.ac
Aleksey Demakov [Tue, 22 Apr 2008 06:32:57 +0000 (06:32 +0000)]
rename configure.in to configure.ac

17 years agoupdate configure.in for modern autoconf
Aleksey Demakov [Tue, 22 Apr 2008 06:13:09 +0000 (06:13 +0000)]
update configure.in for modern autoconf

17 years agoupdate TODO list
Aleksey Demakov [Tue, 22 Apr 2008 03:29:48 +0000 (03:29 +0000)]
update TODO list

17 years agocode cleanup wrt unnecessary common_binary() use
Aleksey Demakov [Sun, 20 Apr 2008 20:24:57 +0000 (20:24 +0000)]
code cleanup wrt unnecessary common_binary() use

17 years agoAdd more testcases.
Klaus Treichel [Sun, 20 Apr 2008 10:44:02 +0000 (10:44 +0000)]
Add more testcases.

17 years agofix LSIGN opcode and modify ISIGN opcode for symmetry
Aleksey Demakov [Sun, 20 Apr 2008 08:10:46 +0000 (08:10 +0000)]
fix LSIGN opcode and modify ISIGN opcode for symmetry

17 years agofix the type of dest value of jit_insn_sign
Aleksey Demakov [Sat, 19 Apr 2008 13:48:50 +0000 (13:48 +0000)]
fix the type of dest value of jit_insn_sign

17 years agoAdd support for more opcodes on x86-64.
Klaus Treichel [Sun, 13 Apr 2008 17:55:36 +0000 (17:55 +0000)]
Add support for more opcodes on x86-64.

17 years agouse architecture-specific macros for x86-64 stack walking instead of gcc's builtins
Aleksey Demakov [Sun, 13 Apr 2008 16:14:15 +0000 (16:14 +0000)]
use architecture-specific macros for x86-64 stack walking instead of gcc's builtins

17 years agoFix the sign opcode on x86 for integers and the constant case for longs.
Klaus Treichel [Mon, 31 Mar 2008 19:31:41 +0000 (19:31 +0000)]
Fix the sign opcode on x86 for integers and the constant case for longs.

17 years agoFix the integer sign functions. Return 1 for values > 0 instead of 0.
Klaus Treichel [Sun, 30 Mar 2008 16:05:57 +0000 (16:05 +0000)]
Fix the integer sign functions. Return 1 for values > 0 instead of 0.

17 years agoAdd additional macros and opcodehandling for x86-64.
Klaus Treichel [Sun, 30 Mar 2008 15:05:13 +0000 (15:05 +0000)]
Add additional macros and opcodehandling for x86-64.

17 years agoFix signed division of a negative value by a positive power of two on x86.
Klaus Treichel [Sat, 29 Mar 2008 18:45:24 +0000 (18:45 +0000)]
Fix signed division of a negative value by a positive power of two on x86.

17 years agoKlaus' apply changes needed for x86-64
Aleksey Demakov [Sat, 29 Mar 2008 15:01:36 +0000 (15:01 +0000)]
Klaus' apply changes needed for x86-64

17 years agofix return code of interpreter version of jit_function_apply_vararg
Aleksey Demakov [Tue, 25 Mar 2008 05:13:35 +0000 (05:13 +0000)]
fix return code of interpreter version of jit_function_apply_vararg

17 years agoAdd more X86_64 support.
Klaus Treichel [Mon, 24 Mar 2008 12:42:50 +0000 (12:42 +0000)]
Add more X86_64 support.

17 years agoReset the epilog fixup list prior to restarting compilation of a function.
Klaus Treichel [Mon, 24 Mar 2008 11:43:59 +0000 (11:43 +0000)]
Reset the epilog fixup list prior to restarting compilation of a function.

17 years agoFix make distcheck.
Klaus Treichel [Tue, 4 Mar 2008 20:36:17 +0000 (20:36 +0000)]
Fix make distcheck.

17 years agomodify cache algorithm to allow a method to occupy more than one page
Aleksey Demakov [Mon, 3 Mar 2008 14:49:06 +0000 (14:49 +0000)]
modify cache algorithm to allow a method to occupy more than one page

17 years agoFix two 64bit arch issues and add first (not pubic usable) native support for
Klaus Treichel [Sun, 2 Mar 2008 17:07:05 +0000 (17:07 +0000)]
Fix two 64bit arch issues and add first (not pubic usable) native support for
X86_64.

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.