]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
9 years agoWhitespace.
Mike Pall [Mon, 18 Apr 2016 11:40:49 +0000 (13:40 +0200)] 
Whitespace.

9 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 18 Apr 2016 09:17:15 +0000 (11:17 +0200)] 
Merge branch 'master' into v2.1

9 years agox86/x64: Search for exit jumps with instruction length decoder.
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.

9 years agoRewrite memory block allocator.
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).

9 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 13 Apr 2016 22:16:17 +0000 (00:16 +0200)] 
Merge branch 'master' into v2.1

9 years agoMIPS: Fix BC_ISNEXT fallback path.
Mike Pall [Wed, 13 Apr 2016 22:14:42 +0000 (00:14 +0200)] 
MIPS: Fix BC_ISNEXT fallback path.

Thanks to RT-RK.com.

9 years agox64/LJ_GC64: Fix BC_UCLO check for fast-path.
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.

9 years agox86: Improve disassembly of BMI2 instructions.
Mike Pall [Tue, 5 Apr 2016 13:10:14 +0000 (15:10 +0200)] 
x86: Improve disassembly of BMI2 instructions.

Thanks to Peter Cawley.

9 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 3 Apr 2016 17:13:37 +0000 (19:13 +0200)] 
Merge branch 'master' into v2.1

9 years agoFix recording of select(n, ...) with off-trace varargs
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.

9 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 3 Apr 2016 17:08:32 +0000 (19:08 +0200)] 
Merge branch 'master' into v2.1

9 years agoCygwin: Allow cross-builds to non-Cygwin targets.
Mike Pall [Sun, 3 Apr 2016 17:07:19 +0000 (19:07 +0200)] 
Cygwin: Allow cross-builds to non-Cygwin targets.

9 years agoWindows/x64/LJ_GC64: Fix math.frexp() and math.modf() (again).
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.

9 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 30 Mar 2016 14:30:44 +0000 (16:30 +0200)] 
Merge branch 'master' into v2.1

9 years agoMIPS: Fix use of ffgccheck delay slots in interpreter.
Mike Pall [Wed, 30 Mar 2016 14:26:27 +0000 (16:26 +0200)] 
MIPS: Fix use of ffgccheck delay slots in interpreter.

9 years agox86: Generate BMI2 shifts and rotates, if available.
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.

9 years agox86: Detect BMI2 instruction support.
Mike Pall [Mon, 28 Mar 2016 21:04:33 +0000 (23:04 +0200)] 
x86: Detect BMI2 instruction support.

9 years agox64/LJ_GC64: Fix JIT glue code in interpreter.
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.

9 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 28 Mar 2016 20:24:01 +0000 (22:24 +0200)] 
Merge branch 'master' into v2.1

9 years agoWindows: Remove intermediate files at end of build.
Mike Pall [Mon, 28 Mar 2016 20:23:37 +0000 (22:23 +0200)] 
Windows: Remove intermediate files at end of build.

9 years agoFix compiler warnings.
Mike Pall [Mon, 28 Mar 2016 20:19:45 +0000 (22:19 +0200)] 
Fix compiler warnings.

9 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 28 Mar 2016 20:17:41 +0000 (22:17 +0200)] 
Merge branch 'master' into v2.1

9 years agoFix display of NULL (light)userdata in -jdump.
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.

9 years agoFix formatting of some small denormals at low precision.
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.

9 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 22 Mar 2016 21:22:51 +0000 (22:22 +0100)] 
Merge branch 'master' into v2.1

9 years agoFix install for cross-builds.
Mike Pall [Tue, 22 Mar 2016 21:16:12 +0000 (22:16 +0100)] 
Fix install for cross-builds.

9 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 22 Mar 2016 19:42:00 +0000 (20:42 +0100)] 
Merge branch 'master' into v2.1

9 years agoFix compiler warnings.
Mike Pall [Tue, 22 Mar 2016 19:40:41 +0000 (20:40 +0100)] 
Fix compiler warnings.

Thanks to Demetri Obenour.

9 years agoARM: Fix build problem with external frame unwinding.
Mike Pall [Tue, 15 Mar 2016 10:27:06 +0000 (11:27 +0100)] 
ARM: Fix build problem with external frame unwinding.

9 years agoMIPS soft-float: Fix code generation for HREF.
Mike Pall [Thu, 10 Mar 2016 16:08:55 +0000 (17:08 +0100)] 
MIPS soft-float: Fix code generation for HREF.

9 years agoDynASM/x86: Add ADX instructions.
Mike Pall [Sun, 6 Mar 2016 11:25:03 +0000 (12:25 +0100)] 
DynASM/x86: Add ADX instructions.

Thanks to Peter Cawley.

9 years agoRELEASE LuaJIT-2.1.0-beta2 v2.1.0-beta2
Mike Pall [Thu, 3 Mar 2016 11:40:02 +0000 (12:40 +0100)] 
RELEASE LuaJIT-2.1.0-beta2

9 years agoUpdate changelog.
Mike Pall [Thu, 3 Mar 2016 11:29:01 +0000 (12:29 +0100)] 
Update changelog.

9 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 3 Mar 2016 11:11:37 +0000 (12:11 +0100)] 
Merge branch 'master' into v2.1

9 years agoBump copyright date to 2016.
Mike Pall [Thu, 3 Mar 2016 11:02:22 +0000 (12:02 +0100)] 
Bump copyright date to 2016.

9 years agoFix Android/x86 build.
Mike Pall [Thu, 3 Mar 2016 10:46:48 +0000 (11:46 +0100)] 
Fix Android/x86 build.

9 years agoFix build with JIT disabled.
Mike Pall [Tue, 1 Mar 2016 12:26:42 +0000 (13:26 +0100)] 
Fix build with JIT disabled.

Thanks to Peter Melnichenko.

9 years agoUse internal implementation for converting FP numbers to strings.
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.

9 years agoWindows/x64/LJ_GC64: Fix math.frexp() and math.modf().
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.

9 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 10 Feb 2016 17:53:42 +0000 (18:53 +0100)] 
Merge branch 'master' into v2.1

9 years agoDon't allocate unused 2nd result register in JIT compiler backend.
Mike Pall [Wed, 10 Feb 2016 17:51:02 +0000 (18:51 +0100)] 
Don't allocate unused 2nd result register in JIT compiler backend.

9 years agoMIPS: Add soft-float support to JIT compiler backend.
Mike Pall [Wed, 10 Feb 2016 17:49:22 +0000 (18:49 +0100)] 
MIPS: Add soft-float support to JIT compiler backend.

9 years agoGeneralize LJ_SOFTFP dependencies in lj_asm.c.
Mike Pall [Tue, 9 Feb 2016 16:29:23 +0000 (17:29 +0100)] 
Generalize LJ_SOFTFP dependencies in lj_asm.c.

9 years agoPS4: Switch default build to amalgamated and LJ_GC64 mode.
Mike Pall [Mon, 1 Feb 2016 17:18:56 +0000 (18:18 +0100)] 
PS4: Switch default build to amalgamated and LJ_GC64 mode.

Thanks to Eddie Edwards.

9 years agoMIPS: Switch to dual-number mode. Fix soft-float interpreter.
Mike Pall [Fri, 29 Jan 2016 06:03:36 +0000 (07:03 +0100)] 
MIPS: Switch to dual-number mode. Fix soft-float interpreter.

9 years agoAdd proper DynASM dependency.
Mike Pall [Mon, 18 Jan 2016 15:57:30 +0000 (16:57 +0100)] 
Add proper DynASM dependency.

9 years agoFFI: Parse #line NN and #NN.
Mike Pall [Mon, 18 Jan 2016 11:34:48 +0000 (12:34 +0100)] 
FFI: Parse #line NN and #NN.

9 years agoAlways merge snapshots without instructions inbetween.
Mike Pall [Mon, 18 Jan 2016 11:02:01 +0000 (12:02 +0100)] 
Always merge snapshots without instructions inbetween.

Thanks to Vyacheslav Egorov.

9 years agoRollback due to HREFK + load fwd must restore guardemit state.
Mike Pall [Mon, 18 Jan 2016 10:58:13 +0000 (11:58 +0100)] 
Rollback due to HREFK + load fwd must restore guardemit state.

Thanks to Vyacheslav Egorov.

10 years agoDynASM/x64: Fix for full VREG support.
Mike Pall [Mon, 28 Dec 2015 16:06:48 +0000 (17:06 +0100)] 
DynASM/x64: Fix for full VREG support.

Thanks to Peter Cawley.

10 years agox86: Disassemble AES instructions.
Mike Pall [Mon, 28 Dec 2015 15:46:31 +0000 (16:46 +0100)] 
x86: Disassemble AES instructions.

Contributed by Peter Cawley.

10 years agox86: Improve disassembly of AVX shift instructions.
Mike Pall [Mon, 28 Dec 2015 15:42:37 +0000 (16:42 +0100)] 
x86: Improve disassembly of AVX shift instructions.

Contributed by Peter Cawley.

10 years agoDynASM/x86: Add AVX AES instructions.
Mike Pall [Mon, 28 Dec 2015 15:40:39 +0000 (16:40 +0100)] 
DynASM/x86: Add AVX AES instructions.

Contributed by Peter Cawley.

10 years agoARM: Add external frame unwinding.
Mike Pall [Mon, 28 Dec 2015 15:34:11 +0000 (16:34 +0100)] 
ARM: Add external frame unwinding.

Thanks to Nick Zavaritsky.

10 years agoDynASM/x64: Add full VREG support.
Mike Pall [Mon, 28 Dec 2015 12:28:24 +0000 (13:28 +0100)] 
DynASM/x64: Add full VREG support.

Contributed by Peter Cawley.

10 years agoFFI: Properly unsink non-standard cdata allocations.
Mike Pall [Mon, 28 Dec 2015 12:02:35 +0000 (13:02 +0100)] 
FFI: Properly unsink non-standard cdata allocations.

10 years agoMIPS soft-float, part 2: Add soft-float FFI support.
Mike Pall [Fri, 18 Dec 2015 20:38:03 +0000 (21:38 +0100)] 
MIPS soft-float, part 2: Add soft-float FFI support.

10 years agoMIPS soft-float, part 1: Add soft-float support to interpreter.
Mike Pall [Thu, 17 Dec 2015 21:42:20 +0000 (22:42 +0100)] 
MIPS soft-float, part 1: Add soft-float support to interpreter.

Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 26 Nov 2015 21:26:39 +0000 (22:26 +0100)] 
Merge branch 'master' into v2.1

10 years agoFFI: Fix SPLIT pass for CONV i64.u64.
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.

10 years agox64/LJ_GC64: Fix stack growth in vararg function setup.
Mike Pall [Wed, 18 Nov 2015 22:24:50 +0000 (23:24 +0100)] 
x64/LJ_GC64: Fix stack growth in vararg function setup.

Thanks to Vyacheslav Egorov.

10 years agoDocument minimum compiler requirements for 2.1 branch.
Mike Pall [Wed, 4 Nov 2015 13:13:39 +0000 (14:13 +0100)] 
Document minimum compiler requirements for 2.1 branch.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 4 Nov 2015 13:09:59 +0000 (14:09 +0100)] 
Merge branch 'master' into v2.1

10 years agoDynASM/x86: Add rdpmc instruction.
Mike Pall [Wed, 4 Nov 2015 13:04:19 +0000 (14:04 +0100)] 
DynASM/x86: Add rdpmc instruction.

Thanks to Cosmin Apreutesei.

10 years agoExtend Valgrind suppressions for non-inlined C code.
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.

10 years agoUpdate changelog.
Mike Pall [Sat, 24 Oct 2015 17:38:48 +0000 (19:38 +0200)] 
Update changelog.

10 years agoiOS/ARM64: Add build instructions.
Mike Pall [Sat, 24 Oct 2015 17:35:30 +0000 (19:35 +0200)] 
iOS/ARM64: Add build instructions.

Thanks to Vyacheslav Egorov.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Sat, 24 Oct 2015 17:30:55 +0000 (19:30 +0200)] 
Merge branch 'master' into v2.1

10 years agoUpdate build instructions.
Mike Pall [Sat, 24 Oct 2015 17:20:33 +0000 (19:20 +0200)] 
Update build instructions.

10 years agoOSX: Switch to Clang as the default compiler.
Mike Pall [Sat, 24 Oct 2015 17:10:40 +0000 (19:10 +0200)] 
OSX: Switch to Clang as the default compiler.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Sat, 24 Oct 2015 17:03:14 +0000 (19:03 +0200)] 
Merge branch 'master' into v2.1

10 years agoiOS: Disable os.execute() when building for iOS >= 8.0.
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.

10 years agox86/x64: Disassemble AVX/AVX2 instructions.
Mike Pall [Sat, 24 Oct 2015 16:55:27 +0000 (18:55 +0200)] 
x86/x64: Disassemble AVX/AVX2 instructions.

Thanks to Peter Cawley.

10 years agoWhitespace.
Mike Pall [Sat, 24 Oct 2015 16:53:37 +0000 (18:53 +0200)] 
Whitespace.

10 years agoDynASM: Bump version to 1.4.
Mike Pall [Sat, 24 Oct 2015 16:46:45 +0000 (18:46 +0200)] 
DynASM: Bump version to 1.4.

Thanks to Peter Cawley.

10 years agoDynASM/x86: Add AVX and AVX2 opcodes.
Mike Pall [Sat, 24 Oct 2015 16:43:47 +0000 (18:43 +0200)] 
DynASM/x86: Add AVX and AVX2 opcodes.

Thanks to Peter Cawley.

10 years agoDynASM/x86: Add AES-NI opcodes.
Mike Pall [Sat, 24 Oct 2015 16:18:52 +0000 (18:18 +0200)] 
DynASM/x86: Add AES-NI opcodes.

Thanks to Peter Cawley.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Sat, 24 Oct 2015 16:18:07 +0000 (18:18 +0200)] 
Merge branch 'master' into v2.1

10 years agoDynASM/x86: Restrict shld/shrd to operands with same width.
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.

10 years agoDynASM/x86: Fix some SSE instruction templates.
Mike Pall [Sat, 24 Oct 2015 16:12:40 +0000 (18:12 +0200)] 
DynASM/x86: Fix some SSE instruction templates.

Thanks to Peter Cawley.

10 years agoFix pairs() recording.
Mike Pall [Sat, 24 Oct 2015 16:04:54 +0000 (18:04 +0200)] 
Fix pairs() recording.

Thanks to Vyacheslav Egorov.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Sat, 24 Oct 2015 16:03:55 +0000 (18:03 +0200)] 
Merge branch 'master' into v2.1

10 years agoFFI: Fix ipairs() recording.
Mike Pall [Sat, 24 Oct 2015 15:59:44 +0000 (17:59 +0200)] 
FFI: Fix ipairs() recording.

Thanks to Vyacheslav Egorov.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 15 Oct 2015 00:29:37 +0000 (02:29 +0200)] 
Merge branch 'master' into v2.1

10 years agoDrop marks from replayed instructions when sinking.
Mike Pall [Thu, 15 Oct 2015 00:28:04 +0000 (02:28 +0200)] 
Drop marks from replayed instructions when sinking.

Reported by Vyacheslav Egorov.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 1 Oct 2015 14:34:37 +0000 (16:34 +0200)] 
Merge branch 'master' into v2.1

10 years agoFlush symbol tables in jit.dump on trace flush.
Mike Pall [Thu, 1 Oct 2015 14:32:30 +0000 (16:32 +0200)] 
Flush symbol tables in jit.dump on trace flush.

10 years agoAdd collectgarbage("isrunning").
Mike Pall [Thu, 1 Oct 2015 14:26:00 +0000 (16:26 +0200)] 
Add collectgarbage("isrunning").

10 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 1 Oct 2015 14:16:18 +0000 (16:16 +0200)] 
Merge branch 'master' into v2.1

10 years agoFix unsinking check.
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.

10 years agoFFI: Add ssize_t declaration.
Mike Pall [Sun, 20 Sep 2015 17:25:39 +0000 (19:25 +0200)] 
FFI: Add ssize_t declaration.

10 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 20 Sep 2015 17:18:31 +0000 (19:18 +0200)] 
Merge branch 'master' into v2.1

10 years agoFix Cygwin support. Note: this is not a supported target.
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.

10 years agoParse Unicode string escape \u{XX...}.
Mike Pall [Sat, 29 Aug 2015 21:58:28 +0000 (23:58 +0200)] 
Parse Unicode string escape \u{XX...}.

Thanks to drbo.

10 years agoRe-enable trace stitching.
Mike Pall [Sat, 29 Aug 2015 21:22:29 +0000 (23:22 +0200)] 
Re-enable trace stitching.

Thanks to Vyacheslav Egorov.

10 years agoARM64: Fix ELF bytecode saving.
Mike Pall [Wed, 26 Aug 2015 07:48:05 +0000 (09:48 +0200)] 
ARM64: Fix ELF bytecode saving.

10 years agoRELEASE LuaJIT-2.1.0-beta1 v2.1.0-beta1
Mike Pall [Tue, 25 Aug 2015 21:32:36 +0000 (23:32 +0200)] 
RELEASE LuaJIT-2.1.0-beta1

10 years agoARM64: Add support for saving bytecode as object files.
Mike Pall [Tue, 25 Aug 2015 08:16:39 +0000 (10:16 +0200)] 
ARM64: Add support for saving bytecode as object files.

10 years agoUpdate changelog.
Mike Pall [Mon, 24 Aug 2015 22:17:37 +0000 (00:17 +0200)] 
Update changelog.

10 years agoAdd note about bytecode compatibility wrt. LJ_GC64/LJ_FR2.
Mike Pall [Mon, 24 Aug 2015 22:17:07 +0000 (00:17 +0200)] 
Add note about bytecode compatibility wrt. LJ_GC64/LJ_FR2.