]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
13 years agoFix cdecl string parsing during recording.
Mike Pall [Thu, 28 Jun 2012 18:17:08 +0000 (20:17 +0200)] 
Fix cdecl string parsing during recording.

13 years agoMake os.date() thread-safe.
Mike Pall [Thu, 28 Jun 2012 13:47:16 +0000 (15:47 +0200)] 
Make os.date() thread-safe.

13 years agoFix buffer check in bytecode writer.
Mike Pall [Thu, 28 Jun 2012 13:13:26 +0000 (15:13 +0200)] 
Fix buffer check in bytecode writer.

13 years agoAdd HREFK forwarding. Eliminate HREFK guard for TDUP refs.
Mike Pall [Thu, 28 Jun 2012 13:10:52 +0000 (15:10 +0200)] 
Add HREFK forwarding. Eliminate HREFK guard for TDUP refs.

13 years agoCreate string hash slots in template tables even for non-const values.
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.

13 years agoAnother attempt at proper target detection for msvcbuild.bat.
Mike Pall [Wed, 27 Jun 2012 18:53:08 +0000 (20:53 +0200)] 
Another attempt at proper target detection for msvcbuild.bat.

13 years agoFix TDUP to HLOAD forwarding for DUALNUM builds.
Mike Pall [Wed, 27 Jun 2012 17:54:52 +0000 (19:54 +0200)] 
Fix TDUP to HLOAD forwarding for DUALNUM builds.

13 years agoPPC: Fix PPC32 build.
Mike Pall [Wed, 27 Jun 2012 17:35:51 +0000 (19:35 +0200)] 
PPC: Fix PPC32 build.

13 years agoFix build issues on Cygwin and MinGW with optional MSys.
Mike Pall [Fri, 22 Jun 2012 09:36:58 +0000 (11:36 +0200)] 
Fix build issues on Cygwin and MinGW with optional MSys.

13 years agoFFI: Check for __new metamethod when calling a constructor.
Mike Pall [Wed, 20 Jun 2012 16:24:49 +0000 (18:24 +0200)] 
FFI: Check for __new metamethod when calling a constructor.

13 years agoFFI: Do not resolve strings passed to parameterized types.
Mike Pall [Wed, 20 Jun 2012 13:45:23 +0000 (15:45 +0200)] 
FFI: Do not resolve strings passed to parameterized types.

13 years agoFFI: Resolve metamethods for constructors, too.
Mike Pall [Wed, 20 Jun 2012 13:15:09 +0000 (15:15 +0200)] 
FFI: Resolve metamethods for constructors, too.

13 years agoFFI: Improve error messages for ctype arguments.
Mike Pall [Wed, 20 Jun 2012 13:06:28 +0000 (15:06 +0200)] 
FFI: Improve error messages for ctype arguments.

13 years agoFFI: Add support for parameterized C types.
Mike Pall [Thu, 14 Jun 2012 17:54:07 +0000 (19:54 +0200)] 
FFI: Add support for parameterized C types.

13 years agoCONSOLE: Handle P64, GPR64, TOC* and PPE (PS3) in PPC interpreter.
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-

13 years agoClean up buildvm error message.
Mike Pall [Tue, 12 Jun 2012 23:54:15 +0000 (01:54 +0200)] 
Clean up buildvm error message.

13 years agoAllow parsing bcsave.lua (-b option) without FFI.
Mike Pall [Tue, 12 Jun 2012 19:25:19 +0000 (21:25 +0200)] 
Allow parsing bcsave.lua (-b option) without FFI.

13 years agoPPC: Remove lj_vm_floor/ceil/trunc assembler wrappers.
Mike Pall [Tue, 12 Jun 2012 15:26:55 +0000 (17:26 +0200)] 
PPC: Remove lj_vm_floor/ceil/trunc assembler wrappers.

13 years agoARM/PPC: Remove assembler code for lj_vm_foldarith().
Mike Pall [Tue, 12 Jun 2012 15:25:52 +0000 (17:25 +0200)] 
ARM/PPC: Remove assembler code for lj_vm_foldarith().

13 years agoPPC: Fix disassembly of rldcl/rldcr.
Mike Pall [Tue, 12 Jun 2012 14:48:24 +0000 (16:48 +0200)] 
PPC: Fix disassembly of rldcl/rldcr.

13 years agoDynASM/PPC: Add missing 64 bit rotates and mtocrf/mfocrf.
Mike Pall [Tue, 12 Jun 2012 14:47:25 +0000 (16:47 +0200)] 
DynASM/PPC: Add missing 64 bit rotates and mtocrf/mfocrf.

13 years agox64: Fix DynASM defines.
Mike Pall [Tue, 12 Jun 2012 01:50:22 +0000 (03:50 +0200)] 
x64: Fix DynASM defines.

13 years agoImproved target detection for msvcbuild.bat.
Mike Pall [Mon, 11 Jun 2012 23:47:16 +0000 (01:47 +0200)] 
Improved target detection for msvcbuild.bat.

13 years agoOSX: Change dylib names to be consistent with other platforms.
Mike Pall [Mon, 11 Jun 2012 16:49:40 +0000 (18:49 +0200)] 
OSX: Change dylib names to be consistent with other platforms.

13 years agoMIPS: Cleanup interpreter.
Mike Pall [Sun, 10 Jun 2012 22:51:21 +0000 (00:51 +0200)] 
MIPS: Cleanup interpreter.

Use DynASM defines instead of C defines.

13 years agoPPC/e500: Cleanup interpreter.
Mike Pall [Sun, 10 Jun 2012 22:51:59 +0000 (00:51 +0200)] 
PPC/e500: Cleanup interpreter.

Use DynASM defines instead of C defines.

13 years agoPPC: Cleanup interpreter.
Mike Pall [Sun, 10 Jun 2012 22:50:22 +0000 (00:50 +0200)] 
PPC: Cleanup interpreter.

Use DynASM defines instead of C defines.

13 years agoARM: Cleanup interpreter.
Mike Pall [Sun, 10 Jun 2012 22:49:47 +0000 (00:49 +0200)] 
ARM: Cleanup interpreter.

Use DynASM defines instead of C defines.

13 years agox86/x64: More interpreter cleanups.
Mike Pall [Sun, 10 Jun 2012 22:49:24 +0000 (00:49 +0200)] 
x86/x64: More interpreter cleanups.

13 years agoPPC: Fix interpreter state setup in callbacks.
Mike Pall [Sun, 10 Jun 2012 22:44:54 +0000 (00:44 +0200)] 
PPC: Fix interpreter state setup in callbacks.

13 years agoFix userdata __gc separations at state close.
Mike Pall [Sun, 10 Jun 2012 21:40:53 +0000 (23:40 +0200)] 
Fix userdata __gc separations at state close.

13 years agox86/x64: Clean up interpreter.
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).

13 years agoPass various build, arch and OS flags to DynASM.
Mike Pall [Sun, 10 Jun 2012 14:41:00 +0000 (16:41 +0200)] 
Pass various build, arch and OS flags to DynASM.

13 years agoCONSOLE: Minor PS3 build fixes.
Mike Pall [Sun, 10 Jun 2012 14:34:18 +0000 (16:34 +0200)] 
CONSOLE: Minor PS3 build fixes.

13 years agoCONSOLE: Fix PS3 build.
Mike Pall [Sat, 9 Jun 2012 23:38:44 +0000 (01:38 +0200)] 
CONSOLE: Fix PS3 build.

13 years agoCONSOLE: Handle unimplemented features for console toolchains.
Mike Pall [Sat, 9 Jun 2012 18:54:34 +0000 (20:54 +0200)] 
CONSOLE: Handle unimplemented features for console toolchains.

13 years agoARM/PPC: Detect more target arch variants. Detect console OS.
Mike Pall [Sat, 9 Jun 2012 18:53:22 +0000 (20:53 +0200)] 
ARM/PPC: Detect more target arch variants. Detect console OS.

13 years agoAvoid potential store-forwarding stalls in GC marking.
Mike Pall [Sat, 9 Jun 2012 18:30:27 +0000 (20:30 +0200)] 
Avoid potential store-forwarding stalls in GC marking.

13 years agoFix check for minimum GCC version.
Mike Pall [Sat, 9 Jun 2012 15:29:54 +0000 (17:29 +0200)] 
Fix check for minimum GCC version.

13 years agoReorganize build process.
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.

13 years agoAdd minified Lua interpreter (minilua). Used by the build process.
Mike Pall [Sat, 9 Jun 2012 13:02:02 +0000 (15:02 +0200)] 
Add minified Lua interpreter (minilua). Used by the build process.

13 years agoDynASM: Compatibility with minilua.
Mike Pall [Sat, 9 Jun 2012 12:41:44 +0000 (14:41 +0200)] 
DynASM: Compatibility with minilua.

13 years agoFFI: Fix address calculation for refs.
Mike Pall [Fri, 8 Jun 2012 22:19:32 +0000 (00:19 +0200)] 
FFI: Fix address calculation for refs.

Fixes bug introduced in commit 5032e6d8.

13 years agoMove lib/* to src/jit/*.
Mike Pall [Fri, 8 Jun 2012 18:54:47 +0000 (20:54 +0200)] 
Move lib/* to src/jit/*.

13 years agoCorrectly preserve snapshot #0 PC for root traces (insert NOP).
Mike Pall [Fri, 8 Jun 2012 17:22:59 +0000 (19:22 +0200)] 
Correctly preserve snapshot #0 PC for root traces (insert NOP).

13 years agoRearrange OSX vs. iOS defines. Disable callbacks on iOS.
Mike Pall [Fri, 8 Jun 2012 09:57:44 +0000 (11:57 +0200)] 
Rearrange OSX vs. iOS defines. Disable callbacks on iOS.

13 years agoLink to LuaJIT Roadmap 2012/2013.
Mike Pall [Thu, 7 Jun 2012 21:45:32 +0000 (23:45 +0200)] 
Link to LuaJIT Roadmap 2012/2013.

13 years agoPrint version and JIT status to stdout, not stderr.
Mike Pall [Wed, 6 Jun 2012 12:17:15 +0000 (14:17 +0200)] 
Print version and JIT status to stdout, not stderr.

13 years agoSplit-off large-file support flags to TARGET_LFSFLAGS.
Mike Pall [Mon, 4 Jun 2012 22:12:43 +0000 (00:12 +0200)] 
Split-off large-file support flags to TARGET_LFSFLAGS.

13 years agoAdd uninstall target to top-level Makefile.
Mike Pall [Mon, 4 Jun 2012 22:12:18 +0000 (00:12 +0200)] 
Add uninstall target to top-level Makefile.

13 years agoMIPS: Support generation of mips/mipsel bytecode object files.
Mike Pall [Mon, 4 Jun 2012 15:23:48 +0000 (17:23 +0200)] 
MIPS: Support generation of mips/mipsel bytecode object files.

13 years agoFFI: Use CNEWI/FLOAD to box/access ffi.new("int", x) (for varargs).
Mike Pall [Mon, 4 Jun 2012 13:39:16 +0000 (15:39 +0200)] 
FFI: Use CNEWI/FLOAD to box/access ffi.new("int", x) (for varargs).

13 years agoLink to LuaJIT wiki.
Mike Pall [Thu, 31 May 2012 21:54:44 +0000 (23:54 +0200)] 
Link to LuaJIT wiki.

13 years agoFFI: Convert io.* file handle to FILE * pointer (but as a void *).
Mike Pall [Tue, 29 May 2012 10:08:21 +0000 (12:08 +0200)] 
FFI: Convert io.* file handle to FILE * pointer (but as a void *).

13 years agoFix argument checks for coroutine.create().
Mike Pall [Mon, 28 May 2012 19:38:23 +0000 (21:38 +0200)] 
Fix argument checks for coroutine.create().

13 years agoPPC/e500: Fix tailcall from fast function (esp. tostring).
Mike Pall [Wed, 23 May 2012 20:21:33 +0000 (22:21 +0200)] 
PPC/e500: Fix tailcall from fast function (esp. tostring).

13 years agoFFI: Equality comparisons never raise an error.
Mike Pall [Wed, 23 May 2012 20:19:05 +0000 (22:19 +0200)] 
FFI: Equality comparisons never raise an error.

13 years agoPreserve snapshot #0 PC for root traces.
Mike Pall [Mon, 14 May 2012 15:35:05 +0000 (17:35 +0200)] 
Preserve snapshot #0 PC for root traces.

13 years agoFFI: Don't call FreeLibrary() on our own EXE/DLL.
Mike Pall [Mon, 14 May 2012 11:41:08 +0000 (13:41 +0200)] 
FFI: Don't call FreeLibrary() on our own EXE/DLL.

13 years agoARM/PPC/MIPS: Fix tailcall from fast function (esp. tostring).
Mike Pall [Thu, 10 May 2012 14:20:21 +0000 (16:20 +0200)] 
ARM/PPC/MIPS: Fix tailcall from fast function (esp. tostring).

13 years agoARM: Fix modulo operator and math.floor/ceil for inf/nan.
Mike Pall [Thu, 10 May 2012 14:19:07 +0000 (16:19 +0200)] 
ARM: Fix modulo operator and math.floor/ceil for inf/nan.

13 years agoARM: Fix tonumber() argument check.
Mike Pall [Thu, 10 May 2012 14:16:42 +0000 (16:16 +0200)] 
ARM: Fix tonumber() argument check.

13 years agoRELEASE LuaJIT-2.0.0-beta10 v2.0.0-beta10
Mike Pall [Wed, 9 May 2012 16:11:35 +0000 (18:11 +0200)] 
RELEASE LuaJIT-2.0.0-beta10

13 years agoRemove stray comment.
Mike Pall [Wed, 9 May 2012 15:53:05 +0000 (17:53 +0200)] 
Remove stray comment.

13 years agoUpdate changelog.
Mike Pall [Wed, 9 May 2012 15:46:58 +0000 (17:46 +0200)] 
Update changelog.

13 years agoFix typo.
Mike Pall [Wed, 9 May 2012 15:22:11 +0000 (17:22 +0200)] 
Fix typo.

13 years agoFFI: Fix recording of test for bool result of call.
Mike Pall [Wed, 9 May 2012 14:25:51 +0000 (16:25 +0200)] 
FFI: Fix recording of test for bool result of call.

13 years agoFFI: Don't record test for bool result of call, if ignored.
Mike Pall [Tue, 8 May 2012 16:57:20 +0000 (18:57 +0200)] 
FFI: Don't record test for bool result of call, if ignored.

13 years agoFFI: Allow 'typedef _Bool int BOOL;' to make Windows users happy.
Mike Pall [Tue, 8 May 2012 16:34:12 +0000 (18:34 +0200)] 
FFI: Allow 'typedef _Bool int BOOL;' to make Windows users happy.

13 years agoFix PHI stack slot syncing.
Mike Pall [Mon, 7 May 2012 21:16:19 +0000 (23:16 +0200)] 
Fix PHI stack slot syncing.

13 years agoFFI: Use correct PC in FFI metamethod error message.
Mike Pall [Sat, 5 May 2012 20:58:29 +0000 (22:58 +0200)] 
FFI: Use correct PC in FFI metamethod error message.

13 years agoAdd links to LuaJIT mailing list.
Mike Pall [Fri, 4 May 2012 19:58:52 +0000 (21:58 +0200)] 
Add links to LuaJIT mailing list.

13 years agoDisable loading bytecode with an extra header (BOM or #!).
Mike Pall [Thu, 3 May 2012 17:04:44 +0000 (19:04 +0200)] 
Disable loading bytecode with an extra header (BOM or #!).

13 years agoARM: Fix compilation of math.sinh/cosh/tanh.
Mike Pall [Mon, 30 Apr 2012 15:09:41 +0000 (17:09 +0200)] 
ARM: Fix compilation of math.sinh/cosh/tanh.

13 years agoARM: Fix rejoin of pow in SPLIT pass.
Mike Pall [Mon, 30 Apr 2012 10:59:45 +0000 (12:59 +0200)] 
ARM: Fix rejoin of pow in SPLIT pass.

13 years agoARM: Handle all CALL* ops with double results in SPLIT pass.
Mike Pall [Sun, 29 Apr 2012 19:25:46 +0000 (21:25 +0200)] 
ARM: Handle all CALL* ops with double results in SPLIT pass.

13 years agoAdd more comparison variants to Valgrind suppressions file.
Mike Pall [Thu, 26 Apr 2012 21:47:00 +0000 (23:47 +0200)] 
Add more comparison variants to Valgrind suppressions file.

13 years agoARM/FFI: Invoke SPLIT pass for double args in FFI call.
Mike Pall [Thu, 26 Apr 2012 21:35:34 +0000 (23:35 +0200)] 
ARM/FFI: Invoke SPLIT pass for double args in FFI call.

13 years agoARM: Fix conditional branch fixup for OBAR.
Mike Pall [Thu, 26 Apr 2012 21:34:54 +0000 (23:34 +0200)] 
ARM: Fix conditional branch fixup for OBAR.

13 years agoARM: Fix register allocation for ldrd-optimized HREFK.
Mike Pall [Thu, 26 Apr 2012 21:33:56 +0000 (23:33 +0200)] 
ARM: Fix register allocation for ldrd-optimized HREFK.

13 years agoARM: Reorder type/value tests to silence Valgrind.
Mike Pall [Thu, 26 Apr 2012 21:31:10 +0000 (23:31 +0200)] 
ARM: Reorder type/value tests to silence Valgrind.

13 years agoFFI: Clarify docs wrt. 'local ffi = ...' and the interactive prompt.
Mike Pall [Thu, 19 Apr 2012 13:19:41 +0000 (15:19 +0200)] 
FFI: Clarify docs wrt. 'local ffi = ...' and the interactive prompt.

13 years agoUpdate changelog.
Mike Pall [Thu, 19 Apr 2012 13:19:25 +0000 (15:19 +0200)] 
Update changelog.

13 years agoAdd required PHIs for implicit conversions (via XREF fwd).
Mike Pall [Thu, 19 Apr 2012 13:05:55 +0000 (15:05 +0200)] 
Add required PHIs for implicit conversions (via XREF fwd).

13 years agoFFI: Fix result type of pointer difference.
Mike Pall [Tue, 17 Apr 2012 10:54:38 +0000 (12:54 +0200)] 
FFI: Fix result type of pointer difference.

13 years agoFix dependencies.
Mike Pall [Tue, 17 Apr 2012 10:37:34 +0000 (12:37 +0200)] 
Fix dependencies.

13 years agoFFI: Fix blacklisting of C functions calling callbacks.
Mike Pall [Thu, 12 Apr 2012 12:21:41 +0000 (14:21 +0200)] 
FFI: Fix blacklisting of C functions calling callbacks.

13 years agoMake lua_concat() work from C hook with partial frame.
Mike Pall [Thu, 12 Apr 2012 10:02:38 +0000 (12:02 +0200)] 
Make lua_concat() work from C hook with partial frame.

13 years agoFix DSE of USTORE. Have to remove OBAR, too.
Mike Pall [Wed, 11 Apr 2012 14:22:05 +0000 (16:22 +0200)] 
Fix DSE of USTORE. Have to remove OBAR, too.

13 years agoFix bytecode JMP slot range after const + and/or optimization.
Mike Pall [Wed, 11 Apr 2012 13:17:11 +0000 (15:17 +0200)] 
Fix bytecode JMP slot range after const + and/or optimization.

13 years agoLimit number of userdata __gc separations at state close.
Mike Pall [Wed, 11 Apr 2012 13:15:50 +0000 (15:15 +0200)] 
Limit number of userdata __gc separations at state close.

13 years agoEnsure running __gc of userdata created in __gc at state close.
Mike Pall [Wed, 11 Apr 2012 10:08:09 +0000 (12:08 +0200)] 
Ensure running __gc of userdata created in __gc at state close.

13 years agoFix discharge order of comparisons in Lua parser.
Mike Pall [Mon, 9 Apr 2012 12:48:27 +0000 (14:48 +0200)] 
Fix discharge order of comparisons in Lua parser.

13 years agoMIPS: Update docs.
Mike Pall [Mon, 2 Apr 2012 18:31:50 +0000 (20:31 +0200)] 
MIPS: Update docs.

13 years agoMIPS: Add support for GDB JIT API.
Mike Pall [Sun, 1 Apr 2012 18:01:13 +0000 (20:01 +0200)] 
MIPS: Add support for GDB JIT API.

13 years agoFFI: Fix symbol resolving error messages on Windows.
Mike Pall [Sat, 31 Mar 2012 20:20:03 +0000 (22:20 +0200)] 
FFI: Fix symbol resolving error messages on Windows.

13 years agoFFI: Fix resolving of function name redirects on Windows/x86.
Mike Pall [Sat, 31 Mar 2012 20:19:47 +0000 (22:19 +0200)] 
FFI: Fix resolving of function name redirects on Windows/x86.

13 years agoMIPS: Integrate and enable JIT compiler.
Mike Pall [Thu, 29 Mar 2012 23:36:55 +0000 (01:36 +0200)] 
MIPS: Integrate and enable JIT compiler.

13 years agoMIPS: Add MIPS32R2 compile-time/runtime CPU detection.
Mike Pall [Thu, 29 Mar 2012 23:34:17 +0000 (01:34 +0200)] 
MIPS: Add MIPS32R2 compile-time/runtime CPU detection.

13 years agoMIPS: Interpreter/JIT integration
Mike Pall [Thu, 29 Mar 2012 23:33:07 +0000 (01:33 +0200)] 
MIPS: Interpreter/JIT integration