]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
11 years agoDynASM/ARM64: Fix checks for scaled immediates.
Mike Pall [Wed, 7 Jan 2015 12:17:11 +0000 (13:17 +0100)] 
DynASM/ARM64: Fix checks for scaled immediates.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 5 Jan 2015 23:12:45 +0000 (00:12 +0100)] 
Merge branch 'master' into v2.1

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

11 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 5 Jan 2015 22:43:57 +0000 (23:43 +0100)] 
Merge branch 'master' into v2.1

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

11 years agoFix MSVC build.
Mike Pall [Sun, 4 Jan 2015 23:38:18 +0000 (00:38 +0100)] 
Fix MSVC build.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 4 Jan 2015 23:07:14 +0000 (00:07 +0100)] 
Merge branch 'master' into v2.1

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

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

11 years agoARM64: Update docs.
Mike Pall [Sun, 4 Jan 2015 22:54:00 +0000 (23:54 +0100)] 
ARM64: Update docs.

11 years agoARM64: Compatibility fixes for Clang.
Mike Pall [Sun, 4 Jan 2015 22:52:50 +0000 (23:52 +0100)] 
ARM64: Compatibility fixes for Clang.

11 years agoPPC/e500: Drop support for this architecture.
Mike Pall [Sun, 4 Jan 2015 22:01:16 +0000 (23:01 +0100)] 
PPC/e500: Drop support for this architecture.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 4 Jan 2015 21:58:41 +0000 (22:58 +0100)] 
Merge branch 'master' into v2.1

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

11 years agoARM64: Add build infrastructure and initial port of interpreter.
Mike Pall [Sat, 3 Jan 2015 14:28:33 +0000 (15:28 +0100)] 
ARM64: Add build infrastructure and initial port of interpreter.

11 years agoAdd LJ_GC64 mode: 64 bit GC object references.
Mike Pall [Sat, 3 Jan 2015 14:23:58 +0000 (15:23 +0100)] 
Add LJ_GC64 mode: 64 bit GC object references.

Actually NaN tagging with 47 bit pointers and 13+4 bit tags.

11 years agoAdd LJ_FR2 mode: Two-slot frame info.
Mike Pall [Sat, 3 Jan 2015 14:04:38 +0000 (15:04 +0100)] 
Add LJ_FR2 mode: Two-slot frame info.

11 years agoDynASM/ARM64: Various fixes.
Mike Pall [Sat, 27 Dec 2014 05:13:48 +0000 (06:13 +0100)] 
DynASM/ARM64: Various fixes.

11 years agoMerge branch 'master' into v2.1
Mike Pall [Sat, 27 Dec 2014 05:11:14 +0000 (06:11 +0100)] 
Merge branch 'master' into v2.1

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

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

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

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

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

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

11 years agoMerge branch 'master' into v2.1
Mike Pall [Sat, 20 Dec 2014 00:48:17 +0000 (01:48 +0100)] 
Merge branch 'master' into v2.1

11 years agoCleanup of TValue setters. No functional changes.
Mike Pall [Fri, 19 Dec 2014 23:59:16 +0000 (00:59 +0100)] 
Cleanup of TValue setters. No functional changes.

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

11 years agoCleanup of memory vs. GC sizes. No functional changes.
Mike Pall [Fri, 19 Dec 2014 23:17:50 +0000 (00:17 +0100)] 
Cleanup of memory vs. GC sizes. No functional changes.

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.

12 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

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

12 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

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

12 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().

12 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

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

12 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

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

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

12 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

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

12 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

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

12 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

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

12 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

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

12 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

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

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

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

12 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

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