]>
git.ipfire.org Git - thirdparty/LuaJIT.git/log
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.
Mike Pall [Tue, 28 Apr 2015 18:28:16 +0000 (20:28 +0200)]
Fix stack check in narrowing optimization.
Thanks to Robert Nix.
Mike Pall [Wed, 11 Mar 2015 16:47:24 +0000 (17:47 +0100)]
Doc cleanup.
Mike Pall [Thu, 5 Mar 2015 11:19:11 +0000 (12:19 +0100)]
Fix Lua/C API typecheck error for special indexes.
Mike Pall [Mon, 2 Mar 2015 16:31:18 +0000 (17:31 +0100)]
FFI: Fix FOLD rule for TOBIT + CONV num.u32.
Thanks to Jiale Zhi.
Mike Pall [Wed, 25 Feb 2015 17:10:54 +0000 (18:10 +0100)]
ARM: Handle more arch defines.
Mike Pall [Wed, 25 Feb 2015 17:02:31 +0000 (18:02 +0100)]
Properly fail unsupported cross-compile to MIPS64.
Mike Pall [Sun, 22 Feb 2015 22:07:49 +0000 (23:07 +0100)]
Fix string to number conversion.
Thanks to Lesley De Cruz.
Mike Pall [Sat, 21 Feb 2015 20:44:41 +0000 (21:44 +0100)]
x86/x64: Fix code generation for fused test/arith ops.
Thanks to Alexander Nasonov and AFL.
Mike Pall [Wed, 18 Feb 2015 15:00:15 +0000 (16:00 +0100)]
FFI: Prevent DSE across ffi.string().
Mike Pall [Mon, 2 Feb 2015 10:03:39 +0000 (11:03 +0100)]
Fix lexer error for chunks without tokens.
Mike Pall [Sat, 17 Jan 2015 13:50:41 +0000 (14:50 +0100)]
Don't compile IR_RETF after CALLT to ff with-side effects.
Mike Pall [Sat, 17 Jan 2015 11:55:04 +0000 (12:55 +0100)]
OpenBSD/x86: Better executable memory allocation for W^X mode.
Mike Pall [Mon, 5 Jan 2015 22:59:31 +0000 (23:59 +0100)]
Bump copyright date to 2015.
Mike Pall [Mon, 5 Jan 2015 22:39:37 +0000 (23:39 +0100)]
Fix BC_UCLO/BC_JMP join optimization in Lua parser.
Mike Pall [Sun, 4 Jan 2015 23:05:38 +0000 (00:05 +0100)]
ARM: Minor interpreter optimization.
Mike Pall [Sun, 4 Jan 2015 23:04:40 +0000 (00:04 +0100)]
x86: Minor interpreter optimization.
Mike Pall [Sun, 4 Jan 2015 21:58:11 +0000 (22:58 +0100)]
Fix docs.
Mike Pall [Sat, 27 Dec 2014 05:08:36 +0000 (06:08 +0100)]
DynASM/ARM: Fix rollback for variant templates.
Mike Pall [Sat, 27 Dec 2014 05:06:07 +0000 (06:06 +0100)]
MIPS: Fix excess stack growth in interpreter.
Mike Pall [Sat, 27 Dec 2014 05:05:50 +0000 (06:05 +0100)]
PPC: Fix excess stack growth in interpreter.
Mike Pall [Sat, 27 Dec 2014 05:03:06 +0000 (06:03 +0100)]
ARM: Fix write barrier check in BC_USETS.
Mike Pall [Sat, 27 Dec 2014 04:59:16 +0000 (05:59 +0100)]
ARM: Fix excess stack growth in interpreter.
Mike Pall [Sat, 27 Dec 2014 04:46:51 +0000 (05:46 +0100)]
Fix corner case in string to number conversion.
Mike Pall [Sat, 20 Dec 2014 00:05:06 +0000 (01:05 +0100)]
x86: Fix argument checks for ipairs() iterator.
Mike Pall [Mon, 15 Dec 2014 00:55:45 +0000 (01:55 +0100)]
Gracefully handle lua_error() for a suspended coroutine.
Thanks to Sergei Zhirikov.
Mike Pall [Mon, 8 Dec 2014 01:07:05 +0000 (02:07 +0100)]
Avoid error messages when building with Clang.
Mike Pall [Wed, 3 Dec 2014 13:09:17 +0000 (14:09 +0100)]
DynASM/ARM: Fix description shown for multi-element templates.
Mike Pall [Fri, 28 Nov 2014 19:20:12 +0000 (20:20 +0100)]
Fix snapshot #0 handling for traces with a stack check on entry.
Mike Pall [Mon, 3 Nov 2014 20:34:24 +0000 (21:34 +0100)]
FFI: No meta fallback when indexing pointer to incomplete struct.
Mike Pall [Wed, 8 Oct 2014 20:04:51 +0000 (22:04 +0200)]
Fix fused constant loads under high register pressure.
Mike Pall [Tue, 7 Oct 2014 14:17:29 +0000 (16:17 +0200)]
Fix DragonFly build (unsupported).
Thanks to Robin Hahling, Alex Hornung and Joris Giovannangeli.
Mike Pall [Mon, 22 Sep 2014 11:44:28 +0000 (13:44 +0200)]
DynASM/x86: Add fldenv, f[n]stenv, fxsave, fxrstor opcodes.
Thanks to Cosmin Apreutesei.
Mike Pall [Sun, 21 Sep 2014 16:03:47 +0000 (18:03 +0200)]
DynASM/x86: Add shld/shrd opcodes.
Thanks to Peter Cawley.
Mike Pall [Mon, 8 Sep 2014 21:37:22 +0000 (23:37 +0200)]
FFI: Fix initialization of unions of subtypes.
Thanks to Peter Colberg.
Mike Pall [Mon, 8 Sep 2014 21:28:02 +0000 (23:28 +0200)]
FFI: Fix for cdata vs. non-cdata arithmetic and comparisons.
Thanks to Roman Tsisyk.
Mike Pall [Tue, 5 Aug 2014 18:15:52 +0000 (20:15 +0200)]
FFI: Fix __index/__newindex metamethod resolution for ctypes.
Mike Pall [Thu, 24 Jul 2014 11:08:02 +0000 (13:08 +0200)]
Invalidate backpropagation cache after DCE.
Mike Pall [Fri, 4 Jul 2014 16:17:32 +0000 (18:17 +0200)]
FFI: Fix compilation of reference field access.
Mike Pall [Tue, 1 Jul 2014 15:53:40 +0000 (17:53 +0200)]
Fix ABC elimination.
Mike Pall [Fri, 13 Jun 2014 09:16:39 +0000 (11:16 +0200)]
Typo.
Mike Pall [Thu, 12 Jun 2014 08:58:22 +0000 (10:58 +0200)]
FFI: Fix frame traversal for backtraces with FFI callbacks.
Mike Pall [Wed, 11 Jun 2014 20:44:08 +0000 (22:44 +0200)]
x86: lj_math_random_step() clobbers XMM regs on OSX Clang.
Mike Pall [Wed, 11 Jun 2014 08:19:53 +0000 (10:19 +0200)]
Fix debug info for main chunk of stripped bytecode.
Mike Pall [Wed, 28 May 2014 13:46:26 +0000 (15:46 +0200)]
Fix compatibility issues with Illumos.
Thanks to Theo Schlossnagle.
Mike Pall [Tue, 27 May 2014 13:58:04 +0000 (15:58 +0200)]
PPC: Fix red zone overflow in machine code generation.
Mike Pall [Tue, 27 May 2014 13:25:34 +0000 (15:25 +0200)]
x86: Fix code generation for unused result of math.random().
Mike Pall [Tue, 20 May 2014 09:41:32 +0000 (11:41 +0200)]
Fix FOLD rule for string.sub(s, ...) == k.
Mike Pall [Thu, 15 May 2014 15:28:08 +0000 (17:28 +0200)]
FFI: Fix recording of indexing a struct pointer ctype object itself.
Mike Pall [Thu, 15 May 2014 15:03:28 +0000 (17:03 +0200)]
Fix FOLD rule for STRREF of SNEW.
Mike Pall [Mon, 12 May 2014 12:35:30 +0000 (14:35 +0200)]
Fix frame traversal while searching for error function.
Mike Pall [Tue, 6 May 2014 12:47:37 +0000 (14:47 +0200)]
x64: Workaround for MSVC build issue.
Mike Pall [Tue, 6 May 2014 12:31:31 +0000 (14:31 +0200)]
FFI: Another fix for cdata equality comparisons.