]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
11 years agoFix OSX build issue.
Mike Pall [Sun, 19 Jan 2014 12:11:48 +0000 (13:11 +0100)] 
Fix OSX build issue.

11 years agoFFI: Fix cts->L for cdata unsinking in snapshot restore.
Mike Pall [Sun, 19 Jan 2014 12:09:20 +0000 (13:09 +0100)] 
FFI: Fix cts->L for cdata unsinking in snapshot restore.

11 years agoBump copyright date to 2014.
Mike Pall [Thu, 16 Jan 2014 22:10:16 +0000 (23:10 +0100)] 
Bump copyright date to 2014.

11 years agoFix ABC elimination.
Mike Pall [Sun, 5 Jan 2014 15:57:51 +0000 (16:57 +0100)] 
Fix ABC elimination.

11 years agoFix MinGW build.
Mike Pall [Sun, 29 Dec 2013 18:21:16 +0000 (19:21 +0100)] 
Fix MinGW build.

11 years agoMIPS: Cosmetic fix for interpreter.
Mike Pall [Tue, 24 Dec 2013 23:26:18 +0000 (00:26 +0100)] 
MIPS: Cosmetic fix for interpreter.

11 years agoFix compilation of string.byte(s, nil, n).
Mike Pall [Sun, 22 Dec 2013 10:43:44 +0000 (11:43 +0100)] 
Fix compilation of string.byte(s, nil, n).

11 years agoFix MinGW build.
Mike Pall [Sat, 21 Dec 2013 15:49:10 +0000 (16:49 +0100)] 
Fix MinGW build.

11 years agoFix call unroll checks in the presence of metamethod frames.
Mike Pall [Sun, 8 Dec 2013 23:29:56 +0000 (00:29 +0100)] 
Fix call unroll checks in the presence of metamethod frames.

11 years agox64: Fix store to upvalue for lightuserdata values.
Mike Pall [Mon, 2 Dec 2013 08:18:01 +0000 (09:18 +0100)] 
x64: Fix store to upvalue for lightuserdata values.

11 years agoRespect jit.off(func) when returning to a function, too.
Mike Pall [Fri, 22 Nov 2013 04:42:56 +0000 (05:42 +0100)] 
Respect jit.off(func) when returning to a function, too.

11 years agoFollow-up fix for GC step threshold fix.
Mike Pall [Fri, 22 Nov 2013 04:13:13 +0000 (05:13 +0100)] 
Follow-up fix for GC step threshold fix.

11 years agoImprove msvcbuild.bat static linking.
Mike Pall [Thu, 21 Nov 2013 12:47:07 +0000 (13:47 +0100)] 
Improve msvcbuild.bat static linking.

11 years agoFFI: Clarify ffi.cdef behavior.
Mike Pall [Sat, 16 Nov 2013 17:28:21 +0000 (18:28 +0100)] 
FFI: Clarify ffi.cdef behavior.

12 years agoFix type punning alias analysis for constified pointers.
Mike Pall [Thu, 7 Nov 2013 12:29:20 +0000 (13:29 +0100)] 
Fix type punning alias analysis for constified pointers.

12 years agoFix for last commit
Mike Pall [Tue, 5 Nov 2013 18:45:04 +0000 (19:45 +0100)] 
Fix for last commit

12 years agoFix GC steps threshold handling when called by JIT-compiled code.
Mike Pall [Tue, 5 Nov 2013 18:36:59 +0000 (19:36 +0100)] 
Fix GC steps threshold handling when called by JIT-compiled code.

Thanks to Cheng, Long.

12 years agoFix handling of redundant PHIs.
Mike Pall [Sat, 26 Oct 2013 15:31:23 +0000 (17:31 +0200)] 
Fix handling of redundant PHIs.

12 years agoCheck for failure to mark memory as executable (restricted kernels).
Mike Pall [Thu, 24 Oct 2013 13:19:03 +0000 (15:19 +0200)] 
Check for failure to mark memory as executable (restricted kernels).

12 years agoFix line number for relocated bytecode after closure fixup.
Mike Pall [Tue, 15 Oct 2013 20:46:39 +0000 (22:46 +0200)] 
Fix line number for relocated bytecode after closure fixup.

12 years agoFFI: Rehash finalizer table after GC cycle, if needed.
Mike Pall [Mon, 14 Oct 2013 17:31:24 +0000 (19:31 +0200)] 
FFI: Rehash finalizer table after GC cycle, if needed.

12 years agoCheck for MAP_32BIT presence instead of checking for Linux.
Mike Pall [Thu, 10 Oct 2013 12:34:04 +0000 (14:34 +0200)] 
Check for MAP_32BIT presence instead of checking for Linux.

12 years agoFix ABC elimination.
Mike Pall [Sat, 14 Sep 2013 10:52:51 +0000 (12:52 +0200)] 
Fix ABC elimination.

12 years agoFix snapshot restore for exit to function header.
Mike Pall [Thu, 12 Sep 2013 22:33:58 +0000 (00:33 +0200)] 
Fix snapshot restore for exit to function header.

12 years agoDynASM: Emit #line <n> <file> instead of #<n> <file>.
Mike Pall [Thu, 12 Sep 2013 10:46:28 +0000 (12:46 +0200)] 
DynASM: Emit #line <n> <file> instead of #<n> <file>.

12 years agoFFI/x64: Fix passing of vector arguments to calls.
Mike Pall [Sun, 8 Sep 2013 11:11:02 +0000 (13:11 +0200)] 
FFI/x64: Fix passing of vector arguments to calls.

12 years agoFFI: Fix argument checks for ffi.string().
Mike Pall [Sun, 8 Sep 2013 01:09:39 +0000 (03:09 +0200)] 
FFI: Fix argument checks for ffi.string().

12 years agoFix quoting in xedkbuild.bat.
Mike Pall [Tue, 3 Sep 2013 14:02:33 +0000 (16:02 +0200)] 
Fix quoting in xedkbuild.bat.

12 years agoRecent GCC versions need more memory.
Mike Pall [Tue, 3 Sep 2013 13:55:37 +0000 (15:55 +0200)] 
Recent GCC versions need more memory.

12 years agoFix frame traversal for backtraces.
Mike Pall [Tue, 3 Sep 2013 13:53:21 +0000 (15:53 +0200)] 
Fix frame traversal for backtraces.

12 years agoFix compiler warning.
Mike Pall [Thu, 22 Aug 2013 17:29:09 +0000 (19:29 +0200)] 
Fix compiler warning.

12 years agoFix argument checks for math.deg()/math.rad().
Mike Pall [Fri, 16 Aug 2013 22:50:53 +0000 (00:50 +0200)] 
Fix argument checks for math.deg()/math.rad().

12 years agoFix jit.flush(func|true).
Mike Pall [Sun, 11 Aug 2013 11:47:35 +0000 (13:47 +0200)] 
Fix jit.flush(func|true).

12 years agoCompatibility fix for old GCC versions.
Mike Pall [Sat, 3 Aug 2013 12:15:17 +0000 (14:15 +0200)] 
Compatibility fix for old GCC versions.

12 years agoARM: Fix register allocation when rematerializing FPRs.
Mike Pall [Tue, 30 Jul 2013 23:48:21 +0000 (01:48 +0200)] 
ARM: Fix register allocation when rematerializing FPRs.

12 years agoFFI: Properly unload loaded DLLs.
Mike Pall [Wed, 24 Jul 2013 21:49:19 +0000 (23:49 +0200)] 
FFI: Properly unload loaded DLLs.

12 years agoDynASM/x64: Add VREG support to mov64.
Mike Pall [Thu, 18 Jul 2013 06:51:32 +0000 (08:51 +0200)] 
DynASM/x64: Add VREG support to mov64.

Thanks to Peter Cawley.

12 years agoFix compilation on NetBSD/x64.
Mike Pall [Wed, 17 Jul 2013 09:04:15 +0000 (11:04 +0200)] 
Fix compilation on NetBSD/x64.

Thanks to Justin Cormack.

12 years agoAdd support for multilib distro builds.
Mike Pall [Tue, 9 Jul 2013 15:25:05 +0000 (17:25 +0200)] 
Add support for multilib distro builds.

12 years agoDynASM/x86: Add lock prefix.
Mike Pall [Mon, 24 Jun 2013 10:20:25 +0000 (12:20 +0200)] 
DynASM/x86: Add lock prefix.

12 years agoFFI: Add missing GC steps for callback argument conversions.
Mike Pall [Thu, 20 Jun 2013 14:32:45 +0000 (16:32 +0200)] 
FFI: Add missing GC steps for callback argument conversions.

12 years agoImprove ULOAD forwarding for open upvalues.
Mike Pall [Tue, 18 Jun 2013 18:08:55 +0000 (20:08 +0200)] 
Improve ULOAD forwarding for open upvalues.

12 years agoRELEASE LuaJIT-2.0.2 v2.0.2
Mike Pall [Mon, 3 Jun 2013 19:16:17 +0000 (21:16 +0200)] 
RELEASE LuaJIT-2.0.2

12 years agoUpdate changelog.
Mike Pall [Mon, 3 Jun 2013 18:21:25 +0000 (20:21 +0200)] 
Update changelog.

12 years agoPPC: Add plt suffix for external calls from assembler code.
Mike Pall [Mon, 3 Jun 2013 15:30:35 +0000 (17:30 +0200)] 
PPC: Add plt suffix for external calls from assembler code.

12 years agoFFI: Preserve intermediate string for const char * conversion.
Mike Pall [Wed, 29 May 2013 21:05:05 +0000 (23:05 +0200)] 
FFI: Preserve intermediate string for const char * conversion.

Otherwise the trailing NUL is lost.

12 years agoFix compatibility issues with Illumos.
Mike Pall [Sat, 25 May 2013 08:18:12 +0000 (10:18 +0200)] 
Fix compatibility issues with Illumos.

Thanks to Theo Schlossnagle.

12 years agoAdd missing PHI barrier to string.sub(str, a, b) == kstr FOLD rule.
Mike Pall [Thu, 23 May 2013 23:28:40 +0000 (01:28 +0200)] 
Add missing PHI barrier to string.sub(str, a, b) == kstr FOLD rule.

12 years agoFFI: Must sink XBAR together with XSTOREs.
Mike Pall [Thu, 23 May 2013 20:15:51 +0000 (22:15 +0200)] 
FFI: Must sink XBAR together with XSTOREs.

12 years agoFFI: Fix unroll limit for ffi.fill().
Mike Pall [Thu, 23 May 2013 20:17:45 +0000 (22:17 +0200)] 
FFI: Fix unroll limit for ffi.fill().

12 years agoFFI: Insert no-op type conversion for pointer to integer cast.
Mike Pall [Thu, 23 May 2013 17:43:41 +0000 (19:43 +0200)] 
FFI: Insert no-op type conversion for pointer to integer cast.

12 years agoFFI: Improve error messages for arithmetic and comparison operators.
Mike Pall [Sat, 18 May 2013 12:11:59 +0000 (14:11 +0200)] 
FFI: Improve error messages for arithmetic and comparison operators.

12 years agoHandle calls with max. args in backends even after SPLIT.
Mike Pall [Thu, 16 May 2013 17:59:38 +0000 (19:59 +0200)] 
Handle calls with max. args in backends even after SPLIT.

12 years agoFFI: Fix calling conventions for ARM hard-float EABI.
Mike Pall [Thu, 16 May 2013 12:47:20 +0000 (14:47 +0200)] 
FFI: Fix calling conventions for ARM hard-float EABI.

Properly classify nested (non-transparent) structs.

12 years agoFFI: Fix calling conventions for 32 bit OSX and iOS simulator.
Mike Pall [Thu, 16 May 2013 12:35:00 +0000 (14:35 +0200)] 
FFI: Fix calling conventions for 32 bit OSX and iOS simulator.

OSX uses -freg-struct-return, which returns small structs in regs.
Thanks to Adriano Bertucci.

12 years agoAdd partial support for building with MingW64 GCC 4.8-SEH.
Mike Pall [Wed, 15 May 2013 16:48:06 +0000 (18:48 +0200)] 
Add partial support for building with MingW64 GCC 4.8-SEH.

Error handling works, C++ interoperability generally works.
C++ destructors in libs compiled with G++ cause trouble (ok with MSVC).

12 years agoFFI: Ignore CTF_LONG in ffi.istype().
Mike Pall [Mon, 13 May 2013 08:20:59 +0000 (10:20 +0200)] 
FFI: Ignore CTF_LONG in ffi.istype().

12 years agoFix optional argument handling in table.concat().
Mike Pall [Wed, 8 May 2013 09:05:43 +0000 (11:05 +0200)] 
Fix optional argument handling in table.concat().

12 years agoFix optional argument handling while recording builtins.
Mike Pall [Wed, 8 May 2013 08:46:43 +0000 (10:46 +0200)] 
Fix optional argument handling while recording builtins.

12 years agoFFI: Fix tailcall in lowest frame to C function with bool result.
Mike Pall [Thu, 2 May 2013 00:04:41 +0000 (02:04 +0200)] 
FFI: Fix tailcall in lowest frame to C function with bool result.

12 years agoFix builtin string to number conversion for overflow digits.
Mike Pall [Mon, 29 Apr 2013 12:28:10 +0000 (14:28 +0200)] 
Fix builtin string to number conversion for overflow digits.

12 years agoTighten requirements for non-default optimization flags.
Mike Pall [Thu, 25 Apr 2013 22:54:53 +0000 (00:54 +0200)] 
Tighten requirements for non-default optimization flags.

FOLD is required for FWD/DSE optimizations.

12 years agoFix compiler warning.
Mike Pall [Mon, 22 Apr 2013 20:27:23 +0000 (22:27 +0200)] 
Fix compiler warning.

12 years agoDocument support for Lua 5.2 extension of loadfile().
Mike Pall [Tue, 9 Apr 2013 14:33:47 +0000 (16:33 +0200)] 
Document support for Lua 5.2 extension of loadfile().

12 years agoInhibit DSE for implicit loads via calls.
Mike Pall [Tue, 9 Apr 2013 09:50:33 +0000 (11:50 +0200)] 
Inhibit DSE for implicit loads via calls.

12 years agoFix jump-range constrained mcode allocation.
Mike Pall [Fri, 5 Apr 2013 18:22:41 +0000 (20:22 +0200)] 
Fix jump-range constrained mcode allocation.

12 years agoFix spurious red zone overflows in machine code generation.
Mike Pall [Thu, 4 Apr 2013 15:19:31 +0000 (17:19 +0200)] 
Fix spurious red zone overflows in machine code generation.

12 years agoFFI/x86: Fix register allocation for 64 bit comparisons.
Mike Pall [Thu, 4 Apr 2013 15:05:00 +0000 (17:05 +0200)] 
FFI/x86: Fix register allocation for 64 bit comparisons.

12 years agoFFI: Fix snapshot substitution in SPLIT pass.
Mike Pall [Sat, 23 Mar 2013 13:51:23 +0000 (14:51 +0100)] 
FFI: Fix snapshot substitution in SPLIT pass.

12 years agoDynASM: Improve validation of local backwards relocations.
Mike Pall [Sun, 17 Mar 2013 13:20:40 +0000 (14:20 +0100)] 
DynASM: Improve validation of local backwards relocations.

12 years agoFix rotate definitions for variable shifts.
Mike Pall [Wed, 13 Mar 2013 20:58:53 +0000 (21:58 +0100)] 
Fix rotate definitions for variable shifts.

12 years agoAdd missing GC steps for io.* functions.
Mike Pall [Sun, 3 Mar 2013 20:18:22 +0000 (21:18 +0100)] 
Add missing GC steps for io.* functions.

12 years agoMIPS: Fix cache flush/sync for JIT-compiled code jump area.
Mike Pall [Thu, 28 Feb 2013 16:52:31 +0000 (17:52 +0100)] 
MIPS: Fix cache flush/sync for JIT-compiled code jump area.

12 years agoARM: Fix cache flush/sync for exit stubs of JIT-compiled code.
Mike Pall [Thu, 28 Feb 2013 16:51:16 +0000 (17:51 +0100)] 
ARM: Fix cache flush/sync for exit stubs of JIT-compiled code.

12 years agoAllow changing *.dll/*.lib name in msvcbuild.bat.
Mike Pall [Tue, 26 Feb 2013 17:31:01 +0000 (18:31 +0100)] 
Allow changing *.dll/*.lib name in msvcbuild.bat.

12 years agoProperly fix MSVC intrinsics for older versions.
Mike Pall [Sun, 24 Feb 2013 11:41:53 +0000 (12:41 +0100)] 
Properly fix MSVC intrinsics for older versions.

12 years agoFix memory access check for fast string interning.
Mike Pall [Thu, 21 Feb 2013 15:22:26 +0000 (16:22 +0100)] 
Fix memory access check for fast string interning.

12 years agoRELEASE LuaJIT-2.0.1 (fixed) v2.0.1-fixed
Mike Pall [Tue, 19 Feb 2013 20:14:27 +0000 (21:14 +0100)] 
RELEASE LuaJIT-2.0.1 (fixed)

12 years agoRELEASE LuaJIT-2.0.1 v2.0.1
Mike Pall [Tue, 19 Feb 2013 17:05:39 +0000 (18:05 +0100)] 
RELEASE LuaJIT-2.0.1

12 years agoUpdate changelog.
Mike Pall [Tue, 19 Feb 2013 16:44:57 +0000 (17:44 +0100)] 
Update changelog.

12 years agoFix capitalization of 'Xbox'.
Mike Pall [Wed, 13 Feb 2013 10:57:04 +0000 (11:57 +0100)] 
Fix capitalization of 'Xbox'.

12 years agoPPC/e500: Fix lj_vm_floor() for inf/nan.
Mike Pall [Tue, 12 Feb 2013 11:37:18 +0000 (12:37 +0100)] 
PPC/e500: Fix lj_vm_floor() for inf/nan.

12 years agoOSX: Add support for Mach-O object files to -b option.
Mike Pall [Mon, 11 Feb 2013 16:58:06 +0000 (17:58 +0100)] 
OSX: Add support for Mach-O object files to -b option.

Thanks to Adam Strzelecki.

12 years agoImprove buffer handling for io.read().
Mike Pall [Mon, 11 Feb 2013 13:50:18 +0000 (14:50 +0100)] 
Improve buffer handling for io.read().

12 years agoBump copyright date to 2013.
Mike Pall [Mon, 11 Feb 2013 11:54:48 +0000 (12:54 +0100)] 
Bump copyright date to 2013.

12 years agoFFI: Stricter parsing of declaration specifiers.
Mike Pall [Sun, 3 Feb 2013 11:47:52 +0000 (12:47 +0100)] 
FFI: Stricter parsing of declaration specifiers.

12 years agoFFI: Fix handling of qualified transparent structs/unions.
Mike Pall [Sun, 3 Feb 2013 10:51:19 +0000 (11:51 +0100)] 
FFI: Fix handling of qualified transparent structs/unions.

12 years agoKeep line number for KPRI to KNIL optimization.
Mike Pall [Thu, 31 Jan 2013 11:36:23 +0000 (12:36 +0100)] 
Keep line number for KPRI to KNIL optimization.

12 years agoFix XBox 360 port.
Mike Pall [Wed, 30 Jan 2013 19:37:39 +0000 (20:37 +0100)] 
Fix XBox 360 port.

12 years agoAvoid leaking memory on kernels with recalcitrant mmap() behavior.
Mike Pall [Mon, 28 Jan 2013 11:29:31 +0000 (12:29 +0100)] 
Avoid leaking memory on kernels with recalcitrant mmap() behavior.

12 years agoAdd missing FOLD rules for U32 conversions.
Mike Pall [Mon, 21 Jan 2013 15:49:03 +0000 (16:49 +0100)] 
Add missing FOLD rules for U32 conversions.

12 years agoAdd XBox 360 port.
Mike Pall [Mon, 21 Jan 2013 15:43:49 +0000 (16:43 +0100)] 
Add XBox 360 port.

Thanks to Eddie Edwards.

12 years agoFFI: Load FFI library on-demand for bytecode with cdata literals.
Mike Pall [Tue, 15 Jan 2013 00:16:37 +0000 (01:16 +0100)] 
FFI: Load FFI library on-demand for bytecode with cdata literals.

12 years agox86/x64: Always mark ref for shift count as non-weak.
Mike Pall [Mon, 14 Jan 2013 15:03:32 +0000 (16:03 +0100)] 
x86/x64: Always mark ref for shift count as non-weak.

12 years agoAnother fix for PS3 build.
Mike Pall [Mon, 14 Jan 2013 13:14:12 +0000 (14:14 +0100)] 
Another fix for PS3 build.

12 years agoPPC/e500: Remove assembler code for lj_vm_foldarith().
Mike Pall [Fri, 11 Jan 2013 12:36:01 +0000 (13:36 +0100)] 
PPC/e500: Remove assembler code for lj_vm_foldarith().

12 years agoRemove redundant code in jit/*.lua.
Mike Pall [Fri, 11 Jan 2013 11:30:10 +0000 (12:30 +0100)] 
Remove redundant code in jit/*.lua.

12 years agoRemove fictitious Solaris define.
Mike Pall [Fri, 11 Jan 2013 11:23:44 +0000 (12:23 +0100)] 
Remove fictitious Solaris define.

12 years agoFix PS3 build.
Mike Pall [Fri, 11 Jan 2013 11:19:53 +0000 (12:19 +0100)] 
Fix PS3 build.

12 years agoFix discharge order of comparisons in Lua parser.
Mike Pall [Fri, 11 Jan 2013 11:19:05 +0000 (12:19 +0100)] 
Fix discharge order of comparisons in Lua parser.