]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
11 years agox86: Fix stack slot reservation for FP math functions.
Mike Pall [Tue, 16 Dec 2014 21:22:51 +0000 (22:22 +0100)] 
x86: Fix stack slot reservation for FP math functions.

Followup fix for commit ad03eba7.

11 years agoDisable debug info for generated *.S to avoid confusing gdb.
Mike Pall [Tue, 16 Dec 2014 01:32:53 +0000 (02:32 +0100)] 
Disable debug info for generated *.S to avoid confusing gdb.

11 years agoAvoid dependency on frame layout for LJ_POST_FIXCOMP.
Mike Pall [Mon, 15 Dec 2014 01:45:40 +0000 (02:45 +0100)] 
Avoid dependency on frame layout for LJ_POST_FIXCOMP.

The auxiliary value in u32.lo wasn't used, anyway.

11 years agoCleanup of frame handling. No functional changes.
Mike Pall [Mon, 15 Dec 2014 01:27:27 +0000 (02:27 +0100)] 
Cleanup of frame handling. No functional changes.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 15 Dec 2014 00:56:18 +0000 (01:56 +0100)] 
Merge branch 'master' into v2.1

11 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.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 8 Dec 2014 01:10:10 +0000 (02:10 +0100)] 
Merge branch 'master' into v2.1

11 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.

11 years agox86/x64: Drop internal x87 math functions. Use libm functions.
Mike Pall [Mon, 8 Dec 2014 01:02:34 +0000 (02:02 +0100)] 
x86/x64: Drop internal x87 math functions. Use libm functions.

11 years agox86/x64: Call external symbols directly from interpreter code.
Mike Pall [Mon, 8 Dec 2014 00:58:05 +0000 (01:58 +0100)] 
x86/x64: Call external symbols directly from interpreter code.

Except for ELF/x86 PIC, where it's easier to use wrappers.

11 years agoDynASM/ARM64: Initial commit of ARM64 module.
Mike Pall [Wed, 3 Dec 2014 13:12:02 +0000 (14:12 +0100)] 
DynASM/ARM64: Initial commit of ARM64 module.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 3 Dec 2014 13:11:14 +0000 (14:11 +0100)] 
Merge branch 'master' into v2.1

11 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.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Fri, 28 Nov 2014 19:21:35 +0000 (20:21 +0100)] 
Merge branch 'master' into v2.1

11 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.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 3 Nov 2014 20:35:52 +0000 (21:35 +0100)] 
Merge branch 'master' into v2.1

11 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.

11 years agoFFI: Add ffi.typeinfo().
Mike Pall [Wed, 8 Oct 2014 20:16:53 +0000 (22:16 +0200)] 
FFI: Add ffi.typeinfo().

Thanks to Peter Colberg.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 8 Oct 2014 20:06:23 +0000 (22:06 +0200)] 
Merge branch 'master' into v2.1

11 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.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 7 Oct 2014 14:18:46 +0000 (16:18 +0200)] 
Merge branch 'master' into v2.1

11 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.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 22 Sep 2014 11:46:27 +0000 (13:46 +0200)] 
Merge branch 'master' into v2.1

11 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.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 21 Sep 2014 16:05:00 +0000 (18:05 +0200)] 
Merge branch 'master' into v2.1

11 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.

11 years agoEliminate hmask guard for forwarded HREFK.
Mike Pall [Wed, 17 Sep 2014 17:45:16 +0000 (19:45 +0200)] 
Eliminate hmask guard for forwarded HREFK.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 8 Sep 2014 21:39:02 +0000 (23:39 +0200)] 
Merge branch 'master' into v2.1

11 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.

11 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 agoMerge branch 'master' into v2.1
Mike Pall [Tue, 5 Aug 2014 18:18:20 +0000 (20:18 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Thu, 24 Jul 2014 11:08:49 +0000 (13:08 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Fri, 4 Jul 2014 16:19:16 +0000 (18:19 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Tue, 1 Jul 2014 15:54:08 +0000 (17:54 +0200)] 
Merge branch 'master' into v2.1

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

11 years agoCompile debug.getmetatable().
Mike Pall [Wed, 18 Jun 2014 10:36:50 +0000 (12:36 +0200)] 
Compile debug.getmetatable().

Thanks to Karel Tuma.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Fri, 13 Jun 2014 09:16:47 +0000 (11:16 +0200)] 
Merge branch 'master' into v2.1

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

11 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 12 Jun 2014 09:02:44 +0000 (11:02 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Wed, 11 Jun 2014 20:47:10 +0000 (22:47 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Wed, 11 Jun 2014 08:21:37 +0000 (10:21 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Wed, 28 May 2014 13:47:21 +0000 (15:47 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Tue, 27 May 2014 13:59:20 +0000 (15:59 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Tue, 20 May 2014 09:56:20 +0000 (11:56 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Thu, 15 May 2014 15:37:38 +0000 (17:37 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Mon, 12 May 2014 12:36:28 +0000 (14:36 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Tue, 6 May 2014 12:49:54 +0000 (14:49 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Tue, 6 May 2014 12:33:35 +0000 (14:33 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Sat, 26 Apr 2014 22:10:34 +0000 (00:10 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Tue, 22 Apr 2014 09:29:05 +0000 (11:29 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Thu, 17 Apr 2014 08:32:23 +0000 (10:32 +0200)] 
Merge branch 'master' into v2.1

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 agoFix FOLD of string concatenations.
Mike Pall [Tue, 15 Apr 2014 17:56:23 +0000 (19:56 +0200)] 
Fix FOLD of string concatenations.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 8 Apr 2014 14:55:54 +0000 (16:55 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Tue, 8 Apr 2014 10:12:27 +0000 (12:12 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Thu, 3 Apr 2014 19:48:34 +0000 (21:48 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Tue, 1 Apr 2014 08:33:42 +0000 (10:33 +0200)] 
Merge branch 'master' into v2.1

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 agoFix alias analysis for table.len vs. table.clear.
Mike Pall [Mon, 31 Mar 2014 23:55:12 +0000 (01:55 +0200)] 
Fix alias analysis for table.len vs. table.clear.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 31 Mar 2014 22:34:13 +0000 (00:34 +0200)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Fri, 28 Mar 2014 18:11:35 +0000 (19:11 +0100)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Thu, 27 Mar 2014 22:32:45 +0000 (23:32 +0100)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Thu, 27 Mar 2014 10:39:15 +0000 (11:39 +0100)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Mon, 24 Mar 2014 08:42:05 +0000 (09:42 +0100)] 
Merge branch 'master' into v2.1

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

11 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 12 Mar 2014 12:24:37 +0000 (13:24 +0100)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Thu, 6 Mar 2014 16:55:52 +0000 (17:55 +0100)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Wed, 5 Mar 2014 23:42:38 +0000 (00:42 +0100)] 
Merge branch 'master' into v2.1

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 agoSpecialize to ffid for non-monomorphic builtins.
Mike Pall [Tue, 4 Mar 2014 15:11:29 +0000 (16:11 +0100)] 
Specialize to ffid for non-monomorphic builtins.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Fri, 28 Feb 2014 13:10:30 +0000 (14:10 +0100)] 
Merge branch 'master' into v2.1