]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
6 years agoImprove luaL_addlstring().
Mike Pall [Thu, 10 Jan 2019 12:09:17 +0000 (13:09 +0100)] 
Improve luaL_addlstring().

Thanks to Domingo Alvarez Duarte.

6 years agoFix os.date() for wider libc strftime() compatibility.
Mike Pall [Thu, 10 Jan 2019 11:47:28 +0000 (12:47 +0100)] 
Fix os.date() for wider libc strftime() compatibility.

Thanks to Jesper Lundgren.

6 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 10 Jan 2019 11:37:40 +0000 (12:37 +0100)] 
Merge branch 'master' into v2.1

6 years agoFix MinGW build.
Mike Pall [Thu, 10 Jan 2019 11:37:09 +0000 (12:37 +0100)] 
Fix MinGW build.

Thanks to Victor Bombi.

6 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 10 Jan 2019 11:34:20 +0000 (12:34 +0100)] 
Merge branch 'master' into v2.1

6 years agoDynASM/MIPS: Fix shadowed variable.
Mike Pall [Thu, 10 Jan 2019 11:32:08 +0000 (12:32 +0100)] 
DynASM/MIPS: Fix shadowed variable.

Cleanup only, bug cannot trigger.
Thanks to Domingo Alvarez Duarte.

6 years agoDynASM/PPC: Fix shadowed variable.
Mike Pall [Thu, 10 Jan 2019 11:28:24 +0000 (12:28 +0100)] 
DynASM/PPC: Fix shadowed variable.

Cleanup only, bug cannot trigger.
Thanks to Domingo Alvarez Duarte.

6 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 10 Jan 2019 11:24:17 +0000 (12:24 +0100)] 
Merge branch 'master' into v2.1

6 years agoFix overflow of snapshot map offset.
Mike Pall [Thu, 10 Jan 2019 11:19:30 +0000 (12:19 +0100)] 
Fix overflow of snapshot map offset.

Thanks to Yichun Zhang.

6 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 10 Jan 2019 11:02:31 +0000 (12:02 +0100)] 
Merge branch 'master' into v2.1

6 years agoBetter detection of MinGW build.
Mike Pall [Thu, 10 Jan 2019 11:02:15 +0000 (12:02 +0100)] 
Better detection of MinGW build.

6 years agoActually implement maxirconst trace limit.
Mike Pall [Sun, 14 Oct 2018 13:21:37 +0000 (15:21 +0200)] 
Actually implement maxirconst trace limit.

Suggested by spacewander.

6 years agoMIPS/MIPS64: Fix TSETR barrier (again).
Mike Pall [Sun, 14 Oct 2018 13:12:59 +0000 (15:12 +0200)] 
MIPS/MIPS64: Fix TSETR barrier (again).

6 years agoFix memory probing allocator to check for valid end address, too.
Mike Pall [Thu, 13 Sep 2018 15:58:50 +0000 (17:58 +0200)] 
Fix memory probing allocator to check for valid end address, too.

6 years agoDynASM/x86: Fix vroundps/vroundpd encoding.
Mike Pall [Wed, 22 Aug 2018 11:35:41 +0000 (13:35 +0200)] 
DynASM/x86: Fix vroundps/vroundpd encoding.

Thanks to Alexander Nasonov.

7 years agoDynASM: Fix warning.
Mike Pall [Sun, 24 Jun 2018 12:10:21 +0000 (14:10 +0200)] 
DynASM: Fix warning.

7 years agoARM64: Fix exit stub patching.
Mike Pall [Sun, 24 Jun 2018 12:08:59 +0000 (14:08 +0200)] 
ARM64: Fix exit stub patching.

Contributed by Javier Guerra Giraldez.

7 years agoARM64: Fix write barrier in BC_USETS.
Mike Pall [Sun, 24 Jun 2018 11:18:03 +0000 (13:18 +0200)] 
ARM64: Fix write barrier in BC_USETS.

Contributed by Javier Guerra Giraldez.

7 years agoWindows: Add UWP support, part 1.
Mike Pall [Tue, 5 Jun 2018 15:03:08 +0000 (17:03 +0200)] 
Windows: Add UWP support, part 1.

Contributed by Ben Pye.

7 years agoFrom Lua 5.3: assert() accepts any type of error object.
Mike Pall [Tue, 5 Jun 2018 10:23:56 +0000 (12:23 +0200)] 
From Lua 5.3: assert() accepts any type of error object.

7 years agox86: Disassemble FMA3 instructions.
Mike Pall [Tue, 5 Jun 2018 10:23:29 +0000 (12:23 +0200)] 
x86: Disassemble FMA3 instructions.

Thanks to Alexander Nasonov.

7 years agoDynASM/x86: Add FMA3 instructions.
Mike Pall [Tue, 5 Jun 2018 10:23:13 +0000 (12:23 +0200)] 
DynASM/x86: Add FMA3 instructions.

Thanks to Alexander Nasonov.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 5 Jun 2018 09:39:10 +0000 (11:39 +0200)] 
Merge branch 'master' into v2.1

7 years agoPPC/NetBSD: Fix endianess check.
Mike Pall [Tue, 5 Jun 2018 09:36:18 +0000 (11:36 +0200)] 
PPC/NetBSD: Fix endianess check.

Thanks to he32 and daurnimator.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 20 May 2018 10:45:01 +0000 (12:45 +0200)] 
Merge branch 'master' into v2.1

7 years agox86/x64: Check for jcc when using xor r,r in emit_loadi().
Mike Pall [Sun, 20 May 2018 10:40:33 +0000 (12:40 +0200)] 
x86/x64: Check for jcc when using xor r,r in emit_loadi().

Thanks to Peter Cawley.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 20 May 2018 10:28:10 +0000 (12:28 +0200)] 
Merge branch 'master' into v2.1

7 years agoFFI: Make FP to U64 conversions match JIT backend behavior.
Mike Pall [Sun, 20 May 2018 10:25:36 +0000 (12:25 +0200)] 
FFI: Make FP to U64 conversions match JIT backend behavior.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 25 Apr 2018 10:07:44 +0000 (12:07 +0200)] 
Merge branch 'master' into v2.1

7 years agoBump copyright date to 2018.
Mike Pall [Wed, 25 Apr 2018 10:07:08 +0000 (12:07 +0200)] 
Bump copyright date to 2018.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 22 Apr 2018 11:30:02 +0000 (13:30 +0200)] 
Merge branch 'master' into v2.1

7 years agoFFI: Add tonumber() specialization for failed conversions.
Mike Pall [Sun, 22 Apr 2018 11:27:25 +0000 (13:27 +0200)] 
FFI: Add tonumber() specialization for failed conversions.

Contributed by Javier Guerra Giraldez.

7 years agoGive expected results for negative non-base-10 numbers in tonumber().
Mike Pall [Sun, 22 Apr 2018 11:14:28 +0000 (13:14 +0200)] 
Give expected results for negative non-base-10 numbers in tonumber().

This was undefined in Lua 5.1, but it's defined in 5.2.

7 years agoDynASM/x86: Add BMI1 and BMI2 instructions.
Mike Pall [Tue, 27 Feb 2018 22:22:40 +0000 (23:22 +0100)] 
DynASM/x86: Add BMI1 and BMI2 instructions.

Thanks to Peter Cawley.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 27 Feb 2018 22:18:32 +0000 (23:18 +0100)] 
Merge branch 'master' into v2.1

7 years agoFix rechaining of pseudo-resurrected string keys.
Mike Pall [Tue, 27 Feb 2018 22:02:23 +0000 (23:02 +0100)] 
Fix rechaining of pseudo-resurrected string keys.

This is a serious bug. But extremely hard to reproduce, so it went
undetected for 8 years. One needs two resurrections with different
main nodes, which are both in a hash chain which gets relinked on
key insertion where the colliding node is in a non-main position. Phew.

Thanks to lbeiming.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 29 Jan 2018 12:28:53 +0000 (13:28 +0100)] 
Merge branch 'master' into v2.1

7 years agoClear stack after print_jit_status() in CLI.
Mike Pall [Mon, 29 Jan 2018 12:25:51 +0000 (13:25 +0100)] 
Clear stack after print_jit_status() in CLI.

Suggested by Hydroque.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 29 Jan 2018 12:19:30 +0000 (13:19 +0100)] 
Merge branch 'master' into v2.1

7 years agoFix GCC 7 -Wimplicit-fallthrough warnings.
Mike Pall [Mon, 29 Jan 2018 12:06:13 +0000 (13:06 +0100)] 
Fix GCC 7 -Wimplicit-fallthrough warnings.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 29 Jan 2018 11:53:42 +0000 (12:53 +0100)] 
Merge branch 'master' into v2.1

7 years agoFFI: Don't assert on #1LL (5.2 compatibility mode only).
Mike Pall [Mon, 29 Jan 2018 11:47:08 +0000 (12:47 +0100)] 
FFI: Don't assert on #1LL (5.2 compatibility mode only).

Reported by Denis Golovan.

7 years agoMIPS64: Fix soft-float +-0.0 vs. +-0.0 comparison.
Mike Pall [Mon, 29 Jan 2018 11:12:29 +0000 (12:12 +0100)] 
MIPS64: Fix soft-float +-0.0 vs. +-0.0 comparison.

Thanks to Stefan Pejic.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 18 Jan 2018 11:29:55 +0000 (12:29 +0100)] 
Merge branch 'master' into v2.1

7 years agoFix LuaJIT API docs for LUAJIT_MODE_*.
Mike Pall [Thu, 18 Jan 2018 11:29:39 +0000 (12:29 +0100)] 
Fix LuaJIT API docs for LUAJIT_MODE_*.

Thanks to sunfishgao.

7 years agoFix ARMv8 (32 bit subset) detection.
Mike Pall [Thu, 18 Jan 2018 11:24:36 +0000 (12:24 +0100)] 
Fix ARMv8 (32 bit subset) detection.

Thanks to Markus Oberhumber.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 14 Jan 2018 13:26:10 +0000 (14:26 +0100)] 
Merge branch 'master' into v2.1

7 years agoFix string.format("%c", 0).
Mike Pall [Sun, 14 Jan 2018 13:11:59 +0000 (14:11 +0100)] 
Fix string.format("%c", 0).

7 years agoFix IR_BUFPUT assembly.
Mike Pall [Sun, 14 Jan 2018 12:57:00 +0000 (13:57 +0100)] 
Fix IR_BUFPUT assembly.

Thanks to Peter Cawley.

7 years agoMIPS64: Fix xpcall() error case.
Mike Pall [Sat, 18 Nov 2017 11:25:35 +0000 (12:25 +0100)] 
MIPS64: Fix xpcall() error case.

Thanks to François Perrad and Stefan Pejic.

7 years agoARM64: Fix xpcall() error case (really).
Mike Pall [Sat, 18 Nov 2017 11:23:57 +0000 (12:23 +0100)] 
ARM64: Fix xpcall() error case (really).

Thanks to François Perrad and Stefan Pejic.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 16 Nov 2017 12:00:09 +0000 (13:00 +0100)] 
Merge branch 'master' into v2.1

7 years agoFix saved bytecode encapsulated in ELF objects.
Mike Pall [Thu, 16 Nov 2017 11:58:12 +0000 (12:58 +0100)] 
Fix saved bytecode encapsulated in ELF objects.

Thanks to Dimitry Andric.

7 years agoARM64: Fix xpcall() error case.
Mike Pall [Thu, 16 Nov 2017 11:53:34 +0000 (12:53 +0100)] 
ARM64: Fix xpcall() error case.

Thanks to Stefan Pejic.

7 years agoMIPS64: Fix register allocation in assembly of HREF.
Mike Pall [Wed, 8 Nov 2017 11:54:03 +0000 (12:54 +0100)] 
MIPS64: Fix register allocation in assembly of HREF.

Contributed by James Cowgill.

7 years agoARM64: Fix assembly of HREFK.
Mike Pall [Wed, 8 Nov 2017 11:53:48 +0000 (12:53 +0100)] 
ARM64: Fix assembly of HREFK.

Reported by Jason Teplitz.

7 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 8 Nov 2017 11:53:24 +0000 (12:53 +0100)] 
Merge branch 'master' into v2.1

7 years agoFix FOLD rule for strength reduction of widening.
Mike Pall [Wed, 8 Nov 2017 11:53:05 +0000 (12:53 +0100)] 
Fix FOLD rule for strength reduction of widening.

Reported by Matthew Burk.

7 years agoLJ_GC64: Make ASMREF_L references 64 bit.
Mike Pall [Mon, 2 Oct 2017 21:10:56 +0000 (23:10 +0200)] 
LJ_GC64: Make ASMREF_L references 64 bit.

Reported by Yichun Zhang.

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

7 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

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

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

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

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

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