]>
git.ipfire.org Git - thirdparty/LuaJIT.git/log
Mike Pall [Tue, 4 Oct 2022 10:04:17 +0000 (12:04 +0200)]
ARM64: Fix IR_SLOAD assembly.
Reported by Gate88.
Mike Pall [Wed, 14 Sep 2022 10:26:53 +0000 (12:26 +0200)]
Fix trace join to BC_JLOOP originating from BC_ITERN.
Reported by OpenResty Inc.
Mike Pall [Tue, 13 Sep 2022 11:43:03 +0000 (13:43 +0200)]
Fix compiler warnings.
Reported by gan74.
Mike Pall [Tue, 13 Sep 2022 09:33:12 +0000 (11:33 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Tue, 13 Sep 2022 09:32:53 +0000 (11:32 +0200)]
Fix last edit.
Mike Pall [Tue, 13 Sep 2022 09:22:18 +0000 (11:22 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Tue, 13 Sep 2022 09:21:30 +0000 (11:21 +0200)]
Remove dead Wiki links.
The lost content may be resurrected later.
Mike Pall [Mon, 12 Sep 2022 09:16:20 +0000 (11:16 +0200)]
Fix QNX build.
Note: this is not an officially supported target.
Contributed by Wen Yang.
Mike Pall [Mon, 15 Aug 2022 12:16:58 +0000 (14:16 +0200)]
Add -F option to override filename in jit.bcsave (luajit -b).
Suggested by Mathias Westerdahl.
Mike Pall [Mon, 15 Aug 2022 12:16:39 +0000 (14:16 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Mon, 15 Aug 2022 12:16:14 +0000 (14:16 +0200)]
Patch luajit.pc with INSTALL_INC, if customized.
Suggested by Henrique Bucher.
Mike Pall [Wed, 10 Aug 2022 17:27:53 +0000 (19:27 +0200)]
LJ_GC64: Fix lua_concat().
Reported by Mathias Westerdahl.
Mike Pall [Sun, 7 Aug 2022 18:04:52 +0000 (20:04 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Sun, 7 Aug 2022 18:02:40 +0000 (20:02 +0200)]
Prevent use of RTLD_DEFAULT when NO_RTLD_DEFAULT is defined.
Workaround for Android 4.4 bug.
Thanks to gudzpoz.
Mike Pall [Thu, 28 Jul 2022 13:40:28 +0000 (15:40 +0200)]
Improve GC estimation for userdata with attached managed memory.
This works well for string.buffers, but not for userdata or
cdata with attached unmanaged memory (malloc/free, mmap/munmap).
Mike Pall [Thu, 28 Jul 2022 13:38:54 +0000 (15:38 +0200)]
Add missing GC steps to string buffer methods.
Reported by Cosmin Apreutesei.
Mike Pall [Wed, 27 Jul 2022 09:32:33 +0000 (11:32 +0200)]
x86/x64: Limit VLOAD fusion to simple cases.
Reported by ccagml.
Mike Pall [Fri, 22 Jul 2022 10:14:40 +0000 (12:14 +0200)]
OSX/iOS/ARM64: Fix generation of Mach-O object files.
Thanks to Carlo Cabrera.
Mike Pall [Thu, 21 Jul 2022 15:30:56 +0000 (17:30 +0200)]
Prevent trace start at BC_ITERL after compiled BC_ITERN.
Reported by ccagml.
Mike Pall [Tue, 19 Jul 2022 10:53:34 +0000 (12:53 +0200)]
ARM64: Allow building with unwinding disabled.
Mike Pall [Tue, 12 Jul 2022 22:37:14 +0000 (00:37 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Tue, 12 Jul 2022 22:32:31 +0000 (00:32 +0200)]
FFI: Fix sizeof expression in C parser for reference types.
Mike Pall [Tue, 12 Jul 2022 22:32:04 +0000 (00:32 +0200)]
FFI: Fix ffi.alignof() for reference types.
Reported by Eric Gouyer.
Mike Pall [Tue, 12 Jul 2022 22:30:23 +0000 (00:30 +0200)]
FFI: Allow ffi.metatype() for typedefs with attributes.
Reported by Eric Gouyer.
Mike Pall [Tue, 12 Jul 2022 20:25:33 +0000 (22:25 +0200)]
OSX/iOS/ARM64: Fix bytecode embedding in Mach-O object file.
Thanks to Carlo Cabrera.
Mike Pall [Tue, 12 Jul 2022 20:21:26 +0000 (22:21 +0200)]
LJ_GC64: Fix IR_VARG offset for fixed number of results.
Reported by George Vaintrub. Fixed by Sergey Kaplun.
Mike Pall [Fri, 8 Jul 2022 13:12:43 +0000 (15:12 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Fri, 8 Jul 2022 12:57:01 +0000 (14:57 +0200)]
x86/x64: Fix math.ceil(-0.9) result sign.
Reported by minoki.
Mike Pall [Thu, 23 Jun 2022 07:10:43 +0000 (09:10 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Thu, 23 Jun 2022 07:10:09 +0000 (09:10 +0200)]
Grammar and spell check.
Mike Pall [Mon, 13 Jun 2022 19:23:16 +0000 (21:23 +0200)]
Make embedded bytecode readable and forward-compatible.
Mike Pall [Wed, 8 Jun 2022 14:21:01 +0000 (16:21 +0200)]
DynASM: Fix warnings.
Mike Pall [Wed, 8 Jun 2022 13:36:47 +0000 (15:36 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Wed, 8 Jun 2022 13:35:12 +0000 (15:35 +0200)]
Fix warnings in minilua.c.
Mike Pall [Wed, 8 Jun 2022 13:03:52 +0000 (15:03 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Wed, 8 Jun 2022 12:55:59 +0000 (14:55 +0200)]
Update console build instructions.
Mike Pall [Wed, 8 Jun 2022 12:24:57 +0000 (14:24 +0200)]
Add Nintendo Switch port.
Contributed by Swyter and vdweller84.
Mike Pall [Wed, 8 Jun 2022 09:26:50 +0000 (11:26 +0200)]
Avoid zero-sized arrays in jit_State.
Mike Pall [Wed, 8 Jun 2022 09:20:28 +0000 (11:20 +0200)]
Don't use jit_State during build with JIT disabled.
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