]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
12 years agoMerge branch 'master' into v2.1
Mike Pall [Sat, 23 Mar 2013 13:55:35 +0000 (14:55 +0100)] 
Merge branch 'master' into v2.1

12 years agoFFI: Fix snapshot substitution in SPLIT pass.
Mike Pall [Sat, 23 Mar 2013 13:51:23 +0000 (14:51 +0100)] 
FFI: Fix snapshot substitution in SPLIT pass.

12 years agoUse string buffer for string.format().
Mike Pall [Wed, 20 Mar 2013 21:45:52 +0000 (22:45 +0100)] 
Use string buffer for string.format().

12 years agoUse string buffer for string.dump().
Mike Pall [Wed, 20 Mar 2013 15:56:09 +0000 (16:56 +0100)] 
Use string buffer for string.dump().

12 years agoUse string buffer for os.date().
Mike Pall [Wed, 20 Mar 2013 15:53:15 +0000 (16:53 +0100)] 
Use string buffer for os.date().

12 years agoUse string buffer for table.concat().
Mike Pall [Mon, 18 Mar 2013 16:10:59 +0000 (17:10 +0100)] 
Use string buffer for table.concat().

12 years agoClean up TValue to buffer conversions.
Mike Pall [Mon, 18 Mar 2013 16:08:37 +0000 (17:08 +0100)] 
Clean up TValue to buffer conversions.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 17 Mar 2013 13:22:20 +0000 (14:22 +0100)] 
Merge branch 'master' into v2.1

12 years agoDynASM: Improve validation of local backwards relocations.
Mike Pall [Sun, 17 Mar 2013 13:20:40 +0000 (14:20 +0100)] 
DynASM: Improve validation of local backwards relocations.

12 years agoFFI: Add 64 bit bitwise operations.
Mike Pall [Wed, 13 Mar 2013 21:44:01 +0000 (22:44 +0100)] 
FFI: Add 64 bit bitwise operations.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 13 Mar 2013 20:59:40 +0000 (21:59 +0100)] 
Merge branch 'master' into v2.1

12 years agoFix rotate definitions for variable shifts.
Mike Pall [Wed, 13 Mar 2013 20:58:53 +0000 (21:58 +0100)] 
Fix rotate definitions for variable shifts.

12 years agoARM: Rearrange global_State to satisfy imm12 encoding constraints.
Mike Pall [Wed, 13 Mar 2013 16:12:23 +0000 (17:12 +0100)] 
ARM: Rearrange global_State to satisfy imm12 encoding constraints.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 4 Mar 2013 12:34:01 +0000 (13:34 +0100)] 
Merge branch 'master' into v2.1

12 years agoAdd missing GC steps for io.* functions.
Mike Pall [Sun, 3 Mar 2013 20:18:22 +0000 (21:18 +0100)] 
Add missing GC steps for io.* functions.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 28 Feb 2013 16:53:45 +0000 (17:53 +0100)] 
Merge branch 'master' into v2.1

12 years agoMIPS: Fix cache flush/sync for JIT-compiled code jump area.
Mike Pall [Thu, 28 Feb 2013 16:52:31 +0000 (17:52 +0100)] 
MIPS: Fix cache flush/sync for JIT-compiled code jump area.

12 years agoARM: Fix cache flush/sync for exit stubs of JIT-compiled code.
Mike Pall [Thu, 28 Feb 2013 16:51:16 +0000 (17:51 +0100)] 
ARM: Fix cache flush/sync for exit stubs of JIT-compiled code.

12 years agoString buffer refactoring, part 4.
Mike Pall [Thu, 28 Feb 2013 12:37:56 +0000 (13:37 +0100)] 
String buffer refactoring, part 4.

Add lua_State pointer to SBuf for buffer resizing.

12 years agoString buffer refactoring, part 3.
Mike Pall [Thu, 28 Feb 2013 01:31:30 +0000 (02:31 +0100)] 
String buffer refactoring, part 3.

Switch to pointers for start/end of buffer in lexer.

12 years agoCleanup lexer source code.
Mike Pall [Thu, 28 Feb 2013 00:11:49 +0000 (01:11 +0100)] 
Cleanup lexer source code.

12 years agoString buffer refactoring, part 2.
Mike Pall [Wed, 27 Feb 2013 20:17:27 +0000 (21:17 +0100)] 
String buffer refactoring, part 2.

Switch to pointers for start/pos/end of buffer.
Abstract out some buffer writers.

12 years agoString buffer refactoring, part 1.
Mike Pall [Wed, 27 Feb 2013 16:11:31 +0000 (17:11 +0100)] 
String buffer refactoring, part 1.

Move string buffer handling to lj_buf.*.
Use common buffer resizing function.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 26 Feb 2013 17:31:12 +0000 (18:31 +0100)] 
Merge branch 'master' into v2.1

12 years agoAllow changing *.dll/*.lib name in msvcbuild.bat.
Mike Pall [Tue, 26 Feb 2013 17:31:01 +0000 (18:31 +0100)] 
Allow changing *.dll/*.lib name in msvcbuild.bat.

12 years agoReplace table.remove with bytecode builtin.
Mike Pall [Sun, 24 Feb 2013 16:59:04 +0000 (17:59 +0100)] 
Replace table.remove with bytecode builtin.

12 years agoFix genlibbc.
Mike Pall [Sun, 24 Feb 2013 16:58:19 +0000 (17:58 +0100)] 
Fix genlibbc.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 24 Feb 2013 11:43:15 +0000 (12:43 +0100)] 
Merge branch 'master' into v2.1

12 years agoProperly fix MSVC intrinsics for older versions.
Mike Pall [Sun, 24 Feb 2013 11:41:53 +0000 (12:41 +0100)] 
Properly fix MSVC intrinsics for older versions.

12 years agoReplace table.getn/foreach/foreachi with bytecode builtins.
Mike Pall [Sat, 23 Feb 2013 01:17:50 +0000 (02:17 +0100)] 
Replace table.getn/foreach/foreachi with bytecode builtins.

12 years agoAdd special bytecodes for builtins.
Mike Pall [Sat, 23 Feb 2013 01:09:19 +0000 (02:09 +0100)] 
Add special bytecodes for builtins.

BC_ISTYPE, BC_ISNUM: fast type checks/coercions.
BC_TGETR, BC_TSETR: fast rawgeti/rawseti, no type checks for table/key.

12 years agoRemove obsolete non-truncating number to integer conversions.
Mike Pall [Fri, 22 Feb 2013 19:39:25 +0000 (20:39 +0100)] 
Remove obsolete non-truncating number to integer conversions.

12 years agoDon't modify generated libbc header if unchanged.
Mike Pall [Fri, 22 Feb 2013 11:29:54 +0000 (12:29 +0100)] 
Don't modify generated libbc header if unchanged.

12 years agoReplace math.deg/math.rad with builtin Lua function.
Mike Pall [Fri, 22 Feb 2013 00:44:17 +0000 (01:44 +0100)] 
Replace math.deg/math.rad with builtin Lua function.

12 years agoAdd support for embedding LuaJIT bytecode for builtins.
Mike Pall [Fri, 22 Feb 2013 00:40:41 +0000 (01:40 +0100)] 
Add support for embedding LuaJIT bytecode for builtins.

12 years agox86/x64: Drop xmm register/memory move tuning for K8.
Mike Pall [Thu, 21 Feb 2013 16:04:00 +0000 (17:04 +0100)] 
x86/x64: Drop xmm register/memory move tuning for K8.

12 years agox86: Remove x87 support from interpreter.
Mike Pall [Thu, 21 Feb 2013 15:56:59 +0000 (16:56 +0100)] 
x86: Remove x87 support from interpreter.

SSE2 required from now on.

12 years agoBRANCH LuaJIT-2.1
Mike Pall [Thu, 21 Feb 2013 15:49:04 +0000 (16:49 +0100)] 
BRANCH LuaJIT-2.1

12 years agoFix memory access check for fast string interning.
Mike Pall [Thu, 21 Feb 2013 15:22:26 +0000 (16:22 +0100)] 
Fix memory access check for fast string interning.

12 years agoRELEASE LuaJIT-2.0.1 (fixed) v2.0.1-fixed
Mike Pall [Tue, 19 Feb 2013 20:14:27 +0000 (21:14 +0100)] 
RELEASE LuaJIT-2.0.1 (fixed)

12 years agoRELEASE LuaJIT-2.0.1 v2.0.1
Mike Pall [Tue, 19 Feb 2013 17:05:39 +0000 (18:05 +0100)] 
RELEASE LuaJIT-2.0.1

12 years agoUpdate changelog.
Mike Pall [Tue, 19 Feb 2013 16:44:57 +0000 (17:44 +0100)] 
Update changelog.

12 years agoFix capitalization of 'Xbox'.
Mike Pall [Wed, 13 Feb 2013 10:57:04 +0000 (11:57 +0100)] 
Fix capitalization of 'Xbox'.

12 years agoPPC/e500: Fix lj_vm_floor() for inf/nan.
Mike Pall [Tue, 12 Feb 2013 11:37:18 +0000 (12:37 +0100)] 
PPC/e500: Fix lj_vm_floor() for inf/nan.

12 years agoOSX: Add support for Mach-O object files to -b option.
Mike Pall [Mon, 11 Feb 2013 16:58:06 +0000 (17:58 +0100)] 
OSX: Add support for Mach-O object files to -b option.

Thanks to Adam Strzelecki.

12 years agoImprove buffer handling for io.read().
Mike Pall [Mon, 11 Feb 2013 13:50:18 +0000 (14:50 +0100)] 
Improve buffer handling for io.read().

12 years agoBump copyright date to 2013.
Mike Pall [Mon, 11 Feb 2013 11:54:48 +0000 (12:54 +0100)] 
Bump copyright date to 2013.

12 years agoFFI: Stricter parsing of declaration specifiers.
Mike Pall [Sun, 3 Feb 2013 11:47:52 +0000 (12:47 +0100)] 
FFI: Stricter parsing of declaration specifiers.

12 years agoFFI: Fix handling of qualified transparent structs/unions.
Mike Pall [Sun, 3 Feb 2013 10:51:19 +0000 (11:51 +0100)] 
FFI: Fix handling of qualified transparent structs/unions.

12 years agoKeep line number for KPRI to KNIL optimization.
Mike Pall [Thu, 31 Jan 2013 11:36:23 +0000 (12:36 +0100)] 
Keep line number for KPRI to KNIL optimization.

12 years agoFix XBox 360 port.
Mike Pall [Wed, 30 Jan 2013 19:37:39 +0000 (20:37 +0100)] 
Fix XBox 360 port.

12 years agoAvoid leaking memory on kernels with recalcitrant mmap() behavior.
Mike Pall [Mon, 28 Jan 2013 11:29:31 +0000 (12:29 +0100)] 
Avoid leaking memory on kernels with recalcitrant mmap() behavior.

12 years agoAdd missing FOLD rules for U32 conversions.
Mike Pall [Mon, 21 Jan 2013 15:49:03 +0000 (16:49 +0100)] 
Add missing FOLD rules for U32 conversions.

12 years agoAdd XBox 360 port.
Mike Pall [Mon, 21 Jan 2013 15:43:49 +0000 (16:43 +0100)] 
Add XBox 360 port.

Thanks to Eddie Edwards.

12 years agoFFI: Load FFI library on-demand for bytecode with cdata literals.
Mike Pall [Tue, 15 Jan 2013 00:16:37 +0000 (01:16 +0100)] 
FFI: Load FFI library on-demand for bytecode with cdata literals.

12 years agox86/x64: Always mark ref for shift count as non-weak.
Mike Pall [Mon, 14 Jan 2013 15:03:32 +0000 (16:03 +0100)] 
x86/x64: Always mark ref for shift count as non-weak.

12 years agoAnother fix for PS3 build.
Mike Pall [Mon, 14 Jan 2013 13:14:12 +0000 (14:14 +0100)] 
Another fix for PS3 build.

12 years agoPPC/e500: Remove assembler code for lj_vm_foldarith().
Mike Pall [Fri, 11 Jan 2013 12:36:01 +0000 (13:36 +0100)] 
PPC/e500: Remove assembler code for lj_vm_foldarith().

12 years agoRemove redundant code in jit/*.lua.
Mike Pall [Fri, 11 Jan 2013 11:30:10 +0000 (12:30 +0100)] 
Remove redundant code in jit/*.lua.

12 years agoRemove fictitious Solaris define.
Mike Pall [Fri, 11 Jan 2013 11:23:44 +0000 (12:23 +0100)] 
Remove fictitious Solaris define.

12 years agoFix PS3 build.
Mike Pall [Fri, 11 Jan 2013 11:19:53 +0000 (12:19 +0100)] 
Fix PS3 build.

12 years agoFix discharge order of comparisons in Lua parser.
Mike Pall [Fri, 11 Jan 2013 11:19:05 +0000 (12:19 +0100)] 
Fix discharge order of comparisons in Lua parser.

12 years agoAllow using MSVC intrinsics with older versions.
Mike Pall [Thu, 3 Jan 2013 20:41:27 +0000 (21:41 +0100)] 
Allow using MSVC intrinsics with older versions.

12 years agoFFI: Fix code generation for bool call result check on x86/x64.
Mike Pall [Wed, 2 Jan 2013 22:52:00 +0000 (23:52 +0100)] 
FFI: Fix code generation for bool call result check on x86/x64.

12 years agoARM: Handle armv7s arch defines.
Mike Pall [Mon, 10 Dec 2012 08:55:14 +0000 (09:55 +0100)] 
ARM: Handle armv7s arch defines.

Thanks to Joey Liaw.

12 years agoLeave hook when resume catches error thrown from hook.
Mike Pall [Thu, 6 Dec 2012 13:14:11 +0000 (14:14 +0100)] 
Leave hook when resume catches error thrown from hook.

12 years agoARM: Fix code generation for integer math.min/math.max.
Mike Pall [Sun, 2 Dec 2012 20:22:00 +0000 (21:22 +0100)] 
ARM: Fix code generation for integer math.min/math.max.

12 years agoARM: Fix armhf call argument handling.
Mike Pall [Sun, 2 Dec 2012 20:21:02 +0000 (21:21 +0100)] 
ARM: Fix armhf call argument handling.

12 years agoFFI: Add debug define to check for unanchored CTypes.
Mike Pall [Mon, 26 Nov 2012 10:01:59 +0000 (11:01 +0100)] 
FFI: Add debug define to check for unanchored CTypes.

12 years agoAdd missing GC steps for template table creation.
Mike Pall [Fri, 16 Nov 2012 12:20:12 +0000 (13:20 +0100)] 
Add missing GC steps for template table creation.

12 years agoFFI: Change priority of table initializer variants for structs.
Mike Pall [Wed, 14 Nov 2012 23:21:01 +0000 (00:21 +0100)] 
FFI: Change priority of table initializer variants for structs.

12 years agoPrevent erroneous x64 builds with non-native exception handling.
Mike Pall [Wed, 14 Nov 2012 21:16:10 +0000 (22:16 +0100)] 
Prevent erroneous x64 builds with non-native exception handling.

12 years agoDon't clear frame for out-of-memory error.
Mike Pall [Wed, 14 Nov 2012 20:54:27 +0000 (21:54 +0100)] 
Don't clear frame for out-of-memory error.

12 years agoFix assertion.
Mike Pall [Wed, 14 Nov 2012 20:54:17 +0000 (21:54 +0100)] 
Fix assertion.

12 years agoMention -Osink in docs.
Mike Pall [Tue, 13 Nov 2012 18:24:05 +0000 (19:24 +0100)] 
Mention -Osink in docs.

12 years agox64: Don't fuse implicitly 32-to-64 extended operands.
Mike Pall [Tue, 13 Nov 2012 18:20:52 +0000 (19:20 +0100)] 
x64: Don't fuse implicitly 32-to-64 extended operands.

12 years agoRELEASE LuaJIT-2.0.0-rc3 v2.0.0 v2.0.0-rc3
Mike Pall [Thu, 8 Nov 2012 10:05:06 +0000 (11:05 +0100)] 
RELEASE LuaJIT-2.0.0-rc3

12 years agoFFI: Clarify callback docs.
Mike Pall [Wed, 7 Nov 2012 22:20:50 +0000 (23:20 +0100)] 
FFI: Clarify callback docs.

12 years agoImprove iOS install docs.
Mike Pall [Wed, 7 Nov 2012 22:00:05 +0000 (23:00 +0100)] 
Improve iOS install docs.

12 years agoFFI: Mention __thiscall attribute in docs.
Mike Pall [Wed, 7 Nov 2012 17:09:37 +0000 (18:09 +0100)] 
FFI: Mention __thiscall attribute in docs.

12 years agoARM: Fix ordered comparisons for number <=> non-number.
Mike Pall [Wed, 7 Nov 2012 17:05:23 +0000 (18:05 +0100)] 
ARM: Fix ordered comparisons for number <=> non-number.

12 years agoFFI: Fix stack-adjustment for __thiscall callbacks.
Mike Pall [Wed, 7 Nov 2012 17:04:58 +0000 (18:04 +0100)] 
FFI: Fix stack-adjustment for __thiscall callbacks.

12 years agoRELEASE LuaJIT-2.0.0-rc2 v2.0.0-rc2
Mike Pall [Tue, 6 Nov 2012 16:07:58 +0000 (17:07 +0100)] 
RELEASE LuaJIT-2.0.0-rc2

12 years agoFFI: Fix recording of bool call result check on x86/x64.
Mike Pall [Tue, 6 Nov 2012 16:05:37 +0000 (17:05 +0100)] 
FFI: Fix recording of bool call result check on x86/x64.

12 years agoFFI: Fix signedness of bool.
Mike Pall [Tue, 6 Nov 2012 16:04:21 +0000 (17:04 +0100)] 
FFI: Fix signedness of bool.

12 years agoDon't propagate implicitly widened number to index metamethods.
Mike Pall [Tue, 6 Nov 2012 15:58:52 +0000 (16:58 +0100)] 
Don't propagate implicitly widened number to index metamethods.

12 years agoFix CONV.num.int sinking.
Mike Pall [Tue, 6 Nov 2012 15:57:50 +0000 (16:57 +0100)] 
Fix CONV.num.int sinking.

12 years agoDon't create unneeded array part for template tables.
Mike Pall [Tue, 6 Nov 2012 15:56:25 +0000 (16:56 +0100)] 
Don't create unneeded array part for template tables.

12 years agoRELEASE LuaJIT-2.0.0-rc1 v2.0.0-rc1
Mike Pall [Wed, 31 Oct 2012 17:24:10 +0000 (18:24 +0100)] 
RELEASE LuaJIT-2.0.0-rc1

12 years agoUpdate docs for release candidate.
Mike Pall [Wed, 31 Oct 2012 17:14:49 +0000 (18:14 +0100)] 
Update docs for release candidate.

12 years agoUpdate changelog.
Mike Pall [Wed, 31 Oct 2012 17:11:56 +0000 (18:11 +0100)] 
Update changelog.

12 years agoInstall bin/luajit symlink for non-beta releases.
Mike Pall [Wed, 31 Oct 2012 17:10:27 +0000 (18:10 +0100)] 
Install bin/luajit symlink for non-beta releases.

12 years agoFFI: Fix code generation for replay of sunk float fields.
Mike Pall [Mon, 29 Oct 2012 16:21:44 +0000 (17:21 +0100)] 
FFI: Fix code generation for replay of sunk float fields.

12 years agoDocument tonumber() enhancements.
Mike Pall [Sun, 28 Oct 2012 13:20:14 +0000 (14:20 +0100)] 
Document tonumber() enhancements.

12 years agoFix builtin string to number conversion for INT_MIN.
Mike Pall [Wed, 24 Oct 2012 21:46:21 +0000 (23:46 +0200)] 
Fix builtin string to number conversion for INT_MIN.

12 years agoRemove strict.lua.
Mike Pall [Wed, 24 Oct 2012 11:12:37 +0000 (13:12 +0200)] 
Remove strict.lua.

12 years agoRelease planning update.
Mike Pall [Wed, 24 Oct 2012 11:09:06 +0000 (13:09 +0200)] 
Release planning update.

12 years agoReplace error with PANIC for callbacks from JIT-compiled code.
Mike Pall [Sun, 21 Oct 2012 17:15:03 +0000 (19:15 +0200)] 
Replace error with PANIC for callbacks from JIT-compiled code.

12 years agoFix detection of immutable upvalues.
Mike Pall [Sun, 21 Oct 2012 11:51:12 +0000 (13:51 +0200)] 
Fix detection of immutable upvalues.

12 years agoFix recording of equality comparisons with __eq metamethods.
Mike Pall [Fri, 19 Oct 2012 15:03:41 +0000 (17:03 +0200)] 
Fix recording of equality comparisons with __eq metamethods.