]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
14 years agoFix compiler warning.
Mike Pall [Fri, 27 May 2011 00:01:36 +0000 (02:01 +0200)] 
Fix compiler warning.

14 years agoFix handling of number constants in snapshots in SPLIT pass.
Mike Pall [Thu, 26 May 2011 23:56:25 +0000 (01:56 +0200)] 
Fix handling of number constants in snapshots in SPLIT pass.

14 years agoARM: Fix rematerialization scheduler.
Mike Pall [Thu, 26 May 2011 16:05:19 +0000 (18:05 +0200)] 
ARM: Fix rematerialization scheduler.

14 years agoARM: Flush instruction cache in assembler backend.
Mike Pall [Thu, 26 May 2011 16:04:01 +0000 (18:04 +0200)] 
ARM: Flush instruction cache in assembler backend.

14 years agoTreat extra exit from stack check like a parent exit.
Mike Pall [Thu, 26 May 2011 16:02:42 +0000 (18:02 +0200)] 
Treat extra exit from stack check like a parent exit.

14 years agoSimplify helper routines for soft-float targets. Add POW rejoin.
Mike Pall [Thu, 26 May 2011 16:01:55 +0000 (18:01 +0200)] 
Simplify helper routines for soft-float targets. Add POW rejoin.

14 years agoARM: Add CPU detection.
Mike Pall [Thu, 26 May 2011 15:58:29 +0000 (17:58 +0200)] 
ARM: Add CPU detection.

14 years agoARM: Unify rotates to simplify assembler backend.
Mike Pall [Mon, 23 May 2011 18:20:34 +0000 (20:20 +0200)] 
ARM: Unify rotates to simplify assembler backend.

14 years agoFFI: Fix __gc for VLA/VLS cdata objects.
Mike Pall [Mon, 23 May 2011 00:43:36 +0000 (02:43 +0200)] 
FFI: Fix __gc for VLA/VLS cdata objects.

14 years agoGet register maps for jit.dump from target disassembler.
Mike Pall [Sun, 22 May 2011 16:33:33 +0000 (18:33 +0200)] 
Get register maps for jit.dump from target disassembler.

14 years agoARM: Add ARM disassembler.
Mike Pall [Sun, 22 May 2011 16:09:08 +0000 (18:09 +0200)] 
ARM: Add ARM disassembler.

14 years agoARM: Add ARM-specific tuning to generic assembler backend.
Mike Pall [Sun, 22 May 2011 15:54:28 +0000 (17:54 +0200)] 
ARM: Add ARM-specific tuning to generic assembler backend.

14 years agoARM: Add rematerialization scheduler for constants to backend.
Mike Pall [Sun, 22 May 2011 15:50:36 +0000 (17:50 +0200)] 
ARM: Add rematerialization scheduler for constants to backend.

14 years agoSplit up FP IR instructions with SPLIT pass for soft-float targets.
Mike Pall [Sun, 22 May 2011 15:41:59 +0000 (17:41 +0200)] 
Split up FP IR instructions with SPLIT pass for soft-float targets.

14 years agoMore portability cleanups for assembler backend.
Mike Pall [Sun, 22 May 2011 15:01:06 +0000 (17:01 +0200)] 
More portability cleanups for assembler backend.

14 years agoAdd missing guard to for loop argument conversion.
Mike Pall [Sun, 22 May 2011 14:47:55 +0000 (16:47 +0200)] 
Add missing guard to for loop argument conversion.

14 years agoMove IR_CALL* definitions to lj_ircall.h.
Mike Pall [Sun, 22 May 2011 14:19:53 +0000 (16:19 +0200)] 
Move IR_CALL* definitions to lj_ircall.h.

14 years agoPortability cleanups for assembler backend.
Mike Pall [Tue, 17 May 2011 19:26:00 +0000 (21:26 +0200)] 
Portability cleanups for assembler backend.

14 years agoClarify docs wrt. table initializer handling for VLA/VLS.
Mike Pall [Tue, 17 May 2011 15:58:26 +0000 (17:58 +0200)] 
Clarify docs wrt. table initializer handling for VLA/VLS.

14 years agoCleanup of target dependencies.
Mike Pall [Mon, 16 May 2011 17:31:07 +0000 (19:31 +0200)] 
Cleanup of target dependencies.

14 years agoAdd target-specific macro for stack alignment in assembler backend.
Mike Pall [Mon, 16 May 2011 00:43:14 +0000 (02:43 +0200)] 
Add target-specific macro for stack alignment in assembler backend.

14 years agoFix compiler warning.
Mike Pall [Mon, 16 May 2011 00:41:47 +0000 (02:41 +0200)] 
Fix compiler warning.

14 years agoARM: Add support for GDB JIT API.
Mike Pall [Mon, 16 May 2011 00:40:59 +0000 (02:40 +0200)] 
ARM: Add support for GDB JIT API.

14 years agoARM: Remove redundant parse_gpr() in DynASM.
Mike Pall [Mon, 16 May 2011 00:39:26 +0000 (02:39 +0200)] 
ARM: Remove redundant parse_gpr() in DynASM.

14 years agoARM: Add LJ_SOFTFP define. Add support for soft-float slot handling.
Mike Pall [Mon, 16 May 2011 00:38:07 +0000 (02:38 +0200)] 
ARM: Add LJ_SOFTFP define. Add support for soft-float slot handling.

14 years agoARM: Generalize machine code co-location. ARM has a +-32MB range.
Mike Pall [Mon, 16 May 2011 00:29:44 +0000 (02:29 +0200)] 
ARM: Generalize machine code co-location. ARM has a +-32MB range.

14 years agoMove x86/x64 parts of JIT assembler backend to extra files.
Mike Pall [Wed, 11 May 2011 23:35:09 +0000 (01:35 +0200)] 
Move x86/x64 parts of JIT assembler backend to extra files.

14 years agoDisentangle target-specific parts of JIT assembler backend.
Mike Pall [Wed, 11 May 2011 23:27:20 +0000 (01:27 +0200)] 
Disentangle target-specific parts of JIT assembler backend.

14 years agoTuning loop unrolling heuristics again.
Mike Pall [Tue, 10 May 2011 14:55:23 +0000 (16:55 +0200)] 
Tuning loop unrolling heuristics again.

14 years agoARM: Fix table/userdata equality comparisons in interpreter.
Mike Pall [Mon, 9 May 2011 20:41:12 +0000 (22:41 +0200)] 
ARM: Fix table/userdata equality comparisons in interpreter.

14 years agoARM: Interpreter/JIT integration, part #1.
Mike Pall [Mon, 9 May 2011 20:39:53 +0000 (22:39 +0200)] 
ARM: Interpreter/JIT integration, part #1.

14 years agoFix some portability issues with the JIT compiler.
Mike Pall [Mon, 9 May 2011 16:16:39 +0000 (18:16 +0200)] 
Fix some portability issues with the JIT compiler.

14 years agoUse common helper functions for unaligned loads.
Mike Pall [Mon, 9 May 2011 16:09:29 +0000 (18:09 +0200)] 
Use common helper functions for unaligned loads.

14 years agoFFI: Allow setting errno with ffi.errno(), too.
Mike Pall [Mon, 9 May 2011 09:51:19 +0000 (11:51 +0200)] 
FFI: Allow setting errno with ffi.errno(), too.

14 years agoFFI: Add ffi.errno().
Mike Pall [Sun, 8 May 2011 20:34:40 +0000 (22:34 +0200)] 
FFI: Add ffi.errno().

14 years agoFFI: Save errno/GetLastError() around allocations, hooks etc.
Mike Pall [Sun, 8 May 2011 20:33:04 +0000 (22:33 +0200)] 
FFI: Save errno/GetLastError() around allocations, hooks etc.

14 years agoAvoid name clash with Windows MM_MAX define.
Mike Pall [Sun, 8 May 2011 20:31:03 +0000 (22:31 +0200)] 
Avoid name clash with Windows MM_MAX define.

14 years agox86/x64: Fix bit.* argument checking.
Mike Pall [Fri, 6 May 2011 14:06:02 +0000 (16:06 +0200)] 
x86/x64: Fix bit.* argument checking.

14 years agoRELEASE LuaJIT-2.0.0-beta7 v2.0.0-beta7
Mike Pall [Thu, 5 May 2011 14:17:57 +0000 (16:17 +0200)] 
RELEASE LuaJIT-2.0.0-beta7

14 years agoUpdate changelog.
Mike Pall [Thu, 5 May 2011 13:53:36 +0000 (15:53 +0200)] 
Update changelog.

14 years agoImprove bytecode optimization of and/or operators.
Mike Pall [Thu, 5 May 2011 13:49:11 +0000 (15:49 +0200)] 
Improve bytecode optimization of and/or operators.

14 years agoMisc. updates to docs.
Mike Pall [Wed, 4 May 2011 23:15:22 +0000 (01:15 +0200)] 
Misc. updates to docs.

14 years agoFix compiler warning.
Mike Pall [Wed, 4 May 2011 21:45:02 +0000 (23:45 +0200)] 
Fix compiler warning.

14 years agoFFI: Fix field alignment for iOS.
Mike Pall [Wed, 4 May 2011 21:30:37 +0000 (23:30 +0200)] 
FFI: Fix field alignment for iOS.

14 years agoMore tuning of loop unrolling heuristics.
Mike Pall [Wed, 4 May 2011 21:21:46 +0000 (23:21 +0200)] 
More tuning of loop unrolling heuristics.

14 years agoFix stack slot updates for down-recursion.
Mike Pall [Wed, 4 May 2011 19:34:21 +0000 (21:34 +0200)] 
Fix stack slot updates for down-recursion.

14 years agoTune loop unrolling heuristics. Increase trace recorder limits.
Mike Pall [Tue, 3 May 2011 19:14:18 +0000 (21:14 +0200)] 
Tune loop unrolling heuristics. Increase trace recorder limits.

14 years agoFFI: Compile C function calls with 64 bit args/results in 32 bit mode.
Mike Pall [Fri, 29 Apr 2011 17:40:50 +0000 (19:40 +0200)] 
FFI: Compile C function calls with 64 bit args/results in 32 bit mode.

14 years agox86: Pop unused FP result from x87 stack.
Mike Pall [Fri, 29 Apr 2011 17:35:25 +0000 (19:35 +0200)] 
x86: Pop unused FP result from x87 stack.

14 years agoImprove target OS selection for buildvm.
Mike Pall [Fri, 29 Apr 2011 07:23:00 +0000 (09:23 +0200)] 
Improve target OS selection for buildvm.

14 years agoARM: Fix ABI and build issues for iOS. Now works on iOS 3.0+.
Mike Pall [Thu, 28 Apr 2011 17:41:34 +0000 (19:41 +0200)] 
ARM: Fix ABI and build issues for iOS. Now works on iOS 3.0+.

14 years agoDynASM: x86/x64: Fix vreg in opcode. x64: Fix imm "I" after abs addr.
Mike Pall [Thu, 28 Apr 2011 10:54:46 +0000 (12:54 +0200)] 
DynASM: x86/x64: Fix vreg in opcode. x64: Fix imm "I" after abs addr.

14 years agoARM: Use own lj_bswap(). Reduce min. req. version of GCC to 4.2.
Mike Pall [Thu, 28 Apr 2011 10:33:31 +0000 (12:33 +0200)] 
ARM: Use own lj_bswap(). Reduce min. req. version of GCC to 4.2.

14 years agoFFI: Add ffi.istype() function.
Mike Pall [Tue, 19 Apr 2011 23:53:26 +0000 (01:53 +0200)] 
FFI: Add ffi.istype() function.

14 years agoWorkaround to compile with Clang. Fix Clang warnings.
Mike Pall [Tue, 19 Apr 2011 15:12:41 +0000 (17:12 +0200)] 
Workaround to compile with Clang. Fix Clang warnings.

14 years agoFix compiler warning.
Mike Pall [Tue, 19 Apr 2011 14:19:34 +0000 (16:19 +0200)] 
Fix compiler warning.

14 years agoARM: Workaround for unaligned accesses.
Mike Pall [Tue, 19 Apr 2011 14:09:07 +0000 (16:09 +0200)] 
ARM: Workaround for unaligned accesses.

14 years agoARM: Allow compilation in thumb mode (CCOPT_ARM=-mthumb).
Mike Pall [Mon, 18 Apr 2011 21:44:06 +0000 (23:44 +0200)] 
ARM: Allow compilation in thumb mode (CCOPT_ARM=-mthumb).

14 years agoARM: Add missing FFI functionality. Enable FFI for ARM.
Mike Pall [Mon, 18 Apr 2011 19:23:21 +0000 (21:23 +0200)] 
ARM: Add missing FFI functionality. Enable FFI for ARM.

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.