]>
git.ipfire.org Git - thirdparty/LuaJIT.git/log
Mike Pall [Thu, 2 Jun 2022 11:48:04 +0000 (13:48 +0200)]
DynASM/ARM64: Fix LSL/BFI* encoding with variable registers.
Thanks to Dmitry Stogov.
Mike Pall [Thu, 2 Jun 2022 11:18:10 +0000 (13:18 +0200)]
Fix ITERN loop detection when hook checks are enabled.
Reported by Myria.
Mike Pall [Sat, 21 May 2022 10:02:32 +0000 (12:02 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Sat, 21 May 2022 10:00:10 +0000 (12:00 +0200)]
Prevent C compiler undefined-behavior optimization.
Mike Pall [Fri, 20 May 2022 10:16:25 +0000 (12:16 +0200)]
Fix alias analysis for table length forwarding.
Contributed by Maxim Sokolov.
Mike Pall [Fri, 20 May 2022 09:54:20 +0000 (11:54 +0200)]
Fix loop initialization in table.foreach().
Reported by Daniel Steinberg.
Mike Pall [Tue, 3 May 2022 18:51:29 +0000 (20:51 +0200)]
LJ_GC64: Fix HREFK optimization.
Contributed by XmiliaH.
Mike Pall [Mon, 2 May 2022 20:33:35 +0000 (22:33 +0200)]
Fix recording of __concat metamethod.
Reported by Elias Oelschner. Analyzed by XmiliaH.
Mike Pall [Mon, 18 Apr 2022 00:02:56 +0000 (02:02 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Sun, 17 Apr 2022 23:54:00 +0000 (01:54 +0200)]
Cleanup of system and architecture support docs.
Mike Pall [Sun, 17 Apr 2022 21:41:39 +0000 (23:41 +0200)]
Add PS5 port.
Mike Pall [Sun, 17 Apr 2022 08:57:43 +0000 (10:57 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Sun, 17 Apr 2022 08:56:11 +0000 (10:56 +0200)]
Fix assertions.
Reported by ssdr.
Mike Pall [Tue, 5 Apr 2022 07:55:15 +0000 (09:55 +0200)]
x64: Fix RETHI/RETLO swap after call.
Reported by savilli.
Mike Pall [Sun, 3 Apr 2022 08:35:42 +0000 (10:35 +0200)]
Fix assertion for LJ_KEYINDEX.
Thanks to XmiliaH.
Mike Pall [Sat, 2 Apr 2022 19:24:18 +0000 (21:24 +0200)]
Add missing check for LJ_KEYINDEX in ITERN recording.
Reported by dragonorloong. Analyzed by vfprintf. #827
Mike Pall [Fri, 25 Mar 2022 14:31:17 +0000 (15:31 +0100)]
DynASM/ARM64: Fix NOP instruction for aligment
Reported by Marius Wachtler.
Mike Pall [Sun, 20 Mar 2022 10:29:17 +0000 (11:29 +0100)]
Fix soft-float IR_POW splitting.
Reported by lison0322.
Mike Pall [Sun, 13 Mar 2022 17:34:59 +0000 (18:34 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Sun, 13 Mar 2022 17:32:32 +0000 (18:32 +0100)]
Fix BC_UCLO insertion for returns.
Contributed by XmiliaH.
Mike Pall [Tue, 8 Mar 2022 19:05:33 +0000 (20:05 +0100)]
Fix compiler warning.
Mike Pall [Tue, 8 Mar 2022 18:44:10 +0000 (19:44 +0100)]
Revert to trival pow() optimizations to prevent inaccuracies.
Mike Pall [Mon, 7 Mar 2022 14:46:51 +0000 (15:46 +0100)]
Fix string buffer COW handling, part 2.
Reported by XmiliaH.
Mike Pall [Mon, 7 Mar 2022 08:51:40 +0000 (09:51 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Mon, 7 Mar 2022 08:50:25 +0000 (09:50 +0100)]
Fix install docs for Android.
Thanks to GuDzpoz.
Mike Pall [Mon, 7 Mar 2022 08:45:04 +0000 (09:45 +0100)]
*BSD: Fix getentropy() declaration.
Thanks to dundargoc.
Mike Pall [Mon, 7 Mar 2022 08:42:59 +0000 (09:42 +0100)]
Fix string buffer COW handling.
Reported by XmiliaH.
Mike Pall [Thu, 27 Jan 2022 21:26:14 +0000 (22:26 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Thu, 27 Jan 2022 21:18:39 +0000 (22:18 +0100)]
Fix command-line argv handling.
Mike Pall [Tue, 25 Jan 2022 21:18:20 +0000 (22:18 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Tue, 25 Jan 2022 21:17:56 +0000 (22:17 +0100)]
Don't export internal symbol.
Mike Pall [Mon, 24 Jan 2022 13:37:50 +0000 (14:37 +0100)]
Fix pow() optimization inconsistencies.
Mike Pall [Sun, 23 Jan 2022 18:19:26 +0000 (19:19 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Sun, 23 Jan 2022 18:16:53 +0000 (19:16 +0100)]
Always exit after machine code page protection change fails.
Reported by Sergey Kaplun.
Mike Pall [Sun, 23 Jan 2022 18:13:53 +0000 (19:13 +0100)]
Fix FOLD rule for BUFHDR append with intervening buffer use.
Reported by XmiliaH.
Mike Pall [Sun, 23 Jan 2022 18:10:47 +0000 (19:10 +0100)]
Fix compiled error handling for buffer methods.
Contributed by XmiliaH.
Mike Pall [Sun, 16 Jan 2022 20:01:52 +0000 (21:01 +0100)]
Prevent unroll across BC_ITERN.
Reported by Marukyu.
Mike Pall [Sun, 16 Jan 2022 20:00:24 +0000 (21:00 +0100)]
Prevent replay of buffer operation for PHI operands.
Contributed by XmiliaH.
Mike Pall [Sun, 16 Jan 2022 19:59:10 +0000 (20:59 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Sun, 16 Jan 2022 19:58:42 +0000 (20:58 +0100)]
Save trace recorder state around VM event call.
Reported by Sergey Kaplun.
Mike Pall [Sat, 15 Jan 2022 18:42:30 +0000 (19:42 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Sat, 15 Jan 2022 18:30:54 +0000 (19:30 +0100)]
Bump copyright date.
Mike Pall [Sat, 15 Jan 2022 17:32:34 +0000 (18:32 +0100)]
FFI: Ensure library is loaded before de-serializing FFI types.
Reported by ImagicTheCat.
Mike Pall [Sat, 15 Jan 2022 16:52:21 +0000 (17:52 +0100)]
Fix HREFK forwarding vs. table.clear().
Reported by XmiliaH.
Mike Pall [Thu, 13 Jan 2022 17:33:04 +0000 (18:33 +0100)]
Fix FOLD rule for BUFHDR append.
Reported by XmiliaH.
Mike Pall [Thu, 13 Jan 2022 16:57:03 +0000 (17:57 +0100)]
OSX: Disable unreliable assertion for external frame unwinding.
Mike Pall [Thu, 13 Jan 2022 16:51:09 +0000 (17:51 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Thu, 13 Jan 2022 16:48:43 +0000 (17:48 +0100)]
Limit exponent range in number parsing.
Reported by XmiliaH.
Mike Pall [Thu, 13 Jan 2022 14:38:56 +0000 (15:38 +0100)]
Fix tonumber("-0") in dual-number mode.
Reported by Sergey Kaplun.
Mike Pall [Thu, 13 Jan 2022 14:13:59 +0000 (15:13 +0100)]
Limit work done in SINK pass.
Reported by XmiliaH.
Mike Pall [Thu, 13 Jan 2022 13:40:11 +0000 (14:40 +0100)]
Fix ABC FOLD rule with constants.
Reported by XmiliaH.
Mike Pall [Sun, 19 Dec 2021 17:37:06 +0000 (18:37 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Sun, 19 Dec 2021 17:35:27 +0000 (18:35 +0100)]
Prevent CSE of a REF_BASE operand across IR_RETF.
Reported by XmiliaH.
Mike Pall [Fri, 17 Dec 2021 13:30:44 +0000 (14:30 +0100)]
Windows: Fix binary output of jit.bcsave to stdout.
Thanks to erw7.
Mike Pall [Fri, 17 Dec 2021 13:17:16 +0000 (14:17 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Fri, 17 Dec 2021 13:15:40 +0000 (14:15 +0100)]
Fix FOLD rule for x-0.
Reported by XmiliaH.
Mike Pall [Sat, 13 Nov 2021 19:39:37 +0000 (20:39 +0100)]
Update Android build docs.
Mike Pall [Sat, 13 Nov 2021 19:39:20 +0000 (20:39 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Sat, 13 Nov 2021 19:24:06 +0000 (20:24 +0100)]
Update Android build docs.
Mike Pall [Wed, 27 Oct 2021 19:56:07 +0000 (21:56 +0200)]
ARM64: Fix pcall() error case.
Reported by Alex Orlenko.
Mike Pall [Sun, 17 Oct 2021 11:14:41 +0000 (13:14 +0200)]
OSX/ARM64: Fix external unwinding.
Contributed by Edmund Kapusniak. #698 #757
Mike Pall [Tue, 12 Oct 2021 21:49:47 +0000 (23:49 +0200)]
Fix string buffer method recording.
Reported and analyzed by vfprintf. #755
Mike Pall [Fri, 8 Oct 2021 14:50:35 +0000 (16:50 +0200)]
Fix interaction of profiler and ITERN recording.
Reported and analyzed by vfprintf. #754
Mike Pall [Wed, 6 Oct 2021 15:31:46 +0000 (17:31 +0200)]
Fix compilation of multi-result call to next().
Thanks to Vyacheslav Egorov.
Mike Pall [Sat, 2 Oct 2021 15:49:50 +0000 (17:49 +0200)]
ARM64: Fix IR_HREF code generation.
Mike Pall [Sat, 2 Oct 2021 15:48:19 +0000 (17:48 +0200)]
MIPS64: Fix soft-float IR_TOSTR.
Mike Pall [Sat, 2 Oct 2021 14:58:29 +0000 (16:58 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Sat, 2 Oct 2021 14:52:57 +0000 (16:52 +0200)]
MIPS: Fix register allocation in assembly of HREF.
Reported by Jakub Piotr Cłapa.
Mike Pall [Wed, 29 Sep 2021 09:59:27 +0000 (11:59 +0200)]
Fix compiler warning.
Suggested by Fezile Manana.
Mike Pall [Fri, 24 Sep 2021 10:11:55 +0000 (12:11 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Fri, 24 Sep 2021 10:10:44 +0000 (12:10 +0200)]
Windows/x64: Document MSVC flags for C++ exception interoperability.
Suggested by Julien Cugnière.
Mike Pall [Thu, 23 Sep 2021 17:07:30 +0000 (19:07 +0200)]
FFI: Ensure returned string is alive in ffi.typeinfo().
Reported by zhuizhuhaomeng.
Mike Pall [Tue, 21 Sep 2021 15:49:06 +0000 (17:49 +0200)]
OSX/ARM64: Disable unwind info.
See #698.
Mike Pall [Tue, 21 Sep 2021 14:44:06 +0000 (16:44 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Tue, 21 Sep 2021 14:42:35 +0000 (16:42 +0200)]
Fix stack allocation after on-trace stack check.
Mike Pall [Tue, 21 Sep 2021 12:30:28 +0000 (14:30 +0200)]
Fix ITERN blacklisting.
Reported by ExtReMLapin. #744
Mike Pall [Tue, 21 Sep 2021 11:15:06 +0000 (13:15 +0200)]
Ensure ITERN forward progress on interpreter bailout.
Reported by Yichun Zhang and ExtReMLapin. #744
Mike Pall [Mon, 20 Sep 2021 20:37:07 +0000 (22:37 +0200)]
ARM64: Reorder interpreter stack frame and fix unwinding.
Reported by Yichun Zhang. Fixes #722.
May help towards fixing #698, too.
Mike Pall [Mon, 20 Sep 2021 12:40:23 +0000 (14:40 +0200)]
Don't bail out to interpreter to JLOOP originating from ITERN.
Otherwise forward progress is not guaranteed.
Reported by Yichun Zhang.
Mike Pall [Mon, 20 Sep 2021 12:39:26 +0000 (14:39 +0200)]
FFI: Don't load PC from non-function object in FFI continuation.
Reported by Yichun Zhang. #743
Mike Pall [Mon, 20 Sep 2021 12:39:50 +0000 (14:39 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Mon, 20 Sep 2021 12:36:52 +0000 (14:36 +0200)]
FFI: Don't load PC from non-function object in FFI continuation.
Reported by Yichun Zhang. #743
Mike Pall [Mon, 20 Sep 2021 12:34:47 +0000 (14:34 +0200)]
FFI: Fix missing cts->L initialization in argv2ctype().
Mike Pall [Sun, 19 Sep 2021 15:58:24 +0000 (17:58 +0200)]
OSX/ARM64: Disable external unwinding for now.
This reduces functionality, e.g. no handling of on-trace errors.
Someone with very deep knowledge about macOS and MACH-O/DWARF stack
unwinding internals is needed to fix this. See issue #698.
Mike Pall [Sun, 19 Sep 2021 15:49:25 +0000 (17:49 +0200)]
Compile table traversals: next(), pairs(), BC_ISNEXT/BC_ITERN.
Sponsored by OpenResty Inc.
Mike Pall [Sun, 19 Sep 2021 15:47:11 +0000 (17:47 +0200)]
Use IR_HIOP for generalized two-register returns.
Sponsored by OpenResty Inc.
Mike Pall [Sun, 19 Sep 2021 15:38:49 +0000 (17:38 +0200)]
Refactor table traversal.
Sponsored by OpenResty Inc.
Mike Pall [Sun, 19 Sep 2021 15:27:18 +0000 (17:27 +0200)]
ARM: Fix symbol display in trace disassembly.
Mike Pall [Sun, 19 Sep 2021 15:25:27 +0000 (17:25 +0200)]
Refactor IR_TMPREF generation.
Mike Pall [Sun, 19 Sep 2021 15:18:16 +0000 (17:18 +0200)]
Refactor IR_VLOAD to take an offset.
Mike Pall [Sun, 19 Sep 2021 14:09:48 +0000 (16:09 +0200)]
MIPS: Fix trace linking.
Mike Pall [Thu, 12 Aug 2021 19:28:17 +0000 (21:28 +0200)]
String buffers, part 4b: Improve de-serialization checks.
Sponsored by fmad.io.
Mike Pall [Thu, 12 Aug 2021 19:10:13 +0000 (21:10 +0200)]
String buffers, part 4a: Add metatable serialization dictionary.
Sponsored by fmad.io.
Mike Pall [Tue, 27 Jul 2021 12:50:40 +0000 (14:50 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Tue, 27 Jul 2021 12:47:41 +0000 (14:47 +0200)]
Consider slots used by upvalues in use-def analysis.
Reported by XmiliaH.
Mike Pall [Fri, 23 Jul 2021 19:36:17 +0000 (21:36 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Fri, 23 Jul 2021 19:33:59 +0000 (21:33 +0200)]
Prevent loop in snap_usedef().
Reported by XmiliaH.
Mike Pall [Thu, 22 Jul 2021 14:22:53 +0000 (16:22 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Thu, 22 Jul 2021 14:21:45 +0000 (16:21 +0200)]
Fix io.close() error message.
Reported by François Perrad.
Mike Pall [Thu, 22 Jul 2021 00:35:00 +0000 (02:35 +0200)]
Merge branch 'master' into v2.1