]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
14 years agoAdd remark about target OS to cross-compilation instructions.
Mike Pall [Mon, 18 Apr 2011 15:20:59 +0000 (17:20 +0200)] 
Add remark about target OS to cross-compilation instructions.

14 years agoARM: Add install docs.
Mike Pall [Sun, 17 Apr 2011 10:48:28 +0000 (12:48 +0200)] 
ARM: Add install docs.

14 years agoAdd common TARGET_FLAGS option to Makefile.
Mike Pall [Sun, 17 Apr 2011 10:48:01 +0000 (12:48 +0200)] 
Add common TARGET_FLAGS option to Makefile.

14 years agoARM: Enable ARM port.
Mike Pall [Sun, 17 Apr 2011 00:35:12 +0000 (02:35 +0200)] 
ARM: Enable ARM port.

14 years agoARM: Normalize results of math.floor()/ceil() fast functions.
Mike Pall [Sun, 17 Apr 2011 00:31:00 +0000 (02:31 +0200)] 
ARM: Normalize results of math.floor()/ceil() fast functions.

14 years agoARM: Misc. fixes for interpreter.
Mike Pall [Sat, 16 Apr 2011 21:31:30 +0000 (23:31 +0200)] 
ARM: Misc. fixes for interpreter.

14 years agoARM: Add integer variant of modulo operator.
Mike Pall [Sat, 16 Apr 2011 21:29:57 +0000 (23:29 +0200)] 
ARM: Add integer variant of modulo operator.

14 years agoARM: Add partial support for FFI.
Mike Pall [Sat, 16 Apr 2011 21:28:51 +0000 (23:28 +0200)] 
ARM: Add partial support for FFI.

14 years agoARM: Add coroutine.resume/wrap_aux/yield() fast functions.
Mike Pall [Sat, 16 Apr 2011 21:26:11 +0000 (23:26 +0200)] 
ARM: Add coroutine.resume/wrap_aux/yield() fast functions.

14 years agoFFI: Fix arithmetic ctype metamethods for references.
Mike Pall [Fri, 15 Apr 2011 17:02:47 +0000 (19:02 +0200)] 
FFI: Fix arithmetic ctype metamethods for references.

14 years agoFFI: Fix cdata finalization.
Mike Pall [Wed, 13 Apr 2011 19:37:54 +0000 (21:37 +0200)] 
FFI: Fix cdata finalization.

14 years agoPPC: Fix L->status for resume after yield.
Mike Pall [Wed, 13 Apr 2011 00:27:19 +0000 (02:27 +0200)] 
PPC: Fix L->status for resume after yield.

14 years agoARM: Add BC_VARG and BC_TSETM.
Mike Pall [Wed, 13 Apr 2011 00:24:56 +0000 (02:24 +0200)] 
ARM: Add BC_VARG and BC_TSETM.

14 years agoARM: Add dispatch targets for hooks.
Mike Pall [Wed, 13 Apr 2011 00:24:18 +0000 (02:24 +0200)] 
ARM: Add dispatch targets for hooks.

14 years agoARM: Add modulo subroutine and temp. math.floor()/math.ceil().
Mike Pall [Wed, 13 Apr 2011 00:22:59 +0000 (02:22 +0200)] 
ARM: Add modulo subroutine and temp. math.floor()/math.ceil().

14 years agoFFI: Add ctype metamethods and ffi.metatype().
Mike Pall [Tue, 12 Apr 2011 17:15:00 +0000 (19:15 +0200)] 
FFI: Add ctype metamethods and ffi.metatype().

14 years agoAdd support for tailcalls from internal C functions.
Mike Pall [Tue, 12 Apr 2011 17:12:29 +0000 (19:12 +0200)] 
Add support for tailcalls from internal C functions.

PPC: Fix __call metamethod for tailcalls.

14 years agoOptimize lookups in empty proxy tables.
Mike Pall [Sun, 10 Apr 2011 19:43:21 +0000 (21:43 +0200)] 
Optimize lookups in empty proxy tables.

14 years agoAvoid phantom stores to proxy tables.
Mike Pall [Sun, 10 Apr 2011 19:41:58 +0000 (21:41 +0200)] 
Avoid phantom stores to proxy tables.

14 years agoInline lj_gc_barrierback().
Mike Pall [Sun, 10 Apr 2011 18:45:36 +0000 (20:45 +0200)] 
Inline lj_gc_barrierback().

14 years agoFix recording of JLOOP with higher maxslot.
Mike Pall [Sun, 10 Apr 2011 16:00:08 +0000 (18:00 +0200)] 
Fix recording of JLOOP with higher maxslot.

14 years agoPPC: Misc. fixes for interpreter.
Mike Pall [Sun, 10 Apr 2011 15:03:36 +0000 (17:03 +0200)] 
PPC: Misc. fixes for interpreter.

14 years agoARM: Misc. fixes for interpreter.
Mike Pall [Sun, 10 Apr 2011 15:00:32 +0000 (17:00 +0200)] 
ARM: Misc. fixes for interpreter.

14 years agoARM: Add string.* fast functions and GC steps.
Mike Pall [Sun, 10 Apr 2011 14:59:38 +0000 (16:59 +0200)] 
ARM: Add string.* fast functions and GC steps.

14 years agoARM: Add rawget() fast function.
Mike Pall [Sun, 10 Apr 2011 14:59:00 +0000 (16:59 +0200)] 
ARM: Add rawget() fast function.

14 years agoUse lj_vm_tobit() on targets without FPU.
Mike Pall [Sun, 10 Apr 2011 14:57:09 +0000 (16:57 +0200)] 
Use lj_vm_tobit() on targets without FPU.

14 years agoARM: Add bit.* fast functions and lj_vm_tobit().
Mike Pall [Sun, 10 Apr 2011 14:56:13 +0000 (16:56 +0200)] 
ARM: Add bit.* fast functions and lj_vm_tobit().

14 years agoARM: Add GPR variants for shift aliases to DynASM.
Mike Pall [Sun, 10 Apr 2011 14:50:04 +0000 (16:50 +0200)] 
ARM: Add GPR variants for shift aliases to DynASM.

14 years agoARM: Misc. fixes for interpreter.
Mike Pall [Fri, 8 Apr 2011 01:02:26 +0000 (03:02 +0200)] 
ARM: Misc. fixes for interpreter.

14 years agoARM: Add BC_CAT and lj_cont_cat.
Mike Pall [Fri, 8 Apr 2011 01:01:37 +0000 (03:01 +0200)] 
ARM: Add BC_CAT and lj_cont_cat.

14 years agoARM: Add missing metamethod handlers and continuations.
Mike Pall [Fri, 8 Apr 2011 00:57:22 +0000 (02:57 +0200)] 
ARM: Add missing metamethod handlers and continuations.

14 years agoARM: Add tailcall instructions.
Mike Pall [Fri, 8 Apr 2011 00:54:11 +0000 (02:54 +0200)] 
ARM: Add tailcall instructions.

14 years agoARM: Add table.getn() fast function.
Mike Pall [Fri, 8 Apr 2011 00:52:24 +0000 (02:52 +0200)] 
ARM: Add table.getn() fast function.

14 years agoARM: Add upvalue get/set and closure-related instructions.
Mike Pall [Fri, 8 Apr 2011 00:50:56 +0000 (02:50 +0200)] 
ARM: Add upvalue get/set and closure-related instructions.

14 years agoARM: Add test/copy and comparison instructions.
Mike Pall [Fri, 8 Apr 2011 00:48:55 +0000 (02:48 +0200)] 
ARM: Add test/copy and comparison instructions.

14 years agoARM: Add math.* fast functions.
Mike Pall [Fri, 8 Apr 2011 00:47:19 +0000 (02:47 +0200)] 
ARM: Add math.* fast functions.

14 years agoARM: Add getmetatable(), setmetatable() and tonumber() fast functions.
Mike Pall [Fri, 8 Apr 2011 00:42:04 +0000 (02:42 +0200)] 
ARM: Add getmetatable(), setmetatable() and tonumber() fast functions.

14 years agoARM: Handle stack growth during function calls.
Mike Pall [Fri, 8 Apr 2011 00:44:56 +0000 (02:44 +0200)] 
ARM: Handle stack growth during function calls.

14 years agoARM: Add pc-relative loads to DynASM.
Mike Pall [Fri, 8 Apr 2011 00:44:21 +0000 (02:44 +0200)] 
ARM: Add pc-relative loads to DynASM.

14 years agoARM: Add build rules (still disabled).
Mike Pall [Thu, 7 Apr 2011 14:08:34 +0000 (16:08 +0200)] 
ARM: Add build rules (still disabled).

14 years agoFFI: Register the FFI library as a loaded module in luaopen_ffi().
Mike Pall [Tue, 5 Apr 2011 23:31:21 +0000 (01:31 +0200)] 
FFI: Register the FFI library as a loaded module in luaopen_ffi().

Allows loading it on startup like other libraries in lib_init.c.

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.