]>
git.ipfire.org Git - thirdparty/LuaJIT.git/log
Mike Pall [Sun, 17 Jul 2016 14:01:25 +0000 (16:01 +0200)]
Merge branch 'master' into v2.1
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:38:26 +0000 (14:38 +0200)]
Merge branch 'master' into v2.1
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 13:46:09 +0000 (15:46 +0200)]
Properly clean up state before restart of trace assembly.
Mike Pall [Mon, 27 Jun 2016 12:10:39 +0000 (14:10 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Mon, 27 Jun 2016 12:09:36 +0000 (14:09 +0200)]
Drop leftover regs in 'for' iterator assignment, too.
Mike Pall [Wed, 8 Jun 2016 08:24:00 +0000 (10:24 +0200)]
MIPS: Support MIPS16 interlinking.
Mike Pall [Sun, 5 Jun 2016 11:07:43 +0000 (13:07 +0200)]
x64/LJ_GC64: Fix code generation for IR_KNULL call argument.
Mike Pall [Sun, 5 Jun 2016 10:54:53 +0000 (12:54 +0200)]
Merge branch 'master' into v2.1
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:54:06 +0000 (06:54 +0200)]
LJ_GC64: Set correct nil value when clearing a cdata finalizer.
Thanks to Stefan Pejic.
Mike Pall [Fri, 3 Jun 2016 04:53:37 +0000 (06:53 +0200)]
LJ_GC64: Ensure all IR slot fields are initialized.
Mike Pall [Fri, 3 Jun 2016 04:42:35 +0000 (06:42 +0200)]
LJ_GC64: Allow optional use of the system memory allocator.
Mike Pall [Fri, 3 Jun 2016 04:40:48 +0000 (06:40 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Fri, 3 Jun 2016 04:39:52 +0000 (06:39 +0200)]
Fix Valgrind suppressions.
Mike Pall [Fri, 3 Jun 2016 02:28:17 +0000 (04:28 +0200)]
Merge branch 'master' into v2.1
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 [Sun, 29 May 2016 16:12:58 +0000 (18:12 +0200)]
MIPS: Fix build failures and warnings.
Mike Pall [Sat, 28 May 2016 11:36:14 +0000 (13:36 +0200)]
Proper fix for LJ_GC64 changes to asm_href().
Mike Pall [Sat, 28 May 2016 03:10:55 +0000 (05:10 +0200)]
MIPS64, part 1: Add MIPS64 support to interpreter.
Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.
Mike Pall [Sat, 28 May 2016 03:03:18 +0000 (05:03 +0200)]
DynASM/MIPS: Add missing MIPS64 instructions.
Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.
Mike Pall [Sat, 28 May 2016 03:02:18 +0000 (05:02 +0200)]
Fix compiler warning.
Mike Pall [Sat, 28 May 2016 03:01:12 +0000 (05:01 +0200)]
x64/LJ_GC64: Fix __call metamethod for tailcall.
Mike Pall [Fri, 27 May 2016 22:35:07 +0000 (00:35 +0200)]
Fix collateral damage from LJ_GC64 changes to asm_href().
Mike Pall [Thu, 26 May 2016 11:54:58 +0000 (13:54 +0200)]
Cleanup install docs.
Mike Pall [Mon, 23 May 2016 12:28:28 +0000 (14:28 +0200)]
Use MAP_TRYFIXED for the probing memory allocator, if available.
Mike Pall [Mon, 23 May 2016 04:47:01 +0000 (06:47 +0200)]
Merge branch 'master' into v2.1
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 [Mon, 23 May 2016 04:01:54 +0000 (06:01 +0200)]
x64/LJ_GC64: Add missing backend support and enable JIT compilation.
Contributed by Peter Cawley.
Mike Pall [Sun, 22 May 2016 23:49:00 +0000 (01:49 +0200)]
LJ_FR2: Add support for trace recording and snapshots.
Contributed by Peter Cawley.
Mike Pall [Sun, 22 May 2016 22:38:18 +0000 (00:38 +0200)]
LJ_GC64: Update IR type sizes.
Contributed by Peter Cawley.
Mike Pall [Sun, 22 May 2016 22:34:05 +0000 (00:34 +0200)]
LJ_GC64: Add support for 64 bit GCobj constants in the IR.
Contributed by Peter Cawley.
Mike Pall [Sun, 22 May 2016 22:27:51 +0000 (00:27 +0200)]
Strip out old infrastructure for 64 bit constants.
Contributed by Peter Cawley.
Mike Pall [Sun, 22 May 2016 22:25:29 +0000 (00:25 +0200)]
Embed 64 bit constants directly in the IR, using two slots.
Contributed by Peter Cawley.
Mike Pall [Sun, 22 May 2016 21:45:40 +0000 (23:45 +0200)]
Always walk IR constants in ascending order.
Prerequisite for embedding 64 bit constants directly in the IR.
Contributed by Peter Cawley.
Mike Pall [Sun, 22 May 2016 21:40:37 +0000 (23:40 +0200)]
Simplify GCtrace * reference embedding for trace stitching.
This is now possible due to the immovable IR.
Contributed by Peter Cawley.
Mike Pall [Sun, 22 May 2016 21:25:28 +0000 (23:25 +0200)]
Make the IR immovable after assembly.
This allows embedding pointers to IR constants in the machine code.
Contributed by Peter Cawley.
Mike Pall [Fri, 20 May 2016 23:45:18 +0000 (01:45 +0200)]
Add ra_addrename().
Contributed by Peter Cawley.
Mike Pall [Fri, 20 May 2016 23:04:17 +0000 (01:04 +0200)]
Load SIMD constants with IR_FLOAD from GG_State.
Contributed by Peter Cawley.
Mike Pall [Fri, 20 May 2016 22:30:36 +0000 (00:30 +0200)]
Add IR_FLOAD with REF_NIL for field loads from GG_State.
Contributed by Peter Cawley.
Mike Pall [Fri, 20 May 2016 22:02:45 +0000 (00:02 +0200)]
Move common 32/64 bit in-memory FP constants to jit_State.
Prerequisite for immovable IR.
Contributed by Peter Cawley.
Mike Pall [Fri, 20 May 2016 20:41:42 +0000 (22:41 +0200)]
LJ_GC64: Introduce IRT_PGC.
Contributed by Peter Cawley.
Mike Pall [Fri, 20 May 2016 18:26:39 +0000 (20:26 +0200)]
Merge branch 'master' into v2.1
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:45:38 +0000 (19:45 +0200)]
Workaround for MinGW headers lacking some exception definitions.
Mike Pall [Fri, 20 May 2016 17:44:23 +0000 (19:44 +0200)]
Merge branch 'master' into v2.1
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 [Thu, 19 May 2016 13:09:08 +0000 (15:09 +0200)]
Fix dependencies.
Mike Pall [Sat, 7 May 2016 10:32:15 +0000 (12:32 +0200)]
Windows/x86: Add full exception interoperability.
Contributed by Peter Cawley.
Mike Pall [Fri, 6 May 2016 10:09:23 +0000 (12:09 +0200)]
Merge branch 'master' into v2.1
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 [Tue, 3 May 2016 16:30:01 +0000 (18:30 +0200)]
Use the GDB JIT API in a thread-safe manner.
Thanks to Peter Cawley.
Mike Pall [Sun, 24 Apr 2016 15:32:12 +0000 (17:32 +0200)]
Constrain value range of lj_ir_kptr() to unsigned 32 bit pointers.
Thanks to Peter Cawley.
Mike Pall [Sun, 24 Apr 2016 15:14:35 +0000 (17:14 +0200)]
Merge branch 'master' into v2.1
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:01:36 +0000 (17:01 +0200)]
Merge branch 'master' into v2.1
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:41:41 +0000 (13:41 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Mon, 18 Apr 2016 11:40:49 +0000 (13:40 +0200)]
Whitespace.
Mike Pall [Mon, 18 Apr 2016 09:17:15 +0000 (11:17 +0200)]
Merge branch 'master' into v2.1
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 [Mon, 18 Apr 2016 08:57:49 +0000 (10:57 +0200)]
Rewrite memory block allocator.
Use a mix of linear probing and pseudo-random probing.
Workaround for 1GB MAP_32BIT limit on Linux/x64. Now 2GB with !LJ_GC64.
Enforce 128TB LJ_GC64 limit for > 47 bit memory layouts (ARM64).
Mike Pall [Wed, 13 Apr 2016 22:16:17 +0000 (00:16 +0200)]
Merge branch 'master' into v2.1
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 [Wed, 13 Apr 2016 14:10:03 +0000 (16:10 +0200)]
x64/LJ_GC64: Fix BC_UCLO check for fast-path.
Thanks to Vyacheslav Egorov.
Mike Pall [Tue, 5 Apr 2016 13:10:14 +0000 (15:10 +0200)]
x86: Improve disassembly of BMI2 instructions.
Thanks to Peter Cawley.
Mike Pall [Sun, 3 Apr 2016 17:13:37 +0000 (19:13 +0200)]
Merge branch 'master' into v2.1
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:08:32 +0000 (19:08 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Sun, 3 Apr 2016 17:07:19 +0000 (19:07 +0200)]
Cygwin: Allow cross-builds to non-Cygwin targets.
Mike Pall [Thu, 31 Mar 2016 02:17:21 +0000 (04:17 +0200)]
Windows/x64/LJ_GC64: Fix math.frexp() and math.modf() (again).
Thanks to Peter Cawley.
Mike Pall [Wed, 30 Mar 2016 14:30:44 +0000 (16:30 +0200)]
Merge branch 'master' into v2.1
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 21:05:20 +0000 (23:05 +0200)]
x86: Generate BMI2 shifts and rotates, if available.
Contributed by Peter Cawley.
Mike Pall [Mon, 28 Mar 2016 21:04:33 +0000 (23:04 +0200)]
x86: Detect BMI2 instruction support.
Mike Pall [Mon, 28 Mar 2016 20:31:18 +0000 (22:31 +0200)]
x64/LJ_GC64: Fix JIT glue code in interpreter.
Thanks to Peter Cawley.
Mike Pall [Mon, 28 Mar 2016 20:24:01 +0000 (22:24 +0200)]
Merge branch 'master' into v2.1
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:19:45 +0000 (22:19 +0200)]
Fix compiler warnings.
Mike Pall [Mon, 28 Mar 2016 20:17:41 +0000 (22:17 +0200)]
Merge branch 'master' into v2.1
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 [Mon, 28 Mar 2016 19:39:31 +0000 (21:39 +0200)]
Fix formatting of some small denormals at low precision.
Contributed by Peter Cawley.
Mike Pall [Tue, 22 Mar 2016 21:22:51 +0000 (22:22 +0100)]
Merge branch 'master' into v2.1
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:42:00 +0000 (20:42 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Tue, 22 Mar 2016 19:40:41 +0000 (20:40 +0100)]
Fix compiler warnings.
Thanks to Demetri Obenour.
Mike Pall [Tue, 15 Mar 2016 10:27:06 +0000 (11:27 +0100)]
ARM: Fix build problem with external frame unwinding.
Mike Pall [Thu, 10 Mar 2016 16:08:55 +0000 (17:08 +0100)]
MIPS soft-float: Fix code generation for HREF.
Mike Pall [Sun, 6 Mar 2016 11:25:03 +0000 (12:25 +0100)]
DynASM/x86: Add ADX instructions.
Thanks to Peter Cawley.
Mike Pall [Thu, 3 Mar 2016 11:40:02 +0000 (12:40 +0100)]
RELEASE LuaJIT-2.1.0-beta2
Mike Pall [Thu, 3 Mar 2016 11:29:01 +0000 (12:29 +0100)]
Update changelog.
Mike Pall [Thu, 3 Mar 2016 11:11:37 +0000 (12:11 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Thu, 3 Mar 2016 11:02:22 +0000 (12:02 +0100)]
Bump copyright date to 2016.
Mike Pall [Thu, 3 Mar 2016 10:46:48 +0000 (11:46 +0100)]
Fix Android/x86 build.
Mike Pall [Tue, 1 Mar 2016 12:26:42 +0000 (13:26 +0100)]
Fix build with JIT disabled.
Thanks to Peter Melnichenko.
Mike Pall [Fri, 26 Feb 2016 16:59:43 +0000 (17:59 +0100)]
Use internal implementation for converting FP numbers to strings.
Contributed by Peter Cawley.
Mike Pall [Mon, 22 Feb 2016 18:14:20 +0000 (19:14 +0100)]
Windows/x64/LJ_GC64: Fix math.frexp() and math.modf().
Thanks to Eddie Edwards.
Mike Pall [Wed, 10 Feb 2016 17:53:42 +0000 (18:53 +0100)]
Merge branch 'master' into v2.1
Mike Pall [Wed, 10 Feb 2016 17:51:02 +0000 (18:51 +0100)]
Don't allocate unused 2nd result register in JIT compiler backend.