]>
git.ipfire.org Git - thirdparty/LuaJIT.git/log
Mike Pall [Thu, 9 May 2019 09:33:03 +0000 (11:33 +0200)]
Fix TNEW load forwarding with instable types.
Mike Pall [Mon, 29 Apr 2019 16:02:50 +0000 (18:02 +0200)]
ARM: Fix GCC 7 -Wimplicit-fallthrough warnings.
Mike Pall [Mon, 29 Apr 2019 15:38:05 +0000 (17:38 +0200)]
ARM: Fix condition code check fusion.
Reported by Qingjun Wei.
Mike Pall [Thu, 10 Jan 2019 11:37:09 +0000 (12:37 +0100)]
Fix MinGW build.
Thanks to Victor Bombi.
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.
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.
Mike Pall [Thu, 10 Jan 2019 11:19:30 +0000 (12:19 +0100)]
Fix overflow of snapshot map offset.
Thanks to Yichun Zhang.
Mike Pall [Thu, 10 Jan 2019 11:02:15 +0000 (12:02 +0100)]
Better detection of MinGW build.
Mike Pall [Tue, 5 Jun 2018 09:36:18 +0000 (11:36 +0200)]
PPC/NetBSD: Fix endianess check.
Thanks to he32 and daurnimator.
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.
Mike Pall [Sun, 20 May 2018 10:25:36 +0000 (12:25 +0200)]
FFI: Make FP to U64 conversions match JIT backend behavior.
Mike Pall [Wed, 25 Apr 2018 10:07:08 +0000 (12:07 +0200)]
Bump copyright date to 2018.
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.
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.
Mike Pall [Mon, 29 Jan 2018 12:25:51 +0000 (13:25 +0100)]
Clear stack after print_jit_status() in CLI.
Suggested by Hydroque.
Mike Pall [Mon, 29 Jan 2018 12:06:13 +0000 (13:06 +0100)]
Fix GCC 7 -Wimplicit-fallthrough warnings.
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.
Mike Pall [Thu, 18 Jan 2018 11:29:39 +0000 (12:29 +0100)]
Fix LuaJIT API docs for LUAJIT_MODE_*.
Thanks to sunfishgao.
Mike Pall [Sun, 14 Jan 2018 13:11:59 +0000 (14:11 +0100)]
Fix string.format("%c", 0).
Mike Pall [Thu, 16 Nov 2017 11:58:12 +0000 (12:58 +0100)]
Fix saved bytecode encapsulated in ELF objects.
Thanks to Dimitry Andric.
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.
Mike Pall [Wed, 20 Sep 2017 17:39:50 +0000 (19:39 +0200)]
DynASM/x86: Fix potential REL_A overflow.
Thanks to Joshua Haberman.
Mike Pall [Fri, 18 Aug 2017 10:52:14 +0000 (12:52 +0200)]
Use https for freelists.org links.
Mike Pall [Mon, 12 Jun 2017 07:24:00 +0000 (09:24 +0200)]
Modify fix for warning from 'ar'.
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.
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.
Mike Pall [Wed, 17 May 2017 15:37:35 +0000 (17:37 +0200)]
Add missing LJ_MAX_JSLOTS check.
Thanks to Yichun Zhang.
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.
Mike Pall [Mon, 1 May 2017 18:10:28 +0000 (20:10 +0200)]
RELEASE LuaJIT-2.0.5
Mike Pall [Mon, 1 May 2017 18:01:20 +0000 (20:01 +0200)]
Update changelog.
Mike Pall [Mon, 17 Apr 2017 10:29:35 +0000 (12:29 +0200)]
Add workaround for MSVC 2015 stdio changes.
Contributed by Peter Cawley.
Mike Pall [Fri, 7 Apr 2017 09:59:08 +0000 (11:59 +0200)]
OSX: Fix build with recent XCode.
Contributed by Joseph Zupko.
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.
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.
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.
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.
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.
Mike Pall [Wed, 8 Mar 2017 21:03:17 +0000 (22:03 +0100)]
Remove internal __mode = "K" and replace with safe check.
Mike Pall [Wed, 8 Mar 2017 21:02:07 +0000 (22:02 +0100)]
Fix annoying warning, due to deterministic binutils configuration.
Mike Pall [Wed, 8 Mar 2017 20:59:14 +0000 (21:59 +0100)]
DynASM: Fix warning.
Mike Pall [Mon, 20 Feb 2017 01:35:24 +0000 (02:35 +0100)]
MIPS: Don't use RID_GP as a scratch register.
Mike Pall [Mon, 20 Feb 2017 01:35:00 +0000 (02:35 +0100)]
MIPS: Fix emitted code for U32 to float conversion.
Mike Pall [Mon, 20 Feb 2017 01:29:42 +0000 (02:29 +0100)]
MIPS: Backport workaround for compact unwind tables.
Mike Pall [Tue, 17 Jan 2017 11:35:03 +0000 (12:35 +0100)]
Bump copyright date to 2017.
Mike Pall [Tue, 17 Jan 2017 09:55:31 +0000 (10:55 +0100)]
Fix HTML formatting.
Mike Pall [Tue, 17 Jan 2017 09:46:45 +0000 (10:46 +0100)]
Fix cross-endian jit.bcsave for MIPS target.
Mike Pall [Thu, 15 Dec 2016 21:45:28 +0000 (22:45 +0100)]
Add "proto" field to jit.util.funcinfo().
Backport.
Mike Pall [Mon, 21 Nov 2016 15:02:10 +0000 (16:02 +0100)]
Update contact info.
Mike Pall [Thu, 13 Oct 2016 16:36:39 +0000 (18:36 +0200)]
Fix GC step size calculation.
Thanks to Igor Ehrlich.
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.
Mike Pall [Mon, 19 Sep 2016 19:22:19 +0000 (21:22 +0200)]
Looks like COLORTERM has gone out of fashion.
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.
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.
Mike Pall [Sun, 17 Jul 2016 14:05:25 +0000 (16:05 +0200)]
Adjust comment with defines.
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.
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.
Mike Pall [Mon, 27 Jun 2016 12:09:36 +0000 (14:09 +0200)]
Drop leftover regs in 'for' iterator assignment, too.
Mike Pall [Sun, 5 Jun 2016 10:53:37 +0000 (12:53 +0200)]
Fix PHI remarking in SINK pass.
Thanks to Vyacheslav Egorov.
Mike Pall [Fri, 3 Jun 2016 04:39:52 +0000 (06:39 +0200)]
Fix Valgrind suppressions.
Mike Pall [Fri, 3 Jun 2016 02:26:08 +0000 (04:26 +0200)]
Don't try to record outermost pcall() return to lower frame.
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.
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.
Mike Pall [Fri, 20 May 2016 17:43:34 +0000 (19:43 +0200)]
Remove assumption that lj_math_random_step() doesn't clobber FPRs.
Mike Pall [Fri, 6 May 2016 10:08:00 +0000 (12:08 +0200)]
x86/x64: Fix instruction length decoder.
Thanks to Peter Cawley.
Mike Pall [Sun, 24 Apr 2016 15:10:24 +0000 (17:10 +0200)]
Fix GCC 6 -Wmisleading-indentation warnings.
Thanks to Roman Tsisyk.
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.
Mike Pall [Mon, 18 Apr 2016 11:40:49 +0000 (13:40 +0200)]
Whitespace.
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.
Mike Pall [Wed, 13 Apr 2016 22:14:42 +0000 (00:14 +0200)]
MIPS: Fix BC_ISNEXT fallback path.
Thanks to RT-RK.com.
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.
Mike Pall [Sun, 3 Apr 2016 17:07:19 +0000 (19:07 +0200)]
Cygwin: Allow cross-builds to non-Cygwin targets.
Mike Pall [Wed, 30 Mar 2016 14:26:27 +0000 (16:26 +0200)]
MIPS: Fix use of ffgccheck delay slots in interpreter.
Mike Pall [Mon, 28 Mar 2016 20:23:37 +0000 (22:23 +0200)]
Windows: Remove intermediate files at end of build.
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.
Mike Pall [Tue, 22 Mar 2016 21:16:12 +0000 (22:16 +0100)]
Fix install for cross-builds.
Mike Pall [Tue, 22 Mar 2016 19:40:41 +0000 (20:40 +0100)]
Fix compiler warnings.
Thanks to Demetri Obenour.
Mike Pall [Thu, 3 Mar 2016 11:02:22 +0000 (12:02 +0100)]
Bump copyright date to 2016.
Mike Pall [Wed, 10 Feb 2016 17:51:02 +0000 (18:51 +0100)]
Don't allocate unused 2nd result register in JIT compiler backend.
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.
Mike Pall [Wed, 4 Nov 2015 13:04:19 +0000 (14:04 +0100)]
DynASM/x86: Add rdpmc instruction.
Thanks to Cosmin Apreutesei.
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.
Mike Pall [Sat, 24 Oct 2015 17:20:33 +0000 (19:20 +0200)]
Update build instructions.
Mike Pall [Sat, 24 Oct 2015 17:10:40 +0000 (19:10 +0200)]
OSX: Switch to Clang as the default compiler.
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.
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.
Mike Pall [Sat, 24 Oct 2015 16:12:40 +0000 (18:12 +0200)]
DynASM/x86: Fix some SSE instruction templates.
Thanks to Peter Cawley.
Mike Pall [Sat, 24 Oct 2015 15:59:44 +0000 (17:59 +0200)]
FFI: Fix ipairs() recording.
Thanks to Vyacheslav Egorov.
Mike Pall [Thu, 15 Oct 2015 00:28:04 +0000 (02:28 +0200)]
Drop marks from replayed instructions when sinking.
Reported by Vyacheslav Egorov.
Mike Pall [Thu, 1 Oct 2015 14:32:30 +0000 (16:32 +0200)]
Flush symbol tables in jit.dump on trace flush.
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.
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.
Mike Pall [Wed, 19 Aug 2015 23:10:30 +0000 (01:10 +0200)]
Properly handle OOM in trace_save().
Thanks to Vyacheslav Egorov.
Mike Pall [Wed, 19 Aug 2015 22:49:20 +0000 (00:49 +0200)]
Fix NYICF error message.
Thanks to Vyacheslav Egorov.
Mike Pall [Fri, 17 Jul 2015 21:14:21 +0000 (23:14 +0200)]
FFI: Don't propagate qualifiers into subtypes of complex.
Mike Pall [Fri, 10 Jul 2015 01:42:51 +0000 (03:42 +0200)]
Limit number of arguments given to io.lines() and fp:lines().
Mike Pall [Wed, 10 Jun 2015 14:14:41 +0000 (16:14 +0200)]
Fix narrowing of TOBIT.
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.
Mike Pall [Thu, 14 May 2015 18:29:31 +0000 (20:29 +0200)]
RELEASE LuaJIT-2.0.4
Mike Pall [Thu, 14 May 2015 18:15:09 +0000 (20:15 +0200)]
Update changelog.
Mike Pall [Mon, 4 May 2015 04:36:16 +0000 (06:36 +0200)]
x86/x64: Fix argument check for bit shifts.