]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
10 years agoPPC: Fix cross-endian builds.
Mike Pall [Sat, 11 Apr 2015 23:23:01 +0000 (01:23 +0200)] 
PPC: Fix cross-endian builds.

10 years agoPPC: Fix write barrier in BC_TSETR.
Mike Pall [Thu, 9 Apr 2015 16:48:03 +0000 (18:48 +0200)] 
PPC: Fix write barrier in BC_TSETR.

Thanks to Gustavo Serra Scalet.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 11 Mar 2015 16:47:32 +0000 (17:47 +0100)] 
Merge branch 'master' into v2.1

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

10 years agoPPC64: Add build infrastructure.
Mike Pall [Fri, 6 Mar 2015 02:47:45 +0000 (03:47 +0100)] 
PPC64: Add build infrastructure.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 5 Mar 2015 11:21:39 +0000 (12:21 +0100)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Mon, 2 Mar 2015 16:34:33 +0000 (17:34 +0100)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Wed, 25 Feb 2015 17:12:14 +0000 (18:12 +0100)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Sun, 22 Feb 2015 22:08:56 +0000 (23:08 +0100)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Sat, 21 Feb 2015 20:46:22 +0000 (21:46 +0100)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Wed, 18 Feb 2015 15:01:11 +0000 (16:01 +0100)] 
Merge branch 'master' into v2.1

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 agoLJ_FR2: Fix bytecode generation for method lookups.
Mike Pall [Sun, 8 Feb 2015 19:25:27 +0000 (20:25 +0100)] 
LJ_FR2: Fix bytecode generation for method lookups.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 2 Feb 2015 10:06:34 +0000 (11:06 +0100)] 
Merge branch 'master' into v2.1

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 agoMerge branch 'master' into v2.1
Mike Pall [Sat, 17 Jan 2015 13:57:24 +0000 (14:57 +0100)] 
Merge branch 'master' into v2.1

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 agoDynASM/PPC: Add missing PPC64 instructions and various extensions.
Mike Pall [Wed, 14 Jan 2015 20:40:24 +0000 (21:40 +0100)] 
DynASM/PPC: Add missing PPC64 instructions and various extensions.

Contributed by Caio Souza Oliveira.

10 years agoiOS/ARM64: Fix target OS detection.
Mike Pall [Thu, 8 Jan 2015 01:52:31 +0000 (02:52 +0100)] 
iOS/ARM64: Fix target OS detection.

10 years agoLJ_GC64: Return true for ffi.abi("gc64").
Mike Pall [Wed, 7 Jan 2015 20:14:43 +0000 (21:14 +0100)] 
LJ_GC64: Return true for ffi.abi("gc64").

10 years agoARM64: Add FFI support.
Mike Pall [Wed, 7 Jan 2015 20:06:40 +0000 (21:06 +0100)] 
ARM64: Add FFI support.

10 years agoiOS/ARM64: The frame pointer is required.
Mike Pall [Wed, 7 Jan 2015 19:59:37 +0000 (20:59 +0100)] 
iOS/ARM64: The frame pointer is required.

10 years agoLJ_FR2: Fix lua_settable() and lua_setfield().
Mike Pall [Wed, 7 Jan 2015 12:17:57 +0000 (13:17 +0100)] 
LJ_FR2: Fix lua_settable() and lua_setfield().

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

10 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

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

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 agoFix MSVC build.
Mike Pall [Sun, 4 Jan 2015 23:38:18 +0000 (00:38 +0100)] 
Fix MSVC build.

10 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

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 agoARM64: Update docs.
Mike Pall [Sun, 4 Jan 2015 22:54:00 +0000 (23:54 +0100)] 
ARM64: Update docs.

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

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

10 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

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

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

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

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

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

10 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

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

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

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

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

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

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

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

10 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

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

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

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

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

10 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

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

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

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

10 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

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

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

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

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

10 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

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