]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
10 years agoFFI: Don't propagate qualifiers into subtypes of complex. origin/HEAD origin/master
Mike Pall [Fri, 17 Jul 2015 21:14:21 +0000 (23:14 +0200)] 
FFI: Don't propagate qualifiers into subtypes of complex.

10 years agoLimit number of arguments given to io.lines() and fp:lines().
Mike Pall [Fri, 10 Jul 2015 01:42:51 +0000 (03:42 +0200)] 
Limit number of arguments given to io.lines() and fp:lines().

10 years agoFix narrowing of TOBIT.
Mike Pall [Wed, 10 Jun 2015 14:14:41 +0000 (16:14 +0200)] 
Fix narrowing of TOBIT.

10 years agox64: Allow building without external unwinder.
Mike Pall [Tue, 9 Jun 2015 19:56:58 +0000 (21:56 +0200)] 
x64: Allow building without external unwinder.

Required for PS4 SDK 2.5. Thanks to James Park.

10 years agoRELEASE LuaJIT-2.0.4 v2.0.4
Mike Pall [Thu, 14 May 2015 18:29:31 +0000 (20:29 +0200)] 
RELEASE LuaJIT-2.0.4

10 years agoUpdate changelog.
Mike Pall [Thu, 14 May 2015 18:15:09 +0000 (20:15 +0200)] 
Update changelog.

10 years agox86/x64: Fix argument check for bit shifts.
Mike Pall [Mon, 4 May 2015 04:36:16 +0000 (06:36 +0200)] 
x86/x64: Fix argument check for bit shifts.

10 years agoFix stack check in narrowing optimization.
Mike Pall [Tue, 28 Apr 2015 18:28:16 +0000 (20:28 +0200)] 
Fix stack check in narrowing optimization.

Thanks to Robert Nix.

10 years agoDoc cleanup.
Mike Pall [Wed, 11 Mar 2015 16:47:24 +0000 (17:47 +0100)] 
Doc cleanup.

10 years agoFix Lua/C API typecheck error for special indexes.
Mike Pall [Thu, 5 Mar 2015 11:19:11 +0000 (12:19 +0100)] 
Fix Lua/C API typecheck error for special indexes.

10 years agoFFI: Fix FOLD rule for TOBIT + CONV num.u32.
Mike Pall [Mon, 2 Mar 2015 16:31:18 +0000 (17:31 +0100)] 
FFI: Fix FOLD rule for TOBIT + CONV num.u32.

Thanks to Jiale Zhi.

10 years agoARM: Handle more arch defines.
Mike Pall [Wed, 25 Feb 2015 17:10:54 +0000 (18:10 +0100)] 
ARM: Handle more arch defines.

10 years agoProperly fail unsupported cross-compile to MIPS64.
Mike Pall [Wed, 25 Feb 2015 17:02:31 +0000 (18:02 +0100)] 
Properly fail unsupported cross-compile to MIPS64.

10 years agoFix string to number conversion.
Mike Pall [Sun, 22 Feb 2015 22:07:49 +0000 (23:07 +0100)] 
Fix string to number conversion.

Thanks to Lesley De Cruz.

10 years agox86/x64: Fix code generation for fused test/arith ops.
Mike Pall [Sat, 21 Feb 2015 20:44:41 +0000 (21:44 +0100)] 
x86/x64: Fix code generation for fused test/arith ops.

Thanks to Alexander Nasonov and AFL.

10 years agoFFI: Prevent DSE across ffi.string().
Mike Pall [Wed, 18 Feb 2015 15:00:15 +0000 (16:00 +0100)] 
FFI: Prevent DSE across ffi.string().

10 years agoFix lexer error for chunks without tokens.
Mike Pall [Mon, 2 Feb 2015 10:03:39 +0000 (11:03 +0100)] 
Fix lexer error for chunks without tokens.

10 years agoDon't compile IR_RETF after CALLT to ff with-side effects.
Mike Pall [Sat, 17 Jan 2015 13:50:41 +0000 (14:50 +0100)] 
Don't compile IR_RETF after CALLT to ff with-side effects.

10 years agoOpenBSD/x86: Better executable memory allocation for W^X mode.
Mike Pall [Sat, 17 Jan 2015 11:55:04 +0000 (12:55 +0100)] 
OpenBSD/x86: Better executable memory allocation for W^X mode.

10 years agoBump copyright date to 2015.
Mike Pall [Mon, 5 Jan 2015 22:59:31 +0000 (23:59 +0100)] 
Bump copyright date to 2015.

10 years agoFix BC_UCLO/BC_JMP join optimization in Lua parser.
Mike Pall [Mon, 5 Jan 2015 22:39:37 +0000 (23:39 +0100)] 
Fix BC_UCLO/BC_JMP join optimization in Lua parser.

10 years agoARM: Minor interpreter optimization.
Mike Pall [Sun, 4 Jan 2015 23:05:38 +0000 (00:05 +0100)] 
ARM: Minor interpreter optimization.

10 years agox86: Minor interpreter optimization.
Mike Pall [Sun, 4 Jan 2015 23:04:40 +0000 (00:04 +0100)] 
x86: Minor interpreter optimization.

10 years agoFix docs.
Mike Pall [Sun, 4 Jan 2015 21:58:11 +0000 (22:58 +0100)] 
Fix docs.

10 years agoDynASM/ARM: Fix rollback for variant templates.
Mike Pall [Sat, 27 Dec 2014 05:08:36 +0000 (06:08 +0100)] 
DynASM/ARM: Fix rollback for variant templates.

10 years agoMIPS: Fix excess stack growth in interpreter.
Mike Pall [Sat, 27 Dec 2014 05:06:07 +0000 (06:06 +0100)] 
MIPS: Fix excess stack growth in interpreter.

10 years agoPPC: Fix excess stack growth in interpreter.
Mike Pall [Sat, 27 Dec 2014 05:05:50 +0000 (06:05 +0100)] 
PPC: Fix excess stack growth in interpreter.

10 years agoARM: Fix write barrier check in BC_USETS.
Mike Pall [Sat, 27 Dec 2014 05:03:06 +0000 (06:03 +0100)] 
ARM: Fix write barrier check in BC_USETS.

10 years agoARM: Fix excess stack growth in interpreter.
Mike Pall [Sat, 27 Dec 2014 04:59:16 +0000 (05:59 +0100)] 
ARM: Fix excess stack growth in interpreter.

10 years agoFix corner case in string to number conversion.
Mike Pall [Sat, 27 Dec 2014 04:46:51 +0000 (05:46 +0100)] 
Fix corner case in string to number conversion.

10 years agox86: Fix argument checks for ipairs() iterator.
Mike Pall [Sat, 20 Dec 2014 00:05:06 +0000 (01:05 +0100)] 
x86: Fix argument checks for ipairs() iterator.

10 years agoGracefully handle lua_error() for a suspended coroutine.
Mike Pall [Mon, 15 Dec 2014 00:55:45 +0000 (01:55 +0100)] 
Gracefully handle lua_error() for a suspended coroutine.

Thanks to Sergei Zhirikov.

10 years agoAvoid error messages when building with Clang.
Mike Pall [Mon, 8 Dec 2014 01:07:05 +0000 (02:07 +0100)] 
Avoid error messages when building with Clang.

10 years agoDynASM/ARM: Fix description shown for multi-element templates.
Mike Pall [Wed, 3 Dec 2014 13:09:17 +0000 (14:09 +0100)] 
DynASM/ARM: Fix description shown for multi-element templates.

10 years agoFix snapshot #0 handling for traces with a stack check on entry.
Mike Pall [Fri, 28 Nov 2014 19:20:12 +0000 (20:20 +0100)] 
Fix snapshot #0 handling for traces with a stack check on entry.

10 years agoFFI: No meta fallback when indexing pointer to incomplete struct.
Mike Pall [Mon, 3 Nov 2014 20:34:24 +0000 (21:34 +0100)] 
FFI: No meta fallback when indexing pointer to incomplete struct.

10 years agoFix fused constant loads under high register pressure.
Mike Pall [Wed, 8 Oct 2014 20:04:51 +0000 (22:04 +0200)] 
Fix fused constant loads under high register pressure.

10 years agoFix DragonFly build (unsupported).
Mike Pall [Tue, 7 Oct 2014 14:17:29 +0000 (16:17 +0200)] 
Fix DragonFly build (unsupported).

Thanks to Robin Hahling, Alex Hornung and Joris Giovannangeli.

10 years agoDynASM/x86: Add fldenv, f[n]stenv, fxsave, fxrstor opcodes.
Mike Pall [Mon, 22 Sep 2014 11:44:28 +0000 (13:44 +0200)] 
DynASM/x86: Add fldenv, f[n]stenv, fxsave, fxrstor opcodes.

Thanks to Cosmin Apreutesei.

10 years agoDynASM/x86: Add shld/shrd opcodes.
Mike Pall [Sun, 21 Sep 2014 16:03:47 +0000 (18:03 +0200)] 
DynASM/x86: Add shld/shrd opcodes.

Thanks to Peter Cawley.

10 years agoFFI: Fix initialization of unions of subtypes.
Mike Pall [Mon, 8 Sep 2014 21:37:22 +0000 (23:37 +0200)] 
FFI: Fix initialization of unions of subtypes.

Thanks to Peter Colberg.

10 years agoFFI: Fix for cdata vs. non-cdata arithmetic and comparisons.
Mike Pall [Mon, 8 Sep 2014 21:28:02 +0000 (23:28 +0200)] 
FFI: Fix for cdata vs. non-cdata arithmetic and comparisons.

Thanks to Roman Tsisyk.

11 years agoFFI: Fix __index/__newindex metamethod resolution for ctypes.
Mike Pall [Tue, 5 Aug 2014 18:15:52 +0000 (20:15 +0200)] 
FFI: Fix __index/__newindex metamethod resolution for ctypes.

11 years agoInvalidate backpropagation cache after DCE.
Mike Pall [Thu, 24 Jul 2014 11:08:02 +0000 (13:08 +0200)] 
Invalidate backpropagation cache after DCE.

11 years agoFFI: Fix compilation of reference field access.
Mike Pall [Fri, 4 Jul 2014 16:17:32 +0000 (18:17 +0200)] 
FFI: Fix compilation of reference field access.

11 years agoFix ABC elimination.
Mike Pall [Tue, 1 Jul 2014 15:53:40 +0000 (17:53 +0200)] 
Fix ABC elimination.

11 years agoTypo.
Mike Pall [Fri, 13 Jun 2014 09:16:39 +0000 (11:16 +0200)] 
Typo.

11 years agoFFI: Fix frame traversal for backtraces with FFI callbacks.
Mike Pall [Thu, 12 Jun 2014 08:58:22 +0000 (10:58 +0200)] 
FFI: Fix frame traversal for backtraces with FFI callbacks.

11 years agox86: lj_math_random_step() clobbers XMM regs on OSX Clang.
Mike Pall [Wed, 11 Jun 2014 20:44:08 +0000 (22:44 +0200)] 
x86: lj_math_random_step() clobbers XMM regs on OSX Clang.

11 years agoFix debug info for main chunk of stripped bytecode.
Mike Pall [Wed, 11 Jun 2014 08:19:53 +0000 (10:19 +0200)] 
Fix debug info for main chunk of stripped bytecode.

11 years agoFix compatibility issues with Illumos.
Mike Pall [Wed, 28 May 2014 13:46:26 +0000 (15:46 +0200)] 
Fix compatibility issues with Illumos.

Thanks to Theo Schlossnagle.

11 years agoPPC: Fix red zone overflow in machine code generation.
Mike Pall [Tue, 27 May 2014 13:58:04 +0000 (15:58 +0200)] 
PPC: Fix red zone overflow in machine code generation.

11 years agox86: Fix code generation for unused result of math.random().
Mike Pall [Tue, 27 May 2014 13:25:34 +0000 (15:25 +0200)] 
x86: Fix code generation for unused result of math.random().

11 years agoFix FOLD rule for string.sub(s, ...) == k.
Mike Pall [Tue, 20 May 2014 09:41:32 +0000 (11:41 +0200)] 
Fix FOLD rule for string.sub(s, ...) == k.

11 years agoFFI: Fix recording of indexing a struct pointer ctype object itself.
Mike Pall [Thu, 15 May 2014 15:28:08 +0000 (17:28 +0200)] 
FFI: Fix recording of indexing a struct pointer ctype object itself.

11 years agoFix FOLD rule for STRREF of SNEW.
Mike Pall [Thu, 15 May 2014 15:03:28 +0000 (17:03 +0200)] 
Fix FOLD rule for STRREF of SNEW.

11 years agoFix frame traversal while searching for error function.
Mike Pall [Mon, 12 May 2014 12:35:30 +0000 (14:35 +0200)] 
Fix frame traversal while searching for error function.

11 years agox64: Workaround for MSVC build issue.
Mike Pall [Tue, 6 May 2014 12:47:37 +0000 (14:47 +0200)] 
x64: Workaround for MSVC build issue.

11 years agoFFI: Another fix for cdata equality comparisons.
Mike Pall [Tue, 6 May 2014 12:31:31 +0000 (14:31 +0200)] 
FFI: Another fix for cdata equality comparisons.

11 years agoAdd PS Vita port.
Mike Pall [Sat, 26 Apr 2014 22:09:45 +0000 (00:09 +0200)] 
Add PS Vita port.

Thanks to Anton Stenmark.

11 years agoPrevent GC estimate miscalculation due to buffer growth.
Mike Pall [Tue, 22 Apr 2014 09:26:52 +0000 (11:26 +0200)] 
Prevent GC estimate miscalculation due to buffer growth.

11 years agoPrevent adding side traces for stack checks.
Mike Pall [Tue, 22 Apr 2014 07:57:39 +0000 (09:57 +0200)] 
Prevent adding side traces for stack checks.

11 years agox64: Allow building with LUAJIT_USE_SYSMALLOC and LUAJIT_USE_VALGRIND.
Mike Pall [Mon, 21 Apr 2014 20:26:46 +0000 (22:26 +0200)] 
x64: Allow building with LUAJIT_USE_SYSMALLOC and LUAJIT_USE_VALGRIND.

Valgrind 3.9 killed MAP_32BIT support. Ugh. So now we have to rely on
undocumented behavior where Valgrind always allocates from the bottom
of memory. Alas, such a binary won't run properly without Valgrind.

11 years agoPPC: Don't use mcrxr on PPE.
Mike Pall [Thu, 17 Apr 2014 08:30:35 +0000 (10:30 +0200)] 
PPC: Don't use mcrxr on PPE.

11 years agoFFI: Fix cdata equality comparison against other Lua types.
Mike Pall [Tue, 8 Apr 2014 14:53:41 +0000 (16:53 +0200)] 
FFI: Fix cdata equality comparison against other Lua types.

11 years agoFFI: Fix cdata equality comparison against strings.
Mike Pall [Tue, 8 Apr 2014 10:10:51 +0000 (12:10 +0200)] 
FFI: Fix cdata equality comparison against strings.

11 years agoFix top slot calculation for snapshots with continuations.
Mike Pall [Thu, 3 Apr 2014 19:45:57 +0000 (21:45 +0200)] 
Fix top slot calculation for snapshots with continuations.

11 years agoCorrect fix for reuse of SCEV results in FORL.
Mike Pall [Tue, 1 Apr 2014 08:07:15 +0000 (10:07 +0200)] 
Correct fix for reuse of SCEV results in FORL.

11 years agoFFI: Allow non-scalar cdata to be compared for equality by address.
Mike Pall [Mon, 31 Mar 2014 22:30:22 +0000 (00:30 +0200)] 
FFI: Allow non-scalar cdata to be compared for equality by address.

11 years agoFFI: Fix pseudo type conversions for type punning.
Mike Pall [Fri, 28 Mar 2014 18:09:45 +0000 (19:09 +0100)] 
FFI: Fix pseudo type conversions for type punning.

11 years agoFix check for reuse of SCEV results in FORL.
Mike Pall [Thu, 27 Mar 2014 22:29:30 +0000 (23:29 +0100)] 
Fix check for reuse of SCEV results in FORL.

11 years agox86/x64: Avoid use of SAHF instruction.
Mike Pall [Thu, 27 Mar 2014 10:38:07 +0000 (11:38 +0100)] 
x86/x64: Avoid use of SAHF instruction.

11 years agoFix compiler warnings.
Mike Pall [Mon, 24 Mar 2014 08:41:33 +0000 (09:41 +0100)] 
Fix compiler warnings.

11 years agoRELEASE LuaJIT-2.0.3 v2.0.3
Mike Pall [Wed, 12 Mar 2014 12:24:07 +0000 (13:24 +0100)] 
RELEASE LuaJIT-2.0.3

11 years agoUpdate changelog.
Mike Pall [Wed, 12 Mar 2014 11:54:00 +0000 (12:54 +0100)] 
Update changelog.

11 years agoDynASM: Emit version check after .arch directive.
Mike Pall [Thu, 6 Mar 2014 16:54:48 +0000 (17:54 +0100)] 
DynASM: Emit version check after .arch directive.

11 years agoDon't access dangling reference to reallocated IR.
Mike Pall [Wed, 5 Mar 2014 23:39:37 +0000 (00:39 +0100)] 
Don't access dangling reference to reallocated IR.

11 years agoFix frame depth display for bytecode dump in -jdump.
Mike Pall [Fri, 28 Feb 2014 13:09:34 +0000 (14:09 +0100)] 
Fix frame depth display for bytecode dump in -jdump.

11 years agoFix recording of BC_VARG.
Mike Pall [Fri, 28 Feb 2014 13:09:09 +0000 (14:09 +0100)] 
Fix recording of BC_VARG.

11 years agoFix for -jdump docs.
Mike Pall [Thu, 27 Feb 2014 11:25:13 +0000 (12:25 +0100)] 
Fix for -jdump docs.

11 years agoAdd PS4 port.
Mike Pall [Wed, 26 Feb 2014 14:56:07 +0000 (15:56 +0100)] 
Add PS4 port.

Thanks to Eddie Edwards.

11 years agoDon't purge modified function from stack slots in BC_RET.
Mike Pall [Thu, 20 Feb 2014 03:24:50 +0000 (04:24 +0100)] 
Don't purge modified function from stack slots in BC_RET.

11 years agoFFI: Disallow nested VLS.
Mike Pall [Wed, 19 Feb 2014 21:05:34 +0000 (22:05 +0100)] 
FFI: Disallow nested VLS.

11 years agoPrevent BASE register coalescing if parent uses IR_RETF.
Mike Pall [Wed, 19 Feb 2014 16:09:22 +0000 (17:09 +0100)] 
Prevent BASE register coalescing if parent uses IR_RETF.

11 years agoFix quoting in xedkbuild.bat (again).
Mike Pall [Tue, 11 Feb 2014 23:44:14 +0000 (00:44 +0100)] 
Fix quoting in xedkbuild.bat (again).

11 years agoFix exception unwind struct declaration.
Mike Pall [Wed, 5 Feb 2014 11:04:08 +0000 (12:04 +0100)] 
Fix exception unwind struct declaration.

11 years agoFix OSX build issue.
Mike Pall [Mon, 20 Jan 2014 15:56:37 +0000 (16:56 +0100)] 
Fix OSX build issue.

11 years agoFix initial maxslot for down-recursive traces.
Mike Pall [Mon, 20 Jan 2014 15:49:13 +0000 (16:49 +0100)] 
Fix initial maxslot for down-recursive traces.

11 years agoFix compiler warnings.
Mike Pall [Mon, 20 Jan 2014 15:48:33 +0000 (16:48 +0100)] 
Fix compiler warnings.

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.