]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
10 years agoMerge branch 'master' into v2.1 56/head
Mike Pall [Wed, 19 Aug 2015 23:11:59 +0000 (01:11 +0200)] 
Merge branch 'master' into v2.1

10 years agoProperly handle OOM in trace_save().
Mike Pall [Wed, 19 Aug 2015 23:10:30 +0000 (01:10 +0200)] 
Properly handle OOM in trace_save().

Thanks to Vyacheslav Egorov.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 19 Aug 2015 22:51:32 +0000 (00:51 +0200)] 
Merge branch 'master' into v2.1

10 years agoFix NYICF error message.
Mike Pall [Wed, 19 Aug 2015 22:49:20 +0000 (00:49 +0200)] 
Fix NYICF error message.

Thanks to Vyacheslav Egorov.

10 years agoParse binary number literals (0bxxx). origin/v2.1
Mike Pall [Wed, 19 Aug 2015 00:10:36 +0000 (02:10 +0200)] 
Parse binary number literals (0bxxx).

10 years agoMerge branch 'master' into v2.1
Mike Pall [Fri, 17 Jul 2015 21:17:34 +0000 (23:17 +0200)] 
Merge branch 'master' into v2.1

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 agoARM64: Fix __call metamethod handling for tail calls.
Mike Pall [Tue, 14 Jul 2015 11:04:08 +0000 (13:04 +0200)] 
ARM64: Fix __call metamethod handling for tail calls.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Fri, 10 Jul 2015 01:45:25 +0000 (03:45 +0200)] 
Merge branch 'master' into v2.1

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 Xbox One port.
Mike Pall [Tue, 16 Jun 2015 02:27:44 +0000 (04:27 +0200)] 
Fix Xbox One port.

10 years agoDisable table allocation bump optimization (for now).
Mike Pall [Fri, 12 Jun 2015 22:42:38 +0000 (00:42 +0200)] 
Disable table allocation bump optimization (for now).

10 years agoAdd Xbox One port.
Mike Pall [Fri, 12 Jun 2015 20:28:38 +0000 (22:28 +0200)] 
Add Xbox One port.

10 years agoFix table allocation bump optimization (sigh).
Mike Pall [Wed, 10 Jun 2015 15:06:01 +0000 (17:06 +0200)] 
Fix table allocation bump optimization (sigh).

10 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 10 Jun 2015 14:15:41 +0000 (16:15 +0200)] 
Merge branch 'master' into v2.1

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/LJ_GC64: Fix ipairs().
Mike Pall [Wed, 10 Jun 2015 10:15:28 +0000 (12:15 +0200)] 
x64/LJ_GC64: Fix ipairs().

10 years agoFix table allocation bump optimization (again).
Mike Pall [Tue, 9 Jun 2015 21:46:38 +0000 (23:46 +0200)] 
Fix table allocation bump optimization (again).

10 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 9 Jun 2015 20:09:11 +0000 (22:09 +0200)] 
Merge branch 'master' into v2.1

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 agox64/LJ_GC64: Fix upvalue write barrier.
Mike Pall [Fri, 29 May 2015 14:45:26 +0000 (16:45 +0200)] 
x64/LJ_GC64: Fix upvalue write barrier.

10 years agox64/LJ_GC64: Fix setmetatable().
Mike Pall [Mon, 25 May 2015 14:31:52 +0000 (16:31 +0200)] 
x64/LJ_GC64: Fix setmetatable().

10 years agoFix table allocation bump optimization.
Mike Pall [Thu, 21 May 2015 14:38:31 +0000 (16:38 +0200)] 
Fix table allocation bump optimization.

10 years agoLJ_GC64: Fix frame unwinding.
Mike Pall [Wed, 20 May 2015 14:43:41 +0000 (16:43 +0200)] 
LJ_GC64: Fix frame unwinding.

10 years agoFix for last commit.
Mike Pall [Tue, 19 May 2015 00:25:16 +0000 (02:25 +0200)] 
Fix for last commit.

10 years agoBump table allocations retroactively if they grow later on.
Mike Pall [Mon, 18 May 2015 23:59:29 +0000 (01:59 +0200)] 
Bump table allocations retroactively if they grow later on.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 14 May 2015 18:52:03 +0000 (20:52 +0200)] 
Merge branch 'master' into v2.1

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 agoCleanup.
Mike Pall [Mon, 4 May 2015 04:38:01 +0000 (06:38 +0200)] 
Cleanup.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 4 May 2015 04:37:24 +0000 (06:37 +0200)] 
Merge branch 'master' into v2.1

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 agox64: Add LJ_GC64 mode interpreter.
Mike Pall [Mon, 4 May 2015 04:30:57 +0000 (06:30 +0200)] 
x64: Add LJ_GC64 mode interpreter.

Enable this mode with: make XCFLAGS=-DLUAJIT_ENABLE_GC64

10 years agoFix broken Windows build.
Mike Pall [Wed, 29 Apr 2015 08:13:01 +0000 (10:13 +0200)] 
Fix broken Windows build.

10 years agoDisable trace stitching (for now) due to a design mistake.
Mike Pall [Tue, 28 Apr 2015 18:46:59 +0000 (20:46 +0200)] 
Disable trace stitching (for now) due to a design mistake.

Thanks to Elias Hogstvedt for finding a test case for a well known,
but hard to track down issue with trace stitching.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 28 Apr 2015 18:29:46 +0000 (20:29 +0200)] 
Merge branch 'master' into v2.1

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 agoARM64: Fix math.floor/math.ceil for string args.
Mike Pall [Wed, 15 Apr 2015 20:09:46 +0000 (22:09 +0200)] 
ARM64: Fix math.floor/math.ceil for string args.

10 years agoDynASM/PPC: Add sub/shift/rotate/clear instruction aliases.
Mike Pall [Sat, 11 Apr 2015 23:27:17 +0000 (01:27 +0200)] 
DynASM/PPC: Add sub/shift/rotate/clear instruction aliases.

10 years agoDynASM/PPC: Add support for parameterized shifts/masks.
Mike Pall [Sat, 11 Apr 2015 23:25:14 +0000 (01:25 +0200)] 
DynASM/PPC: Add support for parameterized shifts/masks.

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.