]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
8 years agoLJ_GC64: Fix ir_khash for non-string GCobj.
Mike Pall [Mon, 2 Oct 2017 07:22:46 +0000 (09:22 +0200)] 
LJ_GC64: Fix ir_khash for non-string GCobj.

Contributed by Peter Cawley.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 20 Sep 2017 17:42:34 +0000 (19:42 +0200)] 
Merge branch 'master' into v2.1

8 years agoDynASM/x86: Fix potential REL_A overflow.
Mike Pall [Wed, 20 Sep 2017 17:39:50 +0000 (19:39 +0200)] 
DynASM/x86: Fix potential REL_A overflow.

Thanks to Joshua Haberman.

8 years agoMIPS64: Hide internal function.
Mike Pall [Mon, 18 Sep 2017 07:50:22 +0000 (09:50 +0200)] 
MIPS64: Hide internal function.

8 years agox64/LJ_GC64: Fix type-check-only variant of SLOAD.
Mike Pall [Sun, 10 Sep 2017 12:05:30 +0000 (14:05 +0200)] 
x64/LJ_GC64: Fix type-check-only variant of SLOAD.

Thanks to Peter Cawley.

8 years agoPPC: Add soft-float support to JIT compiler backend.
Mike Pall [Sun, 3 Sep 2017 21:20:53 +0000 (23:20 +0200)] 
PPC: Add soft-float support to JIT compiler backend.

Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.

8 years agox64/LJ_GC64: Fix fallback case of asm_fuseloadk64().
Mike Pall [Mon, 28 Aug 2017 08:43:37 +0000 (10:43 +0200)] 
x64/LJ_GC64: Fix fallback case of asm_fuseloadk64().

Contributed by Peter Cawley.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Fri, 18 Aug 2017 10:52:30 +0000 (12:52 +0200)] 
Merge branch 'master' into v2.1

8 years agoUse https for freelists.org links.
Mike Pall [Fri, 18 Aug 2017 10:52:14 +0000 (12:52 +0200)] 
Use https for freelists.org links.

8 years agoPPC: Add soft-float support to interpreter.
Mike Pall [Wed, 26 Jul 2017 07:52:19 +0000 (09:52 +0200)] 
PPC: Add soft-float support to interpreter.

Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.

8 years agox64/LJ_GC64: Fix emit_rma().
Mike Pall [Wed, 26 Jul 2017 07:52:53 +0000 (09:52 +0200)] 
x64/LJ_GC64: Fix emit_rma().

8 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 12 Jun 2017 07:25:48 +0000 (09:25 +0200)] 
Merge branch 'master' into v2.1

8 years agoModify fix for warning from 'ar'.
Mike Pall [Mon, 12 Jun 2017 07:24:00 +0000 (09:24 +0200)] 
Modify fix for warning from 'ar'.

8 years agoRemove unused define.
Mike Pall [Sun, 11 Jun 2017 08:02:08 +0000 (10:02 +0200)] 
Remove unused define.

Suggested by 罗泽轩.

8 years agoFreeBSD/x64: Avoid changing resource limits, if not needed.
Mike Pall [Wed, 7 Jun 2017 22:15:15 +0000 (00:15 +0200)] 
FreeBSD/x64: Avoid changing resource limits, if not needed.

8 years agoMIPS64: Add soft-float support to JIT compiler backend.
Mike Pall [Wed, 7 Jun 2017 21:56:54 +0000 (23:56 +0200)] 
MIPS64: Add soft-float support to JIT compiler backend.

Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 7 Jun 2017 17:39:41 +0000 (19:39 +0200)] 
Merge branch 'master' into v2.1

8 years agoMIPS: Fix handling of spare long-range jump slots.
Mike Pall [Wed, 7 Jun 2017 17:36:46 +0000 (19:36 +0200)] 
MIPS: Fix handling of spare long-range jump slots.

Contributed by Djordje Kovacevic and Stefan Pejic.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 7 Jun 2017 17:17:47 +0000 (19:17 +0200)] 
Merge branch 'master' into v2.1

8 years agoMIPS: Use precise search for exit jump patching.
Mike Pall [Wed, 7 Jun 2017 17:16:22 +0000 (19:16 +0200)] 
MIPS: Use precise search for exit jump patching.

Contributed by Djordje Kovacevic and Stefan Pejic.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 17 May 2017 15:38:53 +0000 (17:38 +0200)] 
Merge branch 'master' into v2.1

8 years agoAdd missing LJ_MAX_JSLOTS check.
Mike Pall [Wed, 17 May 2017 15:37:35 +0000 (17:37 +0200)] 
Add missing LJ_MAX_JSLOTS check.

Thanks to Yichun Zhang.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 9 May 2017 19:01:23 +0000 (21:01 +0200)] 
Merge branch 'master' into v2.1

8 years agoFix LJ_MAX_JSLOTS assertion in rec_check_slots().
Mike Pall [Tue, 9 May 2017 18:59:37 +0000 (20:59 +0200)] 
Fix LJ_MAX_JSLOTS assertion in rec_check_slots().

Thanks to Yichun Zhang.

8 years agoRELEASE LuaJIT-2.1.0-beta3 v2.1.0-beta3
Mike Pall [Mon, 1 May 2017 19:03:01 +0000 (21:03 +0200)] 
RELEASE LuaJIT-2.1.0-beta3

8 years agoUpdate changelog.
Mike Pall [Mon, 1 May 2017 19:02:34 +0000 (21:02 +0200)] 
Update changelog.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 1 May 2017 18:27:04 +0000 (20:27 +0200)] 
Merge branch 'master' into v2.1

8 years agoRELEASE LuaJIT-2.0.5 v2.0.5
Mike Pall [Mon, 1 May 2017 18:10:28 +0000 (20:10 +0200)] 
RELEASE LuaJIT-2.0.5

8 years agoUpdate changelog.
Mike Pall [Mon, 1 May 2017 18:01:20 +0000 (20:01 +0200)] 
Update changelog.

8 years agoFFI: Update docs on compiler limitations.
Mike Pall [Sun, 30 Apr 2017 22:00:33 +0000 (00:00 +0200)] 
FFI: Update docs on compiler limitations.

8 years agoAdd FOLD rules for mixed BAND/BOR with constants.
Mike Pall [Sun, 30 Apr 2017 21:59:16 +0000 (23:59 +0200)] 
Add FOLD rules for mixed BAND/BOR with constants.

8 years agoFFI: Compile bitfield loads/stores.
Mike Pall [Sun, 30 Apr 2017 21:58:33 +0000 (23:58 +0200)] 
FFI: Compile bitfield loads/stores.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 17 Apr 2017 10:29:52 +0000 (12:29 +0200)] 
Merge branch 'master' into v2.1

8 years agoAdd workaround for MSVC 2015 stdio changes.
Mike Pall [Mon, 17 Apr 2017 10:29:35 +0000 (12:29 +0200)] 
Add workaround for MSVC 2015 stdio changes.

Contributed by Peter Cawley.

8 years agoMIPS64: Fix stores of MULTRES.
Mike Pall [Mon, 17 Apr 2017 10:04:08 +0000 (12:04 +0200)] 
MIPS64: Fix stores of MULTRES.

Contributed by Stefan Pejic.

8 years agoMIPS64: Fix write barrier in BC_USETV.
Mike Pall [Mon, 17 Apr 2017 10:02:33 +0000 (12:02 +0200)] 
MIPS64: Fix write barrier in BC_USETV.

Contributed by Stefan Pejic.

8 years agoARM64: Fix stores to vmstate.
Mike Pall [Mon, 17 Apr 2017 10:00:04 +0000 (12:00 +0200)] 
ARM64: Fix stores to vmstate.

Contributed by Stefan Pejic.

8 years agoDocument added C API extensions from Lua 5.2/5.3.
Mike Pall [Fri, 7 Apr 2017 10:57:25 +0000 (12:57 +0200)] 
Document added C API extensions from Lua 5.2/5.3.

8 years agoFrom Lua 5.2: Add lua_tonumberx() and lua_tointegerx().
Mike Pall [Fri, 7 Apr 2017 10:48:37 +0000 (12:48 +0200)] 
From Lua 5.2: Add lua_tonumberx() and lua_tointegerx().

Contributed by François Perrad.

8 years agoFrom Lua 5.2: Add luaL_setmetatable().
Mike Pall [Fri, 7 Apr 2017 10:38:05 +0000 (12:38 +0200)] 
From Lua 5.2: Add luaL_setmetatable().

Contributed by François Perrad.

8 years agoFrom Lua 5.2: Add luaL_testudata().
Mike Pall [Fri, 7 Apr 2017 10:31:06 +0000 (12:31 +0200)] 
From Lua 5.2: Add luaL_testudata().

Contributed by François Perrad.

8 years agoFrom Lua 5.3: Add lua_isyieldable().
Mike Pall [Fri, 7 Apr 2017 10:27:09 +0000 (12:27 +0200)] 
From Lua 5.3: Add lua_isyieldable().

Contributed by François Perrad.

8 years agoFrom Lua 5.2: Add lua_copy().
Mike Pall [Fri, 7 Apr 2017 10:24:26 +0000 (12:24 +0200)] 
From Lua 5.2: Add lua_copy().

Contributed by François Perrad.

8 years agoFrom Lua 5.2: Add lua_version().
Mike Pall [Fri, 7 Apr 2017 10:21:41 +0000 (12:21 +0200)] 
From Lua 5.2: Add lua_version().

Contributed by François Perrad.

8 years agoRefactor with LUA_OK.
Mike Pall [Fri, 7 Apr 2017 10:12:03 +0000 (12:12 +0200)] 
Refactor with LUA_OK.

Contributed by François Perrad.

8 years agoAllow building on Haiku OS.
Mike Pall [Fri, 7 Apr 2017 10:05:18 +0000 (12:05 +0200)] 
Allow building on Haiku OS.

Note: this is not an officially supported target.
Thanks to kallisti5.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Fri, 7 Apr 2017 10:01:07 +0000 (12:01 +0200)] 
Merge branch 'master' into v2.1

8 years agoOSX: Fix build with recent XCode.
Mike Pall [Fri, 7 Apr 2017 09:59:08 +0000 (11:59 +0200)] 
OSX: Fix build with recent XCode.

Contributed by Joseph Zupko.

8 years agoAdd some more changes and extensions from Lua 5.2.
Mike Pall [Thu, 30 Mar 2017 10:43:21 +0000 (12:43 +0200)] 
Add some more changes and extensions from Lua 5.2.

Contributed by François Perrad.

8 years agoRemove old Lua 5.0 compatibility defines.
Mike Pall [Thu, 30 Mar 2017 09:40:49 +0000 (11:40 +0200)] 
Remove old Lua 5.0 compatibility defines.

Suggested by François Perrad.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 30 Mar 2017 09:38:16 +0000 (11:38 +0200)] 
Merge branch 'master' into v2.1

8 years agoFFI: Fix FOLD rules for int64_t comparisons.
Mike Pall [Thu, 30 Mar 2017 09:35:29 +0000 (11:35 +0200)] 
FFI: Fix FOLD rules for int64_t comparisons.

Thanks to Peter Cawley.

8 years agoARM64: Add big-endian support.
Mike Pall [Thu, 30 Mar 2017 09:17:15 +0000 (11:17 +0200)] 
ARM64: Add big-endian support.

Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.

8 years agox64/LJ_GC64: Fix emit_loadk64().
Mike Pall [Tue, 21 Mar 2017 09:10:20 +0000 (10:10 +0100)] 
x64/LJ_GC64: Fix emit_loadk64().

Contributed by Peter Cawley.

8 years agoLJ_GC64: Fix BC_CALLM snapshot handling.
Mike Pall [Mon, 20 Mar 2017 23:59:38 +0000 (00:59 +0100)] 
LJ_GC64: Fix BC_CALLM snapshot handling.

8 years agox64/LJ_GC64: Fix assembly of CNEWI with 64 bit constant pointer.
Mike Pall [Mon, 20 Mar 2017 23:58:02 +0000 (00:58 +0100)] 
x64/LJ_GC64: Fix assembly of CNEWI with 64 bit constant pointer.

Tracked down by Luke Gorrie.

8 years agoARM64: Fix Nintendo Switch build.
Mike Pall [Mon, 20 Mar 2017 22:53:16 +0000 (23:53 +0100)] 
ARM64: Fix Nintendo Switch build.

Thanks to Eddie Edwards.

8 years agoARM64: Fix XLOAD/XSTORE with FP operand.
Mike Pall [Mon, 20 Mar 2017 22:49:57 +0000 (23:49 +0100)] 
ARM64: Fix XLOAD/XSTORE with FP operand.

Thanks to Stefan Pejic.

8 years agoRemove Lua 5.0 compatibility defines.
Mike Pall [Fri, 17 Mar 2017 11:07:21 +0000 (12:07 +0100)] 
Remove Lua 5.0 compatibility defines.

Suggested by François Perrad.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 8 Mar 2017 22:04:46 +0000 (23:04 +0100)] 
Merge branch 'master' into v2.1

8 years agoRemove unnecessary mcode alloc pointer check.
Mike Pall [Wed, 8 Mar 2017 22:02:24 +0000 (23:02 +0100)] 
Remove unnecessary mcode alloc pointer check.

Also fixes Illumos address space issue reported by Theo Schlossnagle.

8 years agoLimit mcode alloc probing, depending on the available pool size.
Mike Pall [Wed, 8 Mar 2017 22:01:47 +0000 (23:01 +0100)] 
Limit mcode alloc probing, depending on the available pool size.

Contributed by Alexey Kopytov.

8 years agoFix overly restrictive range calculation in mcode allocation.
Mike Pall [Wed, 8 Mar 2017 21:59:44 +0000 (22:59 +0100)] 
Fix overly restrictive range calculation in mcode allocation.

Contributed by Alexey Kopytov.

8 years agoFix out-of-scope goto handling in parser.
Mike Pall [Wed, 8 Mar 2017 21:16:43 +0000 (22:16 +0100)] 
Fix out-of-scope goto handling in parser.

Many thanks to Demetrios Obenour for tracking down this long-standing bug.

8 years agoRemove internal __mode = "K" and replace with safe check.
Mike Pall [Wed, 8 Mar 2017 21:03:17 +0000 (22:03 +0100)] 
Remove internal __mode = "K" and replace with safe check.

8 years agoFix annoying warning, due to deterministic binutils configuration.
Mike Pall [Wed, 8 Mar 2017 21:02:07 +0000 (22:02 +0100)] 
Fix annoying warning, due to deterministic binutils configuration.

8 years agoDynASM: Fix warning.
Mike Pall [Wed, 8 Mar 2017 20:59:14 +0000 (21:59 +0100)] 
DynASM: Fix warning.

8 years agoMIPS64, part 2: Add MIPS64 hard-float JIT compiler backend.
Mike Pall [Mon, 20 Feb 2017 02:43:10 +0000 (03:43 +0100)] 
MIPS64, part 2: Add MIPS64 hard-float JIT compiler backend.

Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.

8 years agoFix FOLD rules for math.abs() and FP negation.
Mike Pall [Mon, 20 Feb 2017 01:51:31 +0000 (02:51 +0100)] 
Fix FOLD rules for math.abs() and FP negation.

Broken since SIMD constants were switched to IR_FLOAD REF_NIL.

8 years agoFix soft-float math.abs() and negation.
Mike Pall [Mon, 20 Feb 2017 01:51:05 +0000 (02:51 +0100)] 
Fix soft-float math.abs() and negation.

Broken since SIMD constants were switched to IR_FLOAD REF_NIL.

8 years agox64/LJ_GC64: Fix warning for DUALNUM build.
Mike Pall [Mon, 20 Feb 2017 01:44:29 +0000 (02:44 +0100)] 
x64/LJ_GC64: Fix warning for DUALNUM build.

8 years agox64/LJ_GC64: Fix (currently unused) integer stores in asm_tvptr().
Mike Pall [Mon, 20 Feb 2017 01:42:54 +0000 (02:42 +0100)] 
x64/LJ_GC64: Fix (currently unused) integer stores in asm_tvptr().

8 years agoARM64: Cleanup and de-cargo-cult TValue store generation.
Mike Pall [Mon, 20 Feb 2017 01:41:35 +0000 (02:41 +0100)] 
ARM64: Cleanup and de-cargo-cult TValue store generation.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 20 Feb 2017 01:39:57 +0000 (02:39 +0100)] 
Merge branch 'master' into v2.1

8 years agoMIPS: Don't use RID_GP as a scratch register.
Mike Pall [Mon, 20 Feb 2017 01:35:24 +0000 (02:35 +0100)] 
MIPS: Don't use RID_GP as a scratch register.

8 years agoMIPS: Fix emitted code for U32 to float conversion.
Mike Pall [Mon, 20 Feb 2017 01:35:00 +0000 (02:35 +0100)] 
MIPS: Fix emitted code for U32 to float conversion.

8 years agoMIPS: Backport workaround for compact unwind tables.
Mike Pall [Mon, 20 Feb 2017 01:29:42 +0000 (02:29 +0100)] 
MIPS: Backport workaround for compact unwind tables.

8 years agoMake checkptrGC() actually work.
Mike Pall [Sat, 18 Feb 2017 21:47:19 +0000 (22:47 +0100)] 
Make checkptrGC() actually work.

Neither LJ_64 nor LJ_GC64 are defined when lj_def.h is included.
So we'll need to use lazy C macro evaluation.

8 years agoARM64: Fix AREF/HREF/UREF fusion.
Mike Pall [Thu, 16 Feb 2017 19:41:46 +0000 (20:41 +0100)] 
ARM64: Fix AREF/HREF/UREF fusion.

Thanks to Zhongwei Yao.

8 years agoFix extension docs about package.searchers.
Mike Pall [Wed, 18 Jan 2017 00:45:47 +0000 (01:45 +0100)] 
Fix extension docs about package.searchers.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 17 Jan 2017 11:41:05 +0000 (12:41 +0100)] 
Merge branch 'master' into v2.1

8 years agoBump copyright date to 2017.
Mike Pall [Tue, 17 Jan 2017 11:35:03 +0000 (12:35 +0100)] 
Bump copyright date to 2017.

8 years agoLJ_GC64: Add build options and install instructions.
Mike Pall [Tue, 17 Jan 2017 11:21:12 +0000 (12:21 +0100)] 
LJ_GC64: Add build options and install instructions.

8 years agoAdd some more extensions from Lua 5.2/5.3.
Mike Pall [Tue, 17 Jan 2017 10:37:28 +0000 (11:37 +0100)] 
Add some more extensions from Lua 5.2/5.3.

Contributed by François Perrad.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 17 Jan 2017 09:55:41 +0000 (10:55 +0100)] 
Merge branch 'master' into v2.1

8 years agoFix HTML formatting.
Mike Pall [Tue, 17 Jan 2017 09:55:31 +0000 (10:55 +0100)] 
Fix HTML formatting.

8 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 17 Jan 2017 09:47:42 +0000 (10:47 +0100)] 
Merge branch 'master' into v2.1

8 years agoFix cross-endian jit.bcsave for MIPS target.
Mike Pall [Tue, 17 Jan 2017 09:46:45 +0000 (10:46 +0100)] 
Fix cross-endian jit.bcsave for MIPS target.

9 years agoARM64: Remove unused variables in disassembler.
Mike Pall [Fri, 30 Dec 2016 16:54:10 +0000 (17:54 +0100)] 
ARM64: Remove unused variables in disassembler.

Thanks to François Perrad.

9 years agoARM64: Fuse BOR/BXOR and BNOT into ORN/EON.
Mike Pall [Thu, 15 Dec 2016 21:47:40 +0000 (22:47 +0100)] 
ARM64: Fuse BOR/BXOR and BNOT into ORN/EON.

Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.

9 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 15 Dec 2016 21:46:26 +0000 (22:46 +0100)] 
Merge branch 'master' into v2.1

9 years agoAdd "proto" field to jit.util.funcinfo().
Mike Pall [Thu, 15 Dec 2016 21:45:28 +0000 (22:45 +0100)] 
Add "proto" field to jit.util.funcinfo().

Backport.

9 years agoAdd "proto" field to jit.util.funcinfo().
Mike Pall [Tue, 13 Dec 2016 20:30:13 +0000 (21:30 +0100)] 
Add "proto" field to jit.util.funcinfo().

9 years agoARM64: Use the correct FUSE check.
Mike Pall [Fri, 9 Dec 2016 17:24:48 +0000 (18:24 +0100)] 
ARM64: Use the correct FUSE check.

Oops, my bad.

9 years agoARM64: Fuse BOR(BSHL, BSHR) into EXTR/ROR.
Mike Pall [Fri, 9 Dec 2016 17:16:12 +0000 (18:16 +0100)] 
ARM64: Fuse BOR(BSHL, BSHR) into EXTR/ROR.

Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.

9 years agoAdd missing FOLD rule for 64 bit shift+BAND simplification.
Mike Pall [Thu, 8 Dec 2016 21:38:35 +0000 (22:38 +0100)] 
Add missing FOLD rule for 64 bit shift+BAND simplification.

9 years agoARM64: Fix code generation for S19 offsets.
Mike Pall [Thu, 8 Dec 2016 04:53:36 +0000 (05:53 +0100)] 
ARM64: Fix code generation for S19 offsets.

Contributed by Zhongwei Yao.

9 years agoARM64: Fuse various BAND/BSHL/BSHR/BSAR combinations.
Mike Pall [Thu, 8 Dec 2016 03:09:29 +0000 (04:09 +0100)] 
ARM64: Fuse various BAND/BSHL/BSHR/BSAR combinations.

Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.

9 years agoARM64: Fuse FP multiply-add/sub.
Mike Pall [Thu, 8 Dec 2016 00:38:09 +0000 (01:38 +0100)] 
ARM64: Fuse FP multiply-add/sub.

Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.

9 years agoARM64: Fuse XLOAD/XSTORE with STRREF/ADD/BSHL/CONV.
Mike Pall [Wed, 7 Dec 2016 17:40:31 +0000 (18:40 +0100)] 
ARM64: Fuse XLOAD/XSTORE with STRREF/ADD/BSHL/CONV.