]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
14 years agoRemove links to shootout.
Mike Pall [Tue, 5 Apr 2011 19:23:44 +0000 (21:23 +0200)] 
Remove links to shootout.

14 years agoFuse XLOAD/XSTORE operands more aggressively.
Mike Pall [Tue, 5 Apr 2011 14:32:27 +0000 (16:32 +0200)] 
Fuse XLOAD/XSTORE operands more aggressively.

14 years agoAdd FOLD rule for FLOAT->NUM->FLOAT conversions.
Mike Pall [Tue, 5 Apr 2011 14:31:48 +0000 (16:31 +0200)] 
Add FOLD rule for FLOAT->NUM->FLOAT conversions.

14 years agoFix code generation for PHIs with type IRT_FLOAT.
Mike Pall [Tue, 5 Apr 2011 14:29:40 +0000 (16:29 +0200)] 
Fix code generation for PHIs with type IRT_FLOAT.

14 years agox64: Fix getmetatable(lightuserdata).
Mike Pall [Tue, 5 Apr 2011 10:59:03 +0000 (12:59 +0200)] 
x64: Fix getmetatable(lightuserdata).

14 years agoARM: Finish basic table indexing and add metamethod handlers.
Mike Pall [Mon, 4 Apr 2011 22:25:31 +0000 (00:25 +0200)] 
ARM: Finish basic table indexing and add metamethod handlers.

14 years agoARM: Add assert() and type() fast functions.
Mike Pall [Mon, 4 Apr 2011 22:24:23 +0000 (00:24 +0200)] 
ARM: Add assert() and type() fast functions.

14 years agoARM: Add pcall() and xpcall() fast functions and unwinders.
Mike Pall [Mon, 4 Apr 2011 22:23:05 +0000 (00:23 +0200)] 
ARM: Add pcall() and xpcall() fast functions and unwinders.

14 years agoPPC: Minor cleanups of interpreter.
Mike Pall [Sun, 3 Apr 2011 23:58:56 +0000 (01:58 +0200)] 
PPC: Minor cleanups of interpreter.

14 years agoARM: Add fast functions pairs()/next() and ipairs() + iterator.
Mike Pall [Sun, 3 Apr 2011 23:56:41 +0000 (01:56 +0200)] 
ARM: Add fast functions pairs()/next() and ipairs() + iterator.

14 years agoARM: Add tostring() fast function.
Mike Pall [Sun, 3 Apr 2011 23:55:41 +0000 (01:55 +0200)] 
ARM: Add tostring() fast function.

14 years agoARM: Add basic infrastructure for fast functions.
Mike Pall [Sun, 3 Apr 2011 23:54:56 +0000 (01:54 +0200)] 
ARM: Add basic infrastructure for fast functions.

14 years agoARM: Add table indexing with string keys. Add get global.
Mike Pall [Sun, 3 Apr 2011 23:51:29 +0000 (01:51 +0200)] 
ARM: Add table indexing with string keys. Add get global.

14 years agoARM: Add table constructors.
Mike Pall [Sun, 3 Apr 2011 23:49:24 +0000 (01:49 +0200)] 
ARM: Add table constructors.

14 years agoARM: Add call and iterator call instructions.
Mike Pall [Sun, 3 Apr 2011 23:47:23 +0000 (01:47 +0200)] 
ARM: Add call and iterator call instructions.

14 years agoARM: Add missing parts of return handling.
Mike Pall [Sun, 3 Apr 2011 23:46:08 +0000 (01:46 +0200)] 
ARM: Add missing parts of return handling.

14 years agoARM: Minor fixes and cleanups for type checks.
Mike Pall [Sun, 3 Apr 2011 23:44:54 +0000 (01:44 +0200)] 
ARM: Minor fixes and cleanups for type checks.

14 years agoARM: Don't conditionalize non-opcodes in DynASM.
Mike Pall [Sun, 3 Apr 2011 23:39:19 +0000 (01:39 +0200)] 
ARM: Don't conditionalize non-opcodes in DynASM.

14 years agoARM: Fix escaping of opcodes in DynASM.
Mike Pall [Sun, 3 Apr 2011 18:49:51 +0000 (20:49 +0200)] 
ARM: Fix escaping of opcodes in DynASM.

14 years agoARM: Add binary arithmetic instructions.
Mike Pall [Wed, 30 Mar 2011 19:56:05 +0000 (21:56 +0200)] 
ARM: Add binary arithmetic instructions.

14 years agoARM: Add basic loop and branch instructions.
Mike Pall [Wed, 30 Mar 2011 19:54:33 +0000 (21:54 +0200)] 
ARM: Add basic loop and branch instructions.

14 years agoARM: Add basic unary bytecode instructions.
Mike Pall [Tue, 29 Mar 2011 00:31:47 +0000 (02:31 +0200)] 
ARM: Add basic unary bytecode instructions.

14 years agoARM: Add support to call Lua functions and return from them.
Mike Pall [Tue, 29 Mar 2011 00:30:41 +0000 (02:30 +0200)] 
ARM: Add support to call Lua functions and return from them.

14 years agoARM: Add support to call C functions.
Mike Pall [Tue, 29 Mar 2011 00:29:27 +0000 (02:29 +0200)] 
ARM: Add support to call C functions.

14 years agoARM: Add entry and exit points into VM. Add type check macros.
Mike Pall [Tue, 29 Mar 2011 00:24:35 +0000 (02:24 +0200)] 
ARM: Add entry and exit points into VM. Add type check macros.

14 years agoARM: Add frame unwind info for assembler part.
Mike Pall [Tue, 29 Mar 2011 00:23:05 +0000 (02:23 +0200)] 
ARM: Add frame unwind info for assembler part.

14 years agoARM: Add instruction/call decode + dispatch macros.
Mike Pall [Tue, 29 Mar 2011 00:26:09 +0000 (02:26 +0200)] 
ARM: Add instruction/call decode + dispatch macros.

14 years agoARM: Add register assignments, type definitions and stack layout.
Mike Pall [Tue, 29 Mar 2011 00:18:36 +0000 (02:18 +0200)] 
ARM: Add register assignments, type definitions and stack layout.

14 years agoAvoid compiler warning.
Mike Pall [Mon, 28 Mar 2011 17:22:17 +0000 (19:22 +0200)] 
Avoid compiler warning.

14 years agoClean up DynASM glue macros. Thanks to Josh Haberman.
Mike Pall [Mon, 28 Mar 2011 13:06:30 +0000 (15:06 +0200)] 
Clean up DynASM glue macros. Thanks to Josh Haberman.

14 years agoARM: Add skeleton for ARM interpreter.
Mike Pall [Sat, 26 Mar 2011 17:42:41 +0000 (18:42 +0100)] 
ARM: Add skeleton for ARM interpreter.

14 years agoARM: Add support for ARM relocations to buildvm.
Mike Pall [Sat, 26 Mar 2011 17:40:11 +0000 (18:40 +0100)] 
ARM: Add support for ARM relocations to buildvm.

14 years agoARM: Add DynASM ARM module and encoding engine.
Mike Pall [Wed, 23 Mar 2011 00:25:14 +0000 (01:25 +0100)] 
ARM: Add DynASM ARM module and encoding engine.

14 years agoDUALNUM: Fix narrowing of unary minus.
Mike Pall [Sat, 19 Mar 2011 16:46:10 +0000 (17:46 +0100)] 
DUALNUM: Fix narrowing of unary minus.

14 years agoFix data-flow analysis for BC_ITERC.
Mike Pall [Sat, 19 Mar 2011 16:30:15 +0000 (17:30 +0100)] 
Fix data-flow analysis for BC_ITERC.

14 years agox64: Use external unwinding for lua_yield().
Mike Pall [Fri, 18 Mar 2011 22:38:05 +0000 (23:38 +0100)] 
x64: Use external unwinding for lua_yield().

14 years agoFFI: Fix marking of ffi.gc() finalizer table.
Mike Pall [Thu, 17 Mar 2011 16:31:48 +0000 (17:31 +0100)] 
FFI: Fix marking of ffi.gc() finalizer table.

14 years agox64: Workaround for libgcc unwind bug (still present in RHEL 5.5).
Mike Pall [Thu, 17 Mar 2011 15:05:04 +0000 (16:05 +0100)] 
x64: Workaround for libgcc unwind bug (still present in RHEL 5.5).

14 years agoDUALNUM: Narrow result of math.floor() and math.ceil().
Mike Pall [Tue, 15 Mar 2011 17:15:42 +0000 (18:15 +0100)] 
DUALNUM: Narrow result of math.floor() and math.ceil().

14 years agoDUALNUM: Narrow unary minus.
Mike Pall [Tue, 15 Mar 2011 16:56:55 +0000 (17:56 +0100)] 
DUALNUM: Narrow unary minus.

14 years agoFFI: Force snapshot after C call to preserve semantics.
Mike Pall [Tue, 15 Mar 2011 13:56:42 +0000 (14:56 +0100)] 
FFI: Force snapshot after C call to preserve semantics.

14 years agoDUALNUM: Add integer variant of MIN/MAX.
Mike Pall [Fri, 11 Mar 2011 22:28:46 +0000 (23:28 +0100)] 
DUALNUM: Add integer variant of MIN/MAX.

14 years agoGet rid of the remaining silly cast macros from Lua.
Mike Pall [Thu, 10 Mar 2011 01:13:43 +0000 (02:13 +0100)] 
Get rid of the remaining silly cast macros from Lua.

14 years agoDUALNUM: Handle integer type in JIT compiler.
Mike Pall [Thu, 10 Mar 2011 00:57:24 +0000 (01:57 +0100)] 
DUALNUM: Handle integer type in JIT compiler.

14 years agoFFI: Fix and optimize recording of cdata[cdata].
Mike Pall [Thu, 10 Mar 2011 00:41:58 +0000 (01:41 +0100)] 
FFI: Fix and optimize recording of cdata[cdata].

14 years agox86/x64: Fix code generation for fused IR_MUL/IR_MULOV.
Mike Pall [Thu, 10 Mar 2011 00:09:18 +0000 (01:09 +0100)] 
x86/x64: Fix code generation for fused IR_MUL/IR_MULOV.

14 years agoFFI: Fix x86 code generation for ffi.string().
Mike Pall [Wed, 9 Mar 2011 23:57:02 +0000 (00:57 +0100)] 
FFI: Fix x86 code generation for ffi.string().

14 years agoFix handling of err_loc() within cpcall frames.
Mike Pall [Wed, 9 Mar 2011 21:39:17 +0000 (22:39 +0100)] 
Fix handling of err_loc() within cpcall frames.

14 years agoDUALNUM: Add extra assertions to interpreter.
Mike Pall [Wed, 9 Mar 2011 21:38:53 +0000 (22:38 +0100)] 
DUALNUM: Add extra assertions to interpreter.

14 years agoFix code generation for bit.bnot().
Mike Pall [Mon, 7 Mar 2011 21:11:01 +0000 (22:11 +0100)] 
Fix code generation for bit.bnot().

14 years agoDUALNUM: Make overflow guards weak. Add IR_USE and IR_MULOV.
Mike Pall [Mon, 7 Mar 2011 19:21:38 +0000 (20:21 +0100)] 
DUALNUM: Make overflow guards weak. Add IR_USE and IR_MULOV.

14 years agoDUALNUM: Fix x87 code for BC_ISEQN/BC_ISNEN.
Mike Pall [Mon, 7 Mar 2011 19:12:39 +0000 (20:12 +0100)] 
DUALNUM: Fix x87 code for BC_ISEQN/BC_ISNEN.

14 years agoSuppress recording of retried fast functions.
Mike Pall [Mon, 7 Mar 2011 19:03:38 +0000 (20:03 +0100)] 
Suppress recording of retried fast functions.

14 years agoFix narrowing of POW.
Mike Pall [Thu, 3 Mar 2011 16:29:09 +0000 (17:29 +0100)] 
Fix narrowing of POW.

14 years agoFix code generation for Intel Atom in x64 mode.
Mike Pall [Wed, 2 Mar 2011 23:49:45 +0000 (00:49 +0100)] 
Fix code generation for Intel Atom in x64 mode.

14 years agoFFI: Resolve ld script redirection in ffi.load().
Mike Pall [Tue, 1 Mar 2011 11:31:16 +0000 (12:31 +0100)] 
FFI: Resolve ld script redirection in ffi.load().

14 years agoFFI: Fix compiled ffi.string() semantics.
Mike Pall [Mon, 28 Feb 2011 18:46:55 +0000 (19:46 +0100)] 
FFI: Fix compiled ffi.string() semantics.

14 years agoFFI: Add ffi.gc() function for finalization of cdata objects.
Mike Pall [Mon, 28 Feb 2011 15:48:13 +0000 (16:48 +0100)] 
FFI: Add ffi.gc() function for finalization of cdata objects.

14 years agoDUALNUM: Handle integer type in x86/x64 interpreter and libraries.
Mike Pall [Sun, 27 Feb 2011 00:36:59 +0000 (01:36 +0100)] 
DUALNUM: Handle integer type in x86/x64 interpreter and libraries.

14 years agoDUALNUM: Handle integer type in FFI.
Mike Pall [Sun, 27 Feb 2011 00:31:22 +0000 (01:31 +0100)] 
DUALNUM: Handle integer type in FFI.

14 years agox64: Improve accuracy of x^-k.
Mike Pall [Fri, 25 Feb 2011 10:46:29 +0000 (11:46 +0100)] 
x64: Improve accuracy of x^-k.

14 years agoFix table.maxn().
Mike Pall [Wed, 23 Feb 2011 13:52:50 +0000 (14:52 +0100)] 
Fix table.maxn().

14 years agoFFI: Record calls to functions with void results.
Mike Pall [Tue, 22 Feb 2011 23:28:49 +0000 (00:28 +0100)] 
FFI: Record calls to functions with void results.

14 years agoEliminate dead slots in snapshots using bytecode data-flow analysis.
Mike Pall [Tue, 22 Feb 2011 21:39:12 +0000 (22:39 +0100)] 
Eliminate dead slots in snapshots using bytecode data-flow analysis.

14 years agoFrom Lua 5.2: Support load(string).
Mike Pall [Sun, 20 Feb 2011 20:17:49 +0000 (21:17 +0100)] 
From Lua 5.2: Support load(string).

14 years agoFrom Lua 5.2: fp:read("*L").
Mike Pall [Sun, 20 Feb 2011 20:07:19 +0000 (21:07 +0100)] 
From Lua 5.2: fp:read("*L").

14 years agoFrom Lua 5.2: table.unpack(). Needs -DLUAJIT_ENABLE_LUA52COMPAT.
Mike Pall [Sun, 20 Feb 2011 19:53:09 +0000 (20:53 +0100)] 
From Lua 5.2: table.unpack(). Needs -DLUAJIT_ENABLE_LUA52COMPAT.

14 years agoFrom Lua 5.2: Add package.searchpath().
Mike Pall [Sun, 20 Feb 2011 19:48:13 +0000 (20:48 +0100)] 
From Lua 5.2: Add package.searchpath().

Thanks to F. Perrad.

14 years agoFrom Lua 5.2: Empty statement. Needs -DLUAJIT_ENABLE_LUA52COMPAT.
Mike Pall [Sun, 20 Feb 2011 19:38:36 +0000 (20:38 +0100)] 
From Lua 5.2: Empty statement. Needs -DLUAJIT_ENABLE_LUA52COMPAT.

14 years agoFrom Lua 5.2: coroutine.running(). Needs -DLUAJIT_ENABLE_LUA52COMPAT.
Mike Pall [Sun, 20 Feb 2011 19:33:00 +0000 (20:33 +0100)] 
From Lua 5.2: coroutine.running(). Needs -DLUAJIT_ENABLE_LUA52COMPAT.

14 years agoFFI: Fix recording of userdata conversions.
Mike Pall [Sun, 20 Feb 2011 01:13:32 +0000 (02:13 +0100)] 
FFI: Fix recording of userdata conversions.

14 years agoFFI: Fix 64 bit to 32 bit truncations on x64.
Mike Pall [Sat, 19 Feb 2011 23:18:46 +0000 (00:18 +0100)] 
FFI: Fix 64 bit to 32 bit truncations on x64.

14 years agoFFI: Fix recording of ffi.copy() and ffi.fill().
Mike Pall [Sat, 19 Feb 2011 22:04:16 +0000 (23:04 +0100)] 
FFI: Fix recording of ffi.copy() and ffi.fill().

14 years agoFFI: Improve conversion error messages.
Mike Pall [Sat, 19 Feb 2011 11:56:12 +0000 (12:56 +0100)] 
FFI: Improve conversion error messages.

14 years agoFFI: Fix docs about C bool -> Lua boolean conversion.
Mike Pall [Fri, 18 Feb 2011 19:35:44 +0000 (20:35 +0100)] 
FFI: Fix docs about C bool -> Lua boolean conversion.

Thanks to M. Kottman.

14 years agoDUALNUM: Add integer type to core VM.
Mike Pall [Wed, 16 Feb 2011 23:44:14 +0000 (00:44 +0100)] 
DUALNUM: Add integer type to core VM.

14 years agoDUALNUM: Add build infrastructure.
Mike Pall [Wed, 16 Feb 2011 23:42:57 +0000 (00:42 +0100)] 
DUALNUM: Add build infrastructure.

Note: DUALNUM is disabled by default and won't work yet.

14 years agoFFI: Fix management of C library handles for default namespace.
Mike Pall [Wed, 16 Feb 2011 22:52:18 +0000 (23:52 +0100)] 
FFI: Fix management of C library handles for default namespace.

14 years agoFix error handling within metamethods. Special-case FFI mm.
Mike Pall [Tue, 15 Feb 2011 23:38:23 +0000 (00:38 +0100)] 
Fix error handling within metamethods. Special-case FFI mm.

14 years agoAdd workaround for lj_meta_tset() newkey inconsistency.
Mike Pall [Tue, 15 Feb 2011 00:02:08 +0000 (01:02 +0100)] 
Add workaround for lj_meta_tset() newkey inconsistency.

14 years agoPPC: Disable FFI due to NYI: comparisons and calls.
Mike Pall [Mon, 14 Feb 2011 22:25:18 +0000 (23:25 +0100)] 
PPC: Disable FFI due to NYI: comparisons and calls.

14 years agoFix type mismatch in XSTORE forwarding.
Mike Pall [Mon, 14 Feb 2011 22:02:16 +0000 (23:02 +0100)] 
Fix type mismatch in XSTORE forwarding.

14 years agoRELEASE LuaJIT-2.0.0-beta6 v2.0.0-beta6
Mike Pall [Fri, 11 Feb 2011 15:28:37 +0000 (16:28 +0100)] 
RELEASE LuaJIT-2.0.0-beta6

14 years agoFFI: Disable unused code for some build modes.
Mike Pall [Fri, 11 Feb 2011 15:22:58 +0000 (16:22 +0100)] 
FFI: Disable unused code for some build modes.

14 years agoUpdate changelog.
Mike Pall [Fri, 11 Feb 2011 14:52:31 +0000 (15:52 +0100)] 
Update changelog.

14 years agoCleanup of docs.
Mike Pall [Fri, 11 Feb 2011 12:50:01 +0000 (13:50 +0100)] 
Cleanup of docs.

14 years agoFFI: Finish FFI docs.
Mike Pall [Fri, 11 Feb 2011 00:21:46 +0000 (01:21 +0100)] 
FFI: Finish FFI docs.

14 years agoFFI: Finish docs on FFI semantics. Phew.
Mike Pall [Thu, 10 Feb 2011 02:12:09 +0000 (03:12 +0100)] 
FFI: Finish docs on FFI semantics. Phew.

14 years agoFix various HTML errors in the docs.
Mike Pall [Thu, 10 Feb 2011 02:10:38 +0000 (03:10 +0100)] 
Fix various HTML errors in the docs.

14 years agoFFI: Add more docs on FFI semantics.
Mike Pall [Wed, 9 Feb 2011 00:26:02 +0000 (01:26 +0100)] 
FFI: Add more docs on FFI semantics.

14 years agoFFI: Document current FFI implementation status.
Mike Pall [Tue, 8 Feb 2011 00:20:53 +0000 (01:20 +0100)] 
FFI: Document current FFI implementation status.

14 years agoFix bytecode optimization of and/or operators.
Mike Pall [Tue, 8 Feb 2011 00:00:47 +0000 (01:00 +0100)] 
Fix bytecode optimization of and/or operators.

14 years agoFFI: Record ffi.abi().
Mike Pall [Mon, 7 Feb 2011 23:09:33 +0000 (00:09 +0100)] 
FFI: Record ffi.abi().

14 years agoFFI: Record ffi.copy() and ffi.fill().
Mike Pall [Mon, 7 Feb 2011 22:49:27 +0000 (23:49 +0100)] 
FFI: Record ffi.copy() and ffi.fill().

14 years agoFFI: Fix recording of pointer arithmetic.
Mike Pall [Mon, 7 Feb 2011 22:42:51 +0000 (23:42 +0100)] 
FFI: Fix recording of pointer arithmetic.

14 years agoAdd IR_XBAR, a barrier against XLOAD/XSTORE optimizations.
Mike Pall [Mon, 7 Feb 2011 20:59:25 +0000 (21:59 +0100)] 
Add IR_XBAR, a barrier against XLOAD/XSTORE optimizations.

14 years agoImprove static assertion macro.
Mike Pall [Mon, 7 Feb 2011 20:44:01 +0000 (21:44 +0100)] 
Improve static assertion macro.

14 years agoFFI: Allow cdata types for integer arguments of ffi.* functions.
Mike Pall [Mon, 7 Feb 2011 16:13:14 +0000 (17:13 +0100)] 
FFI: Allow cdata types for integer arguments of ffi.* functions.

14 years agoFFI: Fix handling of enum arguments to C calls.
Mike Pall [Mon, 7 Feb 2011 15:41:51 +0000 (16:41 +0100)] 
FFI: Fix handling of enum arguments to C calls.

14 years agoFFI: Perform stricter checks in ffi.cast(). Record ffi.cast().
Mike Pall [Sun, 6 Feb 2011 11:46:18 +0000 (12:46 +0100)] 
FFI: Perform stricter checks in ffi.cast(). Record ffi.cast().