]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
6 years agoFix TNEW load forwarding with instable types.
Mike Pall [Thu, 9 May 2019 09:33:03 +0000 (11:33 +0200)] 
Fix TNEW load forwarding with instable types.

6 years agoARM: Fix GCC 7 -Wimplicit-fallthrough warnings.
Mike Pall [Mon, 29 Apr 2019 16:02:50 +0000 (18:02 +0200)] 
ARM: Fix GCC 7 -Wimplicit-fallthrough warnings.

6 years agoARM: Fix condition code check fusion.
Mike Pall [Mon, 29 Apr 2019 15:38:05 +0000 (17:38 +0200)] 
ARM: Fix condition code check fusion.

Reported by Qingjun Wei.

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 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 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 agoBetter detection of MinGW build.
Mike Pall [Thu, 10 Jan 2019 11:02:15 +0000 (12:02 +0100)] 
Better detection of MinGW build.

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

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 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 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 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 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 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 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.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 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 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 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 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 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 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 agoFix HTML formatting.
Mike Pall [Tue, 17 Jan 2017 09:55:31 +0000 (10:55 +0100)] 
Fix HTML formatting.

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.

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

8 years agoUpdate contact info.
Mike Pall [Mon, 21 Nov 2016 15:02:10 +0000 (16:02 +0100)] 
Update contact info.

9 years agoFix GC step size calculation.
Mike Pall [Thu, 13 Oct 2016 16:36:39 +0000 (18:36 +0200)] 
Fix GC step size calculation.

Thanks to Igor Ehrlich.

9 years agoARM: Fix BLX encoding for Thumb interworking calls.
Mike Pall [Sun, 2 Oct 2016 12:24:04 +0000 (14:24 +0200)] 
ARM: Fix BLX encoding for Thumb interworking calls.

Thanks to Charles Baylis.

9 years agoLooks like COLORTERM has gone out of fashion.
Mike Pall [Mon, 19 Sep 2016 19:22:19 +0000 (21:22 +0200)] 
Looks like COLORTERM has gone out of fashion.

9 years agoInitialize uv->immutable for upvalues of loaded chunks.
Mike Pall [Mon, 19 Sep 2016 19:17:58 +0000 (21:17 +0200)] 
Initialize uv->immutable for upvalues of loaded chunks.

Thanks to Peter Cawley.

9 years agoRevert "OSX: Switch to Clang as the default compiler."
Mike Pall [Sun, 31 Jul 2016 11:26:58 +0000 (13:26 +0200)] 
Revert "OSX: Switch to Clang as the default compiler."

It breaks cross-compilation to Android.
And host "gcc" aliases to "clang", anyway.

9 years agoAdjust comment with defines.
Mike Pall [Sun, 17 Jul 2016 14:05:25 +0000 (16:05 +0200)] 
Adjust comment with defines.

9 years agoFix for cdata vs. non-cdata arithmetics/comparisons.
Mike Pall [Sun, 17 Jul 2016 14:01:10 +0000 (16:01 +0200)] 
Fix for cdata vs. non-cdata arithmetics/comparisons.

Thanks to Vyacheslav Egorov.

9 years agoFix unused vars etc. in internal Lua files.
Mike Pall [Sun, 17 Jul 2016 12:29:03 +0000 (14:29 +0200)] 
Fix unused vars etc. in internal Lua files.

Thanks to François Perrad.

9 years agoDrop leftover regs in 'for' iterator assignment, too.
Mike Pall [Mon, 27 Jun 2016 12:09:36 +0000 (14:09 +0200)] 
Drop leftover regs in 'for' iterator assignment, too.

9 years agoFix PHI remarking in SINK pass.
Mike Pall [Sun, 5 Jun 2016 10:53:37 +0000 (12:53 +0200)] 
Fix PHI remarking in SINK pass.

Thanks to Vyacheslav Egorov.

9 years agoFix Valgrind suppressions.
Mike Pall [Fri, 3 Jun 2016 04:39:52 +0000 (06:39 +0200)] 
Fix Valgrind suppressions.

9 years agoDon't try to record outermost pcall() return to lower frame.
Mike Pall [Fri, 3 Jun 2016 02:26:08 +0000 (04:26 +0200)] 
Don't try to record outermost pcall() return to lower frame.

9 years agox86: Don't spill an explicit REF_BASE in the IR.
Mike Pall [Mon, 23 May 2016 04:24:19 +0000 (06:24 +0200)] 
x86: Don't spill an explicit REF_BASE in the IR.

Thanks to Vyacheslav Egorov.

9 years agoAdd guard for obscure aliasing between open upvalues and SSA slots.
Mike Pall [Fri, 20 May 2016 18:24:06 +0000 (20:24 +0200)] 
Add guard for obscure aliasing between open upvalues and SSA slots.

Thanks to Peter Cawley.

9 years agoRemove assumption that lj_math_random_step() doesn't clobber FPRs.
Mike Pall [Fri, 20 May 2016 17:43:34 +0000 (19:43 +0200)] 
Remove assumption that lj_math_random_step() doesn't clobber FPRs.

9 years agox86/x64: Fix instruction length decoder.
Mike Pall [Fri, 6 May 2016 10:08:00 +0000 (12:08 +0200)] 
x86/x64: Fix instruction length decoder.

Thanks to Peter Cawley.

9 years agoFix GCC 6 -Wmisleading-indentation warnings.
Mike Pall [Sun, 24 Apr 2016 15:10:24 +0000 (17:10 +0200)] 
Fix GCC 6 -Wmisleading-indentation warnings.

Thanks to Roman Tsisyk.

9 years agoFix handling of non-numeric strings in arithmetic coercions.
Mike Pall [Thu, 21 Apr 2016 15:00:58 +0000 (17:00 +0200)] 
Fix handling of non-numeric strings in arithmetic coercions.

Thanks to Vyacheslav Egorov.

9 years agoWhitespace.
Mike Pall [Mon, 18 Apr 2016 11:40:49 +0000 (13:40 +0200)] 
Whitespace.

9 years agox86/x64: Search for exit jumps with instruction length decoder.
Mike Pall [Mon, 18 Apr 2016 09:16:13 +0000 (11:16 +0200)] 
x86/x64: Search for exit jumps with instruction length decoder.

Contributed by Peter Cawley.

9 years agoMIPS: Fix BC_ISNEXT fallback path.
Mike Pall [Wed, 13 Apr 2016 22:14:42 +0000 (00:14 +0200)] 
MIPS: Fix BC_ISNEXT fallback path.

Thanks to RT-RK.com.

9 years agoFix recording of select(n, ...) with off-trace varargs
Mike Pall [Sun, 3 Apr 2016 17:12:28 +0000 (19:12 +0200)] 
Fix recording of select(n, ...) with off-trace varargs

Thanks to Peter Cawley.

9 years agoCygwin: Allow cross-builds to non-Cygwin targets.
Mike Pall [Sun, 3 Apr 2016 17:07:19 +0000 (19:07 +0200)] 
Cygwin: Allow cross-builds to non-Cygwin targets.

9 years agoMIPS: Fix use of ffgccheck delay slots in interpreter.
Mike Pall [Wed, 30 Mar 2016 14:26:27 +0000 (16:26 +0200)] 
MIPS: Fix use of ffgccheck delay slots in interpreter.

9 years agoWindows: Remove intermediate files at end of build.
Mike Pall [Mon, 28 Mar 2016 20:23:37 +0000 (22:23 +0200)] 
Windows: Remove intermediate files at end of build.

9 years agoFix display of NULL (light)userdata in -jdump.
Mike Pall [Mon, 28 Mar 2016 20:15:13 +0000 (22:15 +0200)] 
Fix display of NULL (light)userdata in -jdump.

Thanks to Peter Cawley.

9 years agoFix install for cross-builds.
Mike Pall [Tue, 22 Mar 2016 21:16:12 +0000 (22:16 +0100)] 
Fix install for cross-builds.

9 years agoFix compiler warnings.
Mike Pall [Tue, 22 Mar 2016 19:40:41 +0000 (20:40 +0100)] 
Fix compiler warnings.

Thanks to Demetri Obenour.

9 years agoBump copyright date to 2016.
Mike Pall [Thu, 3 Mar 2016 11:02:22 +0000 (12:02 +0100)] 
Bump copyright date to 2016.

9 years agoDon't allocate unused 2nd result register in JIT compiler backend.
Mike Pall [Wed, 10 Feb 2016 17:51:02 +0000 (18:51 +0100)] 
Don't allocate unused 2nd result register in JIT compiler backend.

9 years agoFFI: Fix SPLIT pass for CONV i64.u64.
Mike Pall [Thu, 26 Nov 2015 21:25:13 +0000 (22:25 +0100)] 
FFI: Fix SPLIT pass for CONV i64.u64.

Thanks to Vyacheslav Egorov.

9 years agoDynASM/x86: Add rdpmc instruction.
Mike Pall [Wed, 4 Nov 2015 13:04:19 +0000 (14:04 +0100)] 
DynASM/x86: Add rdpmc instruction.

Thanks to Cosmin Apreutesei.

9 years agoExtend Valgrind suppressions for non-inlined C code.
Mike Pall [Wed, 4 Nov 2015 13:01:37 +0000 (14:01 +0100)] 
Extend Valgrind suppressions for non-inlined C code.

Thanks to Dennis Schridde.

10 years agoUpdate build instructions.
Mike Pall [Sat, 24 Oct 2015 17:20:33 +0000 (19:20 +0200)] 
Update build instructions.

10 years agoOSX: Switch to Clang as the default compiler.
Mike Pall [Sat, 24 Oct 2015 17:10:40 +0000 (19:10 +0200)] 
OSX: Switch to Clang as the default compiler.

10 years agoiOS: Disable os.execute() when building for iOS >= 8.0.
Mike Pall [Sat, 24 Oct 2015 17:02:15 +0000 (19:02 +0200)] 
iOS: Disable os.execute() when building for iOS >= 8.0.

Thanks to Vyacheslav Egorov.

10 years agoDynASM/x86: Restrict shld/shrd to operands with same width.
Mike Pall [Sat, 24 Oct 2015 16:15:44 +0000 (18:15 +0200)] 
DynASM/x86: Restrict shld/shrd to operands with same width.

Thanks to Peter Cawley.

10 years agoDynASM/x86: Fix some SSE instruction templates.
Mike Pall [Sat, 24 Oct 2015 16:12:40 +0000 (18:12 +0200)] 
DynASM/x86: Fix some SSE instruction templates.

Thanks to Peter Cawley.

10 years agoFFI: Fix ipairs() recording.
Mike Pall [Sat, 24 Oct 2015 15:59:44 +0000 (17:59 +0200)] 
FFI: Fix ipairs() recording.

Thanks to Vyacheslav Egorov.

10 years agoDrop marks from replayed instructions when sinking.
Mike Pall [Thu, 15 Oct 2015 00:28:04 +0000 (02:28 +0200)] 
Drop marks from replayed instructions when sinking.

Reported by Vyacheslav Egorov.

10 years agoFlush symbol tables in jit.dump on trace flush.
Mike Pall [Thu, 1 Oct 2015 14:32:30 +0000 (16:32 +0200)] 
Flush symbol tables in jit.dump on trace flush.

10 years agoFix unsinking check.
Mike Pall [Thu, 1 Oct 2015 14:12:48 +0000 (16:12 +0200)] 
Fix unsinking check.

Reported by Elias Hogstvedt. Debugged and fixed by Vyacheslav Egorov.

10 years agoFix Cygwin support. Note: this is not a supported target.
Mike Pall [Sun, 20 Sep 2015 17:17:02 +0000 (19:17 +0200)] 
Fix Cygwin support. Note: this is not a supported target.

Contributed by Yaakov Selkowitz.

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 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 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 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 narrowing of TOBIT.
Mike Pall [Wed, 10 Jun 2015 14:14:41 +0000 (16:14 +0200)] 
Fix narrowing of TOBIT.

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