]>
git.ipfire.org Git - thirdparty/LuaJIT.git/log
Mike Pall [Thu, 9 Aug 2012 11:15:28 +0000 (13:15 +0200)]
Update cross-compilation docs.
Mike Pall [Thu, 9 Aug 2012 11:13:39 +0000 (13:13 +0200)]
ARM: Enable VFP and hard-float ABI support.
Mike Pall [Thu, 9 Aug 2012 11:11:43 +0000 (13:11 +0200)]
ARM: Add VFP and hard-float ABI variants to JIT compiler.
Mike Pall [Thu, 9 Aug 2012 11:09:47 +0000 (13:09 +0200)]
Never compile DWARF unwinder on Windows.
Mike Pall [Wed, 8 Aug 2012 19:01:36 +0000 (21:01 +0200)]
FFI: Compile ffi.typeof(cdata).
Thanks to Robert G. Jakabosky.
Mike Pall [Wed, 8 Aug 2012 18:35:02 +0000 (20:35 +0200)]
FFI: Compile assignments from enums.
Thanks to Robert G. Jakabosky.
Mike Pall [Sun, 5 Aug 2012 17:13:35 +0000 (19:13 +0200)]
Add missing change for last commit.
Mike Pall [Sun, 5 Aug 2012 15:26:01 +0000 (17:26 +0200)]
FFI: Improve error message for bad indexing attempts.
Mike Pall [Sun, 5 Aug 2012 07:33:15 +0000 (09:33 +0200)]
FFI: Initialize all fields of standard types.
Mike Pall [Thu, 2 Aug 2012 13:13:28 +0000 (15:13 +0200)]
FFI: Fix alignment of C call structure.
Mike Pall [Mon, 30 Jul 2012 17:00:52 +0000 (19:00 +0200)]
ARM: Add hard-float ABI support to the FFI (interpreter).
Mike Pall [Mon, 30 Jul 2012 16:59:13 +0000 (18:59 +0200)]
ARM: Add VFP and hard-float ABI variants to interpreter.
Mike Pall [Sun, 29 Jul 2012 19:37:45 +0000 (21:37 +0200)]
Only replay sunk stores up to the snapshot reference.
Mike Pall [Sun, 29 Jul 2012 19:33:46 +0000 (21:33 +0200)]
Need to handle TBAR in SINK pass.
Can only happen with -O-dse.
Mike Pall [Sun, 29 Jul 2012 10:22:18 +0000 (12:22 +0200)]
Handle cross-compiles with FPU/no-FPU or hard-fp/soft-fp ABI mismatch.
Mike Pall [Sun, 29 Jul 2012 10:17:13 +0000 (12:17 +0200)]
ARM: Add VFP instructions to ARM disassembler.
Mike Pall [Sun, 29 Jul 2012 10:16:33 +0000 (12:16 +0200)]
DynASM/ARM: Add VFP instructions.
Mike Pall [Tue, 24 Jul 2012 12:56:29 +0000 (14:56 +0200)]
Don't treat all constified cdata content as constant.
Mike Pall [Fri, 20 Jul 2012 16:54:52 +0000 (18:54 +0200)]
Turn loads from immutable upvalues into constants.
Mike Pall [Fri, 20 Jul 2012 16:52:29 +0000 (18:52 +0200)]
Fix slot flags in snapshot replay.
Mike Pall [Wed, 18 Jul 2012 16:02:32 +0000 (18:02 +0200)]
Fix restore of sunk CNEWI with implicit P32 to P64 conversion.
Mike Pall [Tue, 17 Jul 2012 20:20:03 +0000 (22:20 +0200)]
FFI: Box all accessed or returned enums.
Mike Pall [Tue, 17 Jul 2012 19:47:45 +0000 (21:47 +0200)]
Fix FOLD rule (i-j)-i => 0-j.
Thanks to Thomas Schilling.
Mike Pall [Tue, 17 Jul 2012 19:45:49 +0000 (21:45 +0200)]
Workaround for MSVC conversion bug (double -> uint32_t -> int32_t).
Mike Pall [Mon, 16 Jul 2012 21:43:03 +0000 (23:43 +0200)]
x86/x64: Fix fusion of unsigned byte comparisons with swapped ops.
Mike Pall [Mon, 16 Jul 2012 21:39:49 +0000 (23:39 +0200)]
ARM: Invoke SPLIT pass for leftover IR_TOBIT.
Can only happen with -O-fold for TOBIT(constant).
Mike Pall [Mon, 16 Jul 2012 20:47:01 +0000 (22:47 +0200)]
From Lua 5.2: Add -E command line option (ignore env vars).
Mike Pall [Mon, 16 Jul 2012 20:36:38 +0000 (22:36 +0200)]
Correct dispatch table modifications for return hooks.
Mike Pall [Thu, 12 Jul 2012 12:19:27 +0000 (14:19 +0200)]
FFI: Show address pointed to for tostring(ref), too.
Mike Pall [Wed, 11 Jul 2012 14:48:52 +0000 (16:48 +0200)]
Limit number of parent links handled by backend.
Mike Pall [Wed, 11 Jul 2012 14:45:15 +0000 (16:45 +0200)]
Use an explicit flag to signal SINK tags for a trace.
Mike Pall [Mon, 9 Jul 2012 14:22:08 +0000 (16:22 +0200)]
Don't allocate constants for sunk stores.
Mike Pall [Mon, 9 Jul 2012 14:02:05 +0000 (16:02 +0200)]
Avoid compiler warnings about redefined C++ keywords.
Mike Pall [Mon, 9 Jul 2012 13:54:25 +0000 (15:54 +0200)]
Add missing declarations for MSVC intrinsics.
Mike Pall [Sun, 8 Jul 2012 20:20:11 +0000 (22:20 +0200)]
Clean up ARM capability flags. Only set highest arch version.
Mike Pall [Sun, 8 Jul 2012 14:25:38 +0000 (16:25 +0200)]
Change DynASM bit operations to use Lua BitOp.
Mike Pall [Sun, 8 Jul 2012 14:24:53 +0000 (16:24 +0200)]
Add Lua BitOp to minilua.
Mike Pall [Sat, 7 Jul 2012 18:36:35 +0000 (20:36 +0200)]
Finally fix target detection for msvcbuild.bat.
Famous last words.
Mike Pall [Wed, 4 Jul 2012 19:16:06 +0000 (21:16 +0200)]
Drop range limit for sunk stores relative to sunk allocation.
Mike Pall [Wed, 4 Jul 2012 19:14:37 +0000 (21:14 +0200)]
Bump some limits to accomodate SINK pass.
Mike Pall [Wed, 4 Jul 2012 09:41:58 +0000 (11:41 +0200)]
Add stricter check for sinking PHIs.
Mike Pall [Tue, 3 Jul 2012 21:19:45 +0000 (23:19 +0200)]
Remove unneeded snapshot preps for sunk stores.
Mike Pall [Tue, 3 Jul 2012 14:45:13 +0000 (16:45 +0200)]
Fix NEWREF marking in SINK pass.
Mike Pall [Tue, 3 Jul 2012 11:22:30 +0000 (13:22 +0200)]
Fix compiler warnings.
Mike Pall [Tue, 3 Jul 2012 11:19:32 +0000 (13:19 +0200)]
Avoid pesky compiler warnings about C++ keywords (eh?).
Mike Pall [Tue, 3 Jul 2012 10:41:21 +0000 (12:41 +0200)]
Invoke SPLIT pass in side trace for rejoined sunk stores.
Mike Pall [Mon, 2 Jul 2012 22:03:01 +0000 (00:03 +0200)]
Avoid strict aliasing issues.
Mike Pall [Mon, 2 Jul 2012 21:47:12 +0000 (23:47 +0200)]
Add allocation sinking and store sinking optimization.
Mike Pall [Mon, 2 Jul 2012 20:57:51 +0000 (22:57 +0200)]
ARM: Simplify two-step constant rematerialization.
Mike Pall [Mon, 2 Jul 2012 20:52:15 +0000 (22:52 +0200)]
Handle initial snapshot for side traces in lj_snap.c only.
Mike Pall [Mon, 2 Jul 2012 20:50:03 +0000 (22:50 +0200)]
Handle joining IR_HIOP in SPLIT pass.
Mike Pall [Mon, 2 Jul 2012 20:47:20 +0000 (22:47 +0200)]
Add IR_PVAL instruction for non-slot parent links.
Mike Pall [Mon, 2 Jul 2012 20:42:40 +0000 (22:42 +0200)]
Add explicit IR_GCSTEP instruction.
Mike Pall [Mon, 2 Jul 2012 20:37:00 +0000 (22:37 +0200)]
Use HIOP for XSTORE in SPLIT pass.
Mike Pall [Mon, 2 Jul 2012 11:37:55 +0000 (13:37 +0200)]
Move snapshot replay for side traces to lj_snap.c.
Mike Pall [Sun, 1 Jul 2012 20:44:54 +0000 (22:44 +0200)]
Clean up RegSP handling for parent link instructions.
Mike Pall [Sat, 30 Jun 2012 18:58:19 +0000 (20:58 +0200)]
Expand array slots in template tables with mixed const/var initializers.
Mike Pall [Sat, 30 Jun 2012 18:45:59 +0000 (20:45 +0200)]
Clean up snapshot restore.
Mike Pall [Thu, 28 Jun 2012 18:17:08 +0000 (20:17 +0200)]
Fix cdecl string parsing during recording.
Mike Pall [Thu, 28 Jun 2012 13:47:16 +0000 (15:47 +0200)]
Make os.date() thread-safe.
Mike Pall [Thu, 28 Jun 2012 13:13:26 +0000 (15:13 +0200)]
Fix buffer check in bytecode writer.
Mike Pall [Thu, 28 Jun 2012 13:10:52 +0000 (15:10 +0200)]
Add HREFK forwarding. Eliminate HREFK guard for TDUP refs.
Mike Pall [Wed, 27 Jun 2012 20:45:54 +0000 (22:45 +0200)]
Create string hash slots in template tables even for non-const values.
Mike Pall [Wed, 27 Jun 2012 18:53:08 +0000 (20:53 +0200)]
Another attempt at proper target detection for msvcbuild.bat.
Mike Pall [Wed, 27 Jun 2012 17:54:52 +0000 (19:54 +0200)]
Fix TDUP to HLOAD forwarding for DUALNUM builds.
Mike Pall [Wed, 27 Jun 2012 17:35:51 +0000 (19:35 +0200)]
PPC: Fix PPC32 build.
Mike Pall [Fri, 22 Jun 2012 09:36:58 +0000 (11:36 +0200)]
Fix build issues on Cygwin and MinGW with optional MSys.
Mike Pall [Wed, 20 Jun 2012 16:24:49 +0000 (18:24 +0200)]
FFI: Check for __new metamethod when calling a constructor.
Mike Pall [Wed, 20 Jun 2012 13:45:23 +0000 (15:45 +0200)]
FFI: Do not resolve strings passed to parameterized types.
Mike Pall [Wed, 20 Jun 2012 13:15:09 +0000 (15:15 +0200)]
FFI: Resolve metamethods for constructors, too.
Mike Pall [Wed, 20 Jun 2012 13:06:28 +0000 (15:06 +0200)]
FFI: Improve error messages for ctype arguments.
Mike Pall [Thu, 14 Jun 2012 17:54:07 +0000 (19:54 +0200)]
FFI: Add support for parameterized C types.
Mike Pall [Wed, 13 Jun 2012 00:32:24 +0000 (02:32 +0200)]
CONSOLE: Handle P64, GPR64, TOC* and PPE (PS3) in PPC interpreter.
PS3 build command: make HOST_CC="gcc -m32" CROSS=ppu-lv2-
Mike Pall [Tue, 12 Jun 2012 23:54:15 +0000 (01:54 +0200)]
Clean up buildvm error message.
Mike Pall [Tue, 12 Jun 2012 19:25:19 +0000 (21:25 +0200)]
Allow parsing bcsave.lua (-b option) without FFI.
Mike Pall [Tue, 12 Jun 2012 15:26:55 +0000 (17:26 +0200)]
PPC: Remove lj_vm_floor/ceil/trunc assembler wrappers.
Mike Pall [Tue, 12 Jun 2012 15:25:52 +0000 (17:25 +0200)]
ARM/PPC: Remove assembler code for lj_vm_foldarith().
Mike Pall [Tue, 12 Jun 2012 14:48:24 +0000 (16:48 +0200)]
PPC: Fix disassembly of rldcl/rldcr.
Mike Pall [Tue, 12 Jun 2012 14:47:25 +0000 (16:47 +0200)]
DynASM/PPC: Add missing 64 bit rotates and mtocrf/mfocrf.
Mike Pall [Tue, 12 Jun 2012 01:50:22 +0000 (03:50 +0200)]
x64: Fix DynASM defines.
Mike Pall [Mon, 11 Jun 2012 23:47:16 +0000 (01:47 +0200)]
Improved target detection for msvcbuild.bat.
Mike Pall [Mon, 11 Jun 2012 16:49:40 +0000 (18:49 +0200)]
OSX: Change dylib names to be consistent with other platforms.
Mike Pall [Sun, 10 Jun 2012 22:51:21 +0000 (00:51 +0200)]
MIPS: Cleanup interpreter.
Use DynASM defines instead of C defines.
Mike Pall [Sun, 10 Jun 2012 22:51:59 +0000 (00:51 +0200)]
PPC/e500: Cleanup interpreter.
Use DynASM defines instead of C defines.
Mike Pall [Sun, 10 Jun 2012 22:50:22 +0000 (00:50 +0200)]
PPC: Cleanup interpreter.
Use DynASM defines instead of C defines.
Mike Pall [Sun, 10 Jun 2012 22:49:47 +0000 (00:49 +0200)]
ARM: Cleanup interpreter.
Use DynASM defines instead of C defines.
Mike Pall [Sun, 10 Jun 2012 22:49:24 +0000 (00:49 +0200)]
x86/x64: More interpreter cleanups.
Mike Pall [Sun, 10 Jun 2012 22:44:54 +0000 (00:44 +0200)]
PPC: Fix interpreter state setup in callbacks.
Mike Pall [Sun, 10 Jun 2012 21:40:53 +0000 (23:40 +0200)]
Fix userdata __gc separations at state close.
Mike Pall [Sun, 10 Jun 2012 14:44:33 +0000 (16:44 +0200)]
x86/x64: Clean up interpreter.
Use DynASM defines instead of C defines.
Remove support for ancient CPUs without CMOV (before Pentium Pro).
Mike Pall [Sun, 10 Jun 2012 14:41:00 +0000 (16:41 +0200)]
Pass various build, arch and OS flags to DynASM.
Mike Pall [Sun, 10 Jun 2012 14:34:18 +0000 (16:34 +0200)]
CONSOLE: Minor PS3 build fixes.
Mike Pall [Sat, 9 Jun 2012 23:38:44 +0000 (01:38 +0200)]
CONSOLE: Fix PS3 build.
Mike Pall [Sat, 9 Jun 2012 18:54:34 +0000 (20:54 +0200)]
CONSOLE: Handle unimplemented features for console toolchains.
Mike Pall [Sat, 9 Jun 2012 18:53:22 +0000 (20:53 +0200)]
ARM/PPC: Detect more target arch variants. Detect console OS.
Mike Pall [Sat, 9 Jun 2012 18:30:27 +0000 (20:30 +0200)]
Avoid potential store-forwarding stalls in GC marking.
Mike Pall [Sat, 9 Jun 2012 15:29:54 +0000 (17:29 +0200)]
Fix check for minimum GCC version.
Mike Pall [Sat, 9 Jun 2012 13:04:03 +0000 (15:04 +0200)]
Reorganize build process.
Drop pre-translated buildvm_*.h.
Rename buildvm_*.dasc to vm_*.dasc.
Move buildvm* to host directory.
Build minilua, unless HOST_LUA is set.
Use HOST_LUA to run DynASM.
Translate only vm_*.dasc for target architecture.
Mike Pall [Sat, 9 Jun 2012 13:02:02 +0000 (15:02 +0200)]
Add minified Lua interpreter (minilua). Used by the build process.
Mike Pall [Sat, 9 Jun 2012 12:41:44 +0000 (14:41 +0200)]
DynASM: Compatibility with minilua.