]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
15 years agoAvoid warning.
Mike Pall [Mon, 6 Dec 2010 00:59:07 +0000 (01:59 +0100)] 
Avoid warning.

15 years agoAdd IR_XSTORE.
Mike Pall [Mon, 6 Dec 2010 00:48:19 +0000 (01:48 +0100)] 
Add IR_XSTORE.

15 years agoAdd minimal set of fold rules for KINT64.
Mike Pall [Sun, 5 Dec 2010 23:38:21 +0000 (00:38 +0100)] 
Add minimal set of fold rules for KINT64.

15 years agoAdd support for 64 bit integer arithmetic to x64 backend.
Mike Pall [Sun, 5 Dec 2010 23:07:36 +0000 (00:07 +0100)] 
Add support for 64 bit integer arithmetic to x64 backend.

15 years agoFix xmm spill/restore broken by b1fb71fb.
Mike Pall [Sun, 5 Dec 2010 21:39:36 +0000 (22:39 +0100)] 
Fix xmm spill/restore broken by b1fb71fb.

15 years agoAdd IR_KINT64.
Mike Pall [Sun, 5 Dec 2010 20:50:52 +0000 (21:50 +0100)] 
Add IR_KINT64.

15 years agoCleanup 64 bit IR type handling.
Mike Pall [Sun, 5 Dec 2010 18:49:29 +0000 (19:49 +0100)] 
Cleanup 64 bit IR type handling.

15 years agoRename IRT_PTR to IRT_P32.
Mike Pall [Sun, 5 Dec 2010 17:59:34 +0000 (18:59 +0100)] 
Rename IRT_PTR to IRT_P32.

15 years agoMake sure to use irt_toitype() macro everywhere.
Mike Pall [Sun, 5 Dec 2010 17:51:37 +0000 (18:51 +0100)] 
Make sure to use irt_toitype() macro everywhere.

15 years agoSplit off fast function recording to lj_ffrecord.c.
Mike Pall [Sun, 5 Dec 2010 16:12:34 +0000 (17:12 +0100)] 
Split off fast function recording to lj_ffrecord.c.

15 years agoWhitespace.
Mike Pall [Sun, 5 Dec 2010 00:14:18 +0000 (01:14 +0100)] 
Whitespace.

15 years agoDon't export internal symbol.
Mike Pall [Sun, 5 Dec 2010 00:04:15 +0000 (01:04 +0100)] 
Don't export internal symbol.

15 years agoFFI: Add ffi.* library.
Mike Pall [Sat, 4 Dec 2010 23:43:47 +0000 (00:43 +0100)] 
FFI: Add ffi.* library.

15 years agoFFI: Add support for converting cdata to tonumber().
Mike Pall [Sat, 4 Dec 2010 23:40:23 +0000 (00:40 +0100)] 
FFI: Add support for converting cdata to tonumber().

15 years agoFFI: Add C declaration parser.
Mike Pall [Sat, 4 Dec 2010 23:20:59 +0000 (00:20 +0100)] 
FFI: Add C declaration parser.

15 years agoFFI: Add C data handling and C type conversions.
Mike Pall [Sat, 4 Dec 2010 23:18:07 +0000 (00:18 +0100)] 
FFI: Add C data handling and C type conversions.

15 years agoFFI: Add C type management.
Mike Pall [Sat, 4 Dec 2010 23:11:35 +0000 (00:11 +0100)] 
FFI: Add C type management.

15 years agoPOSIX is an acronym.
Mike Pall [Sat, 4 Dec 2010 19:47:51 +0000 (20:47 +0100)] 
POSIX is an acronym.

15 years agoUndo ef8c2648.
Mike Pall [Fri, 3 Dec 2010 15:58:19 +0000 (16:58 +0100)] 
Undo ef8c2648.

15 years agoAllow access to raw error messages from outside lj_err.c.
Mike Pall [Wed, 1 Dec 2010 11:54:32 +0000 (12:54 +0100)] 
Allow access to raw error messages from outside lj_err.c.

15 years agoFFI: Add define to disable the FFI library.
Mike Pall [Tue, 30 Nov 2010 20:56:57 +0000 (21:56 +0100)] 
FFI: Add define to disable the FFI library.

15 years agoAdd support for deferred library loads to lib_init.c.
Mike Pall [Tue, 30 Nov 2010 20:56:03 +0000 (21:56 +0100)] 
Add support for deferred library loads to lib_init.c.

15 years agoFix check for enabled JIT compiler in lj_trace.h.
Mike Pall [Tue, 30 Nov 2010 17:32:22 +0000 (18:32 +0100)] 
Fix check for enabled JIT compiler in lj_trace.h.

15 years agoRearrange src/Makefile. Split features and debugging support.
Mike Pall [Tue, 30 Nov 2010 15:19:20 +0000 (16:19 +0100)] 
Rearrange src/Makefile. Split features and debugging support.

15 years agoUpdate copyright for Lua 5.2-derived features.
Mike Pall [Mon, 29 Nov 2010 16:31:45 +0000 (17:31 +0100)] 
Update copyright for Lua 5.2-derived features.

15 years agoDon't mark REF_BASE in DCE.
Mike Pall [Mon, 29 Nov 2010 15:00:44 +0000 (16:00 +0100)] 
Don't mark REF_BASE in DCE.

15 years agoAdd shorter defines for endianess checks.
Mike Pall [Sun, 28 Nov 2010 16:22:45 +0000 (17:22 +0100)] 
Add shorter defines for endianess checks.

15 years agoRemove metamethod frame for errors from internal metamethods.
Mike Pall [Sat, 27 Nov 2010 19:23:39 +0000 (20:23 +0100)] 
Remove metamethod frame for errors from internal metamethods.

15 years agoFFI: Don't propagate cdata objects.
Mike Pall [Fri, 26 Nov 2010 16:27:02 +0000 (17:27 +0100)] 
FFI: Don't propagate cdata objects.

15 years agoFFI: Add macros for consistent number to integer truncation.
Mike Pall [Fri, 26 Nov 2010 12:40:40 +0000 (13:40 +0100)] 
FFI: Add macros for consistent number to integer truncation.

15 years agoFFI: Add cdata object type.
Mike Pall [Fri, 26 Nov 2010 12:28:46 +0000 (13:28 +0100)] 
FFI: Add cdata object type.

15 years agoDisplay caller location in errors from metamethods.
Mike Pall [Fri, 26 Nov 2010 12:20:56 +0000 (13:20 +0100)] 
Display caller location in errors from metamethods.

15 years agoShrink slots for 'break' statement to help data-flow analysis.
Mike Pall [Thu, 25 Nov 2010 11:09:21 +0000 (12:09 +0100)] 
Shrink slots for 'break' statement to help data-flow analysis.

15 years agoImprove unrolling heuristics for non-looping inner loops.
Mike Pall [Thu, 25 Nov 2010 10:38:48 +0000 (11:38 +0100)] 
Improve unrolling heuristics for non-looping inner loops.

15 years agoSupport os.exit(status|true|false [,close]) (from Lua 5.2).
Mike Pall [Mon, 22 Nov 2010 21:39:06 +0000 (22:39 +0100)] 
Support os.exit(status|true|false [,close]) (from Lua 5.2).

15 years agoParse '\*' escape in strings (from Lua 5.2).
Mike Pall [Mon, 22 Nov 2010 21:22:12 +0000 (22:22 +0100)] 
Parse '\*' escape in strings (from Lua 5.2).

15 years agoTighter check on table.sort function compliance (from Lua 5.2).
Mike Pall [Fri, 19 Nov 2010 17:44:59 +0000 (18:44 +0100)] 
Tighter check on table.sort function compliance (from Lua 5.2).

15 years agoAdd support for "%g" character class in patterns (from Lua 5.2).
Mike Pall [Fri, 19 Nov 2010 17:37:10 +0000 (18:37 +0100)] 
Add support for "%g" character class in patterns (from Lua 5.2).

15 years agostring.format("%q", str) is now fully reversible (from Lua 5.2).
Mike Pall [Fri, 19 Nov 2010 17:22:08 +0000 (18:22 +0100)] 
string.format("%q", str) is now fully reversible (from Lua 5.2).

15 years agoParse hexadecimal escapes in strings (from Lua 5.2).
Mike Pall [Fri, 19 Nov 2010 16:39:33 +0000 (17:39 +0100)] 
Parse hexadecimal escapes in strings (from Lua 5.2).

15 years agoDisable Lua 5.2 features by default. See -DLUAJIT_ENABLE_LUA52COMPAT.
Mike Pall [Fri, 19 Nov 2010 16:00:11 +0000 (17:00 +0100)] 
Disable Lua 5.2 features by default. See -DLUAJIT_ENABLE_LUA52COMPAT.

15 years agoAdd support for __pairs and __ipairs metamethods (from Lua 5.2).
Mike Pall [Wed, 17 Nov 2010 23:23:24 +0000 (00:23 +0100)] 
Add support for __pairs and __ipairs metamethods (from Lua 5.2).

15 years agoAllow running C functions with coroutine.create(), too.
Mike Pall [Wed, 17 Nov 2010 19:07:55 +0000 (20:07 +0100)] 
Allow running C functions with coroutine.create(), too.

15 years agoAdd jit.os string.
Mike Pall [Tue, 16 Nov 2010 14:05:21 +0000 (15:05 +0100)] 
Add jit.os string.

15 years agoCleanup architecture, ABI and OS definitions.
Mike Pall [Tue, 16 Nov 2010 13:06:59 +0000 (14:06 +0100)] 
Cleanup architecture, ABI and OS definitions.

15 years agoAvoid using negative hex numbers with DynASM.
Mike Pall [Tue, 16 Nov 2010 12:41:58 +0000 (13:41 +0100)] 
Avoid using negative hex numbers with DynASM.

15 years agoSplit up extension/API docs into sub-pages.
Mike Pall [Tue, 9 Nov 2010 17:11:35 +0000 (18:11 +0100)] 
Split up extension/API docs into sub-pages.

15 years agoRename character type handling from lj_ctype* to lj_char*.
Mike Pall [Tue, 9 Nov 2010 11:09:54 +0000 (12:09 +0100)] 
Rename character type handling from lj_ctype* to lj_char*.

15 years agoFix conflict between loop branch inversion and HREF+NE/EQ merging.
Mike Pall [Fri, 5 Nov 2010 22:12:43 +0000 (23:12 +0100)] 
Fix conflict between loop branch inversion and HREF+NE/EQ merging.

15 years agoNumber parser shouldn't accept '0x' without hex digits.
Mike Pall [Tue, 2 Nov 2010 15:01:26 +0000 (16:01 +0100)] 
Number parser shouldn't accept '0x' without hex digits.

15 years agoFix parsing of hex floats.
Mike Pall [Mon, 1 Nov 2010 16:53:04 +0000 (17:53 +0100)] 
Fix parsing of hex floats.

15 years agoFix anchors in API docs.
Mike Pall [Mon, 1 Nov 2010 16:49:31 +0000 (17:49 +0100)] 
Fix anchors in API docs.

15 years agoFix collectgarbage("count") result if more than 2GB is in use.
Mike Pall [Mon, 25 Oct 2010 12:53:37 +0000 (14:53 +0200)] 
Fix collectgarbage("count") result if more than 2GB is in use.

Thanks to Tony Finch.

15 years agoReduce 32GB RLIMIT_DATA on FreeBSD/x64 to allocate low-2GB memory.
Mike Pall [Sat, 23 Oct 2010 14:31:27 +0000 (16:31 +0200)] 
Reduce 32GB RLIMIT_DATA on FreeBSD/x64 to allocate low-2GB memory.

Thanks to Tony Finch.

15 years agoAvoid compiler warning.
Mike Pall [Sat, 23 Oct 2010 13:28:28 +0000 (15:28 +0200)] 
Avoid compiler warning.

15 years agoPPC: Preserve RD during array resizing in BC_TSETM.
Mike Pall [Mon, 18 Oct 2010 14:12:27 +0000 (16:12 +0200)] 
PPC: Preserve RD during array resizing in BC_TSETM.

15 years agoFix recording of y = select(n, ...) for non-int indexes.
Mike Pall [Mon, 11 Oct 2010 19:52:22 +0000 (21:52 +0200)] 
Fix recording of y = select(n, ...) for non-int indexes.

15 years agoDecouple SLOAD type and optional conversion.
Mike Pall [Mon, 11 Oct 2010 19:13:37 +0000 (21:13 +0200)] 
Decouple SLOAD type and optional conversion.

15 years agox64: Fix type check for numbers in compiled code.
Mike Pall [Mon, 11 Oct 2010 16:03:25 +0000 (18:03 +0200)] 
x64: Fix type check for numbers in compiled code.

15 years agox64: Optimize internal/external tag conversion in lua_type().
Mike Pall [Mon, 11 Oct 2010 15:26:07 +0000 (17:26 +0200)] 
x64: Optimize internal/external tag conversion in lua_type().

15 years agoReorganize compatibility table in install docs.
Mike Pall [Mon, 11 Oct 2010 14:26:48 +0000 (16:26 +0200)] 
Reorganize compatibility table in install docs.

15 years agoFix external link in docs.
Mike Pall [Mon, 11 Oct 2010 13:29:12 +0000 (15:29 +0200)] 
Fix external link in docs.

15 years agoPPC: Update DynASM-generated file.
Mike Pall [Thu, 7 Oct 2010 00:24:57 +0000 (02:24 +0200)] 
PPC: Update DynASM-generated file.

PPC/e500v2 interpreter port is now feature-complete.

15 years agoPPC: Use ZERO register instead of extra load immediate.
Mike Pall [Thu, 7 Oct 2010 00:21:54 +0000 (02:21 +0200)] 
PPC: Use ZERO register instead of extra load immediate.

15 years agoPPC: Add coroutine.resume/wrap_aux/yield() fast functions.
Mike Pall [Thu, 7 Oct 2010 00:16:44 +0000 (02:16 +0200)] 
PPC: Add coroutine.resume/wrap_aux/yield() fast functions.

15 years agoPPC: Add string.sub() fast function.
Mike Pall [Wed, 6 Oct 2010 14:18:24 +0000 (16:18 +0200)] 
PPC: Add string.sub() fast function.

15 years agoPPC: Add string.rep/reverse/lower/upper() fast functions.
Mike Pall [Wed, 6 Oct 2010 14:17:07 +0000 (16:17 +0200)] 
PPC: Add string.rep/reverse/lower/upper() fast functions.

15 years agoPPC: Add string.len/byte/char() fast functions.
Mike Pall [Wed, 6 Oct 2010 14:11:02 +0000 (16:11 +0200)] 
PPC: Add string.len/byte/char() fast functions.

15 years agoPPC: Fix math.deg/rad() fast functions.
Mike Pall [Tue, 5 Oct 2010 17:39:07 +0000 (19:39 +0200)] 
PPC: Fix math.deg/rad() fast functions.

15 years agoPPC: Use own implementation for math.floor/ceil() fast functions.
Mike Pall [Tue, 5 Oct 2010 17:37:56 +0000 (19:37 +0200)] 
PPC: Use own implementation for math.floor/ceil() fast functions.

15 years agoPPC: Add math.ldexp/frexp/modf() fast functions.
Mike Pall [Tue, 5 Oct 2010 17:36:02 +0000 (19:36 +0200)] 
PPC: Add math.ldexp/frexp/modf() fast functions.

15 years agoPPC: Add math.abs/deg/rad/min/max() fast functions.
Mike Pall [Tue, 5 Oct 2010 17:35:04 +0000 (19:35 +0200)] 
PPC: Add math.abs/deg/rad/min/max() fast functions.

15 years agoPPC: Remove pointless optimization in BC_UNM.
Mike Pall [Tue, 5 Oct 2010 17:27:33 +0000 (19:27 +0200)] 
PPC: Remove pointless optimization in BC_UNM.

15 years agoPPC: Add table.getn() fast function.
Mike Pall [Mon, 4 Oct 2010 23:47:39 +0000 (01:47 +0200)] 
PPC: Add table.getn() fast function.

15 years agoPPC: Add tonumber() and tostring() fast functions.
Mike Pall [Mon, 4 Oct 2010 23:43:22 +0000 (01:43 +0200)] 
PPC: Add tonumber() and tostring() fast functions.

15 years agoPPC: Add getmetatable(), setmetatable() and rawget() fast functions.
Mike Pall [Mon, 4 Oct 2010 23:41:51 +0000 (01:41 +0200)] 
PPC: Add getmetatable(), setmetatable() and rawget() fast functions.

15 years agoPPC: Add assert() and type() fast functions.
Mike Pall [Mon, 4 Oct 2010 23:39:48 +0000 (01:39 +0200)] 
PPC: Add assert() and type() fast functions.

15 years agoUpdate docs for PPC port. Clarify and extend install instructions.
Mike Pall [Mon, 4 Oct 2010 23:36:54 +0000 (01:36 +0200)] 
Update docs for PPC port. Clarify and extend install instructions.

15 years agoPPC: Add pcall() and xpcall() fast functions.
Mike Pall [Fri, 1 Oct 2010 21:47:29 +0000 (23:47 +0200)] 
PPC: Add pcall() and xpcall() fast functions.

15 years agoPPC: Add ipairs() fast function and its iterator.
Mike Pall [Fri, 1 Oct 2010 21:45:56 +0000 (23:45 +0200)] 
PPC: Add ipairs() fast function and its iterator.

15 years agoPPC: Add next() and pairs() fast functions.
Mike Pall [Fri, 1 Oct 2010 21:43:39 +0000 (23:43 +0200)] 
PPC: Add next() and pairs() fast functions.

15 years agoPPC: Add BC_ITERN and BC_ISNEXT.
Mike Pall [Thu, 30 Sep 2010 23:44:02 +0000 (01:44 +0200)] 
PPC: Add BC_ITERN and BC_ISNEXT.

15 years agoSpecialize bytecode for pairs()/next() iterator. Speedup: 3.5x.
Mike Pall [Thu, 30 Sep 2010 19:55:32 +0000 (21:55 +0200)] 
Specialize bytecode for pairs()/next() iterator. Speedup: 3.5x.

Parser predict pairs/next and emits specialized bytecode.
Bytecode is descpecialized at runtime if the prediction was wrong.
Store slot index in hidden control var to avoid key lookups.

15 years agox64: Use 64 bit slot copies in the interpreter.
Mike Pall [Thu, 30 Sep 2010 15:47:32 +0000 (17:47 +0200)] 
x64: Use 64 bit slot copies in the interpreter.

15 years agoPPC: Add dispatch to fast function fallback handlers.
Mike Pall [Thu, 30 Sep 2010 00:58:29 +0000 (02:58 +0200)] 
PPC: Add dispatch to fast function fallback handlers.

15 years agoPPC: Add bit.* fast functions.
Mike Pall [Thu, 30 Sep 2010 00:56:54 +0000 (02:56 +0200)] 
PPC: Add bit.* fast functions.

15 years agoPPC: Add basic infrastructure for fast functions.
Mike Pall [Thu, 30 Sep 2010 00:54:33 +0000 (02:54 +0200)] 
PPC: Add basic infrastructure for fast functions.

15 years agoPPC: Add frame unwind info for assembler part.
Mike Pall [Tue, 28 Sep 2010 15:50:33 +0000 (17:50 +0200)] 
PPC: Add frame unwind info for assembler part.

Add define for target-specific exception handler return register.

15 years agoPPC: Don't use callee-save registers when folding '%' operator.
Mike Pall [Tue, 28 Sep 2010 12:59:33 +0000 (14:59 +0200)] 
PPC: Don't use callee-save registers when folding '%' operator.

15 years agoFix checks for minimum required compiler versions.
Mike Pall [Tue, 28 Sep 2010 12:20:49 +0000 (14:20 +0200)] 
Fix checks for minimum required compiler versions.

15 years agoPPC: Add dispatch target for call hook.
Mike Pall [Thu, 23 Sep 2010 00:42:29 +0000 (02:42 +0200)] 
PPC: Add dispatch target for call hook.

15 years agoPPC: Add dispatch targets for instruction and return hooks.
Mike Pall [Thu, 23 Sep 2010 00:38:39 +0000 (02:38 +0200)] 
PPC: Add dispatch targets for instruction and return hooks.

15 years agoPPC: Add lj_vm_resume().
Mike Pall [Thu, 23 Sep 2010 00:35:51 +0000 (02:35 +0200)] 
PPC: Add lj_vm_resume().

15 years agoWorkaround for missing fseeko/ftello prototypes on ancient glibc.
Mike Pall [Wed, 22 Sep 2010 23:30:53 +0000 (01:30 +0200)] 
Workaround for missing fseeko/ftello prototypes on ancient glibc.

15 years agox86/x64: Fix stack overflow handling for coroutine results.
Mike Pall [Wed, 22 Sep 2010 20:59:41 +0000 (22:59 +0200)] 
x86/x64: Fix stack overflow handling for coroutine results.

15 years agoFix stack growth for coroutine.wrap().
Mike Pall [Wed, 22 Sep 2010 19:16:16 +0000 (21:16 +0200)] 
Fix stack growth for coroutine.wrap().

15 years agoPPC: Reschedule continuation dispatch.
Mike Pall [Tue, 21 Sep 2010 19:43:29 +0000 (21:43 +0200)] 
PPC: Reschedule continuation dispatch.

15 years agoWhitespace.
Mike Pall [Tue, 21 Sep 2010 19:41:49 +0000 (21:41 +0200)] 
Whitespace.

15 years agoPPC: Add fixed register for TOBIT bias.
Mike Pall [Tue, 21 Sep 2010 19:40:39 +0000 (21:40 +0200)] 
PPC: Add fixed register for TOBIT bias.

15 years agoPPC: Add missing register setup after unwind to ff pcall.
Mike Pall [Tue, 21 Sep 2010 19:36:37 +0000 (21:36 +0200)] 
PPC: Add missing register setup after unwind to ff pcall.