]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
12 years agoCheck for MAP_32BIT presence instead of checking for Linux.
Mike Pall [Thu, 10 Oct 2013 12:34:04 +0000 (14:34 +0200)] 
Check for MAP_32BIT presence instead of checking for Linux.

12 years agoCompile BC_TSETM, e.g. {1,2,3,f()}.
Mike Pall [Wed, 9 Oct 2013 21:51:30 +0000 (23:51 +0200)] 
Compile BC_TSETM, e.g. {1,2,3,f()}.

12 years agoCompile getfenv(0).
Mike Pall [Wed, 9 Oct 2013 18:34:40 +0000 (20:34 +0200)] 
Compile getfenv(0).

12 years agoFFI: Compile lightuserdata to void * conversion.
Mike Pall [Wed, 9 Oct 2013 15:23:08 +0000 (17:23 +0200)] 
FFI: Compile lightuserdata to void * conversion.

12 years agoAdd table.new().
Mike Pall [Wed, 9 Oct 2013 15:01:22 +0000 (17:01 +0200)] 
Add table.new().

12 years agoProperly fix loading of embedded bytecode.
Mike Pall [Fri, 20 Sep 2013 09:36:33 +0000 (11:36 +0200)] 
Properly fix loading of embedded bytecode.

12 years agoFix loading of embedded bytecode.
Mike Pall [Thu, 19 Sep 2013 16:08:04 +0000 (18:08 +0200)] 
Fix loading of embedded bytecode.

12 years agoFix profiler/hook interaction.
Mike Pall [Wed, 18 Sep 2013 13:27:28 +0000 (15:27 +0200)] 
Fix profiler/hook interaction.

12 years agoFix build with profiler but without JIT compiler.
Mike Pall [Wed, 18 Sep 2013 13:17:39 +0000 (15:17 +0200)] 
Fix build with profiler but without JIT compiler.

12 years agoProtect g->hookmask with lock when using profiler thread.
Mike Pall [Mon, 16 Sep 2013 09:23:10 +0000 (11:23 +0200)] 
Protect g->hookmask with lock when using profiler thread.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Sat, 14 Sep 2013 10:56:37 +0000 (12:56 +0200)] 
Merge branch 'master' into v2.1

12 years agoFix ABC elimination.
Mike Pall [Sat, 14 Sep 2013 10:52:51 +0000 (12:52 +0200)] 
Fix ABC elimination.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 12 Sep 2013 22:35:27 +0000 (00:35 +0200)] 
Merge branch 'master' into v2.1

12 years agoFix snapshot restore for exit to function header.
Mike Pall [Thu, 12 Sep 2013 22:33:58 +0000 (00:33 +0200)] 
Fix snapshot restore for exit to function header.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 12 Sep 2013 10:51:48 +0000 (12:51 +0200)] 
Merge branch 'master' into v2.1

12 years agoDynASM: Emit #line <n> <file> instead of #<n> <file>.
Mike Pall [Thu, 12 Sep 2013 10:46:28 +0000 (12:46 +0200)] 
DynASM: Emit #line <n> <file> instead of #<n> <file>.

12 years agoFix profiler stack dump for string chunks.
Mike Pall [Wed, 11 Sep 2013 21:51:46 +0000 (23:51 +0200)] 
Fix profiler stack dump for string chunks.

12 years agoFix -jp=a mode.
Mike Pall [Tue, 10 Sep 2013 17:21:10 +0000 (19:21 +0200)] 
Fix -jp=a mode.

12 years agoLow-overhead profiler, part 7: console ports.
Mike Pall [Mon, 9 Sep 2013 23:02:09 +0000 (01:02 +0200)] 
Low-overhead profiler, part 7: console ports.

12 years agoFix non-FFI build.
Mike Pall [Mon, 9 Sep 2013 22:47:28 +0000 (00:47 +0200)] 
Fix non-FFI build.

12 years agoFix PS3 build.
Mike Pall [Mon, 9 Sep 2013 22:42:42 +0000 (00:42 +0200)] 
Fix PS3 build.

12 years agoLow-overhead profiler, part 6: documentation.
Mike Pall [Mon, 9 Sep 2013 22:06:17 +0000 (00:06 +0200)] 
Low-overhead profiler, part 6: documentation.

12 years agoAdd -jp=fl mode and minor fixes.
Mike Pall [Mon, 9 Sep 2013 22:02:20 +0000 (00:02 +0200)] 
Add -jp=fl mode and minor fixes.

12 years agoLow-overhead profiler, part 5: add annotation mode for -jp.
Mike Pall [Mon, 9 Sep 2013 02:24:51 +0000 (04:24 +0200)] 
Low-overhead profiler, part 5: add annotation mode for -jp.

12 years agoSwitch from -jp=n<top_n> to -jp=m<min_pct> as a threshold.
Mike Pall [Mon, 9 Sep 2013 00:27:41 +0000 (02:27 +0200)] 
Switch from -jp=n<top_n> to -jp=m<min_pct> as a threshold.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 8 Sep 2013 11:12:33 +0000 (13:12 +0200)] 
Merge branch 'master' into v2.1

12 years agoFFI/x64: Fix passing of vector arguments to calls.
Mike Pall [Sun, 8 Sep 2013 11:11:02 +0000 (13:11 +0200)] 
FFI/x64: Fix passing of vector arguments to calls.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 8 Sep 2013 01:10:47 +0000 (03:10 +0200)] 
Merge branch 'master' into v2.1

12 years agoFFI: Fix argument checks for ffi.string().
Mike Pall [Sun, 8 Sep 2013 01:09:39 +0000 (03:09 +0200)] 
FFI: Fix argument checks for ffi.string().

12 years agoLoad jit.util module on demand (saves 1 KB).
Mike Pall [Sun, 8 Sep 2013 01:01:00 +0000 (03:01 +0200)] 
Load jit.util module on demand (saves 1 KB).

12 years agoLow-overhead profiler, part 4: JIT compiler support.
Mike Pall [Sun, 8 Sep 2013 00:53:23 +0000 (02:53 +0200)] 
Low-overhead profiler, part 4: JIT compiler support.

12 years agoAdd notice when no samples were collected by -jp.
Mike Pall [Sun, 8 Sep 2013 00:50:48 +0000 (02:50 +0200)] 
Add notice when no samples were collected by -jp.

12 years agoFix string.format("%#X", 1).
Mike Pall [Tue, 3 Sep 2013 14:11:39 +0000 (16:11 +0200)] 
Fix string.format("%#X", 1).

12 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 3 Sep 2013 14:02:54 +0000 (16:02 +0200)] 
Merge branch 'master' into v2.1

12 years agoFix quoting in xedkbuild.bat.
Mike Pall [Tue, 3 Sep 2013 14:02:33 +0000 (16:02 +0200)] 
Fix quoting in xedkbuild.bat.

12 years agoRecent GCC versions need more memory.
Mike Pall [Tue, 3 Sep 2013 13:55:37 +0000 (15:55 +0200)] 
Recent GCC versions need more memory.

12 years agoFix frame traversal for backtraces.
Mike Pall [Tue, 3 Sep 2013 13:53:21 +0000 (15:53 +0200)] 
Fix frame traversal for backtraces.

12 years agoInstall new jit.* modules, too.
Mike Pall [Mon, 2 Sep 2013 09:34:26 +0000 (11:34 +0200)] 
Install new jit.* modules, too.

12 years agoAdd low-overhead profiler. Part 3: command line interface.
Mike Pall [Sun, 1 Sep 2013 23:57:56 +0000 (01:57 +0200)] 
Add low-overhead profiler. Part 3: command line interface.

12 years agoAdd low-overhead profiler. Part 2: low-level Lua API.
Mike Pall [Sun, 1 Sep 2013 23:55:20 +0000 (01:55 +0200)] 
Add low-overhead profiler. Part 2: low-level Lua API.

12 years agoAdd internal API to add sub-modules to package.preload.
Mike Pall [Sun, 1 Sep 2013 23:55:07 +0000 (01:55 +0200)] 
Add internal API to add sub-modules to package.preload.

12 years agoAdd low-overhead profiler. Part 1: interpreter, low-level C API.
Mike Pall [Sun, 1 Sep 2013 23:49:19 +0000 (01:49 +0200)] 
Add low-overhead profiler. Part 1: interpreter, low-level C API.

12 years agoAdd common helper for pointer to string formatting.
Mike Pall [Sat, 31 Aug 2013 17:38:20 +0000 (19:38 +0200)] 
Add common helper for pointer to string formatting.

12 years agoSave currently executing lua_State in g->cur_L.
Mike Pall [Wed, 28 Aug 2013 11:06:19 +0000 (13:06 +0200)] 
Save currently executing lua_State in g->cur_L.

This is only a good approximation due to deficiencies in the design of
the Lua/C API. It indicates _some_ valid state that is/was executing.
Also reorder L->cframe stores to achieve a synchronously consistent state.

12 years agoUse g->jit_base for on/off-trace detection.
Mike Pall [Mon, 26 Aug 2013 16:28:58 +0000 (18:28 +0200)] 
Use g->jit_base for on/off-trace detection.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 22 Aug 2013 17:29:42 +0000 (19:29 +0200)] 
Merge branch 'master' into v2.1

12 years agoFix compiler warning.
Mike Pall [Thu, 22 Aug 2013 17:29:09 +0000 (19:29 +0200)] 
Fix compiler warning.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Fri, 16 Aug 2013 22:54:49 +0000 (00:54 +0200)] 
Merge branch 'master' into v2.1

12 years agoFix argument checks for math.deg()/math.rad().
Mike Pall [Fri, 16 Aug 2013 22:50:53 +0000 (00:50 +0200)] 
Fix argument checks for math.deg()/math.rad().

12 years agoMerge branch 'master' into v2.1
Mike Pall [Sun, 11 Aug 2013 11:52:05 +0000 (13:52 +0200)] 
Merge branch 'master' into v2.1

12 years agoFix jit.flush(func|true).
Mike Pall [Sun, 11 Aug 2013 11:47:35 +0000 (13:47 +0200)] 
Fix jit.flush(func|true).

12 years agoMerge branch 'master' into v2.1
Mike Pall [Sat, 3 Aug 2013 12:24:14 +0000 (14:24 +0200)] 
Merge branch 'master' into v2.1

12 years agoCompatibility fix for old GCC versions.
Mike Pall [Sat, 3 Aug 2013 12:15:17 +0000 (14:15 +0200)] 
Compatibility fix for old GCC versions.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 30 Jul 2013 23:49:58 +0000 (01:49 +0200)] 
Merge branch 'master' into v2.1

12 years agoARM: Fix register allocation when rematerializing FPRs.
Mike Pall [Tue, 30 Jul 2013 23:48:21 +0000 (01:48 +0200)] 
ARM: Fix register allocation when rematerializing FPRs.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 24 Jul 2013 21:50:58 +0000 (23:50 +0200)] 
Merge branch 'master' into v2.1

12 years agoFFI: Properly unload loaded DLLs.
Mike Pall [Wed, 24 Jul 2013 21:49:19 +0000 (23:49 +0200)] 
FFI: Properly unload loaded DLLs.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 18 Jul 2013 06:53:14 +0000 (08:53 +0200)] 
Merge branch 'master' into v2.1

12 years agoDynASM/x64: Add VREG support to mov64.
Mike Pall [Thu, 18 Jul 2013 06:51:32 +0000 (08:51 +0200)] 
DynASM/x64: Add VREG support to mov64.

Thanks to Peter Cawley.

12 years agoFix compiler warning.
Mike Pall [Wed, 17 Jul 2013 22:39:23 +0000 (00:39 +0200)] 
Fix compiler warning.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 17 Jul 2013 09:06:31 +0000 (11:06 +0200)] 
Merge branch 'master' into v2.1

12 years agoFix compilation on NetBSD/x64.
Mike Pall [Wed, 17 Jul 2013 09:04:15 +0000 (11:04 +0200)] 
Fix compilation on NetBSD/x64.

Thanks to Justin Cormack.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 9 Jul 2013 15:30:36 +0000 (17:30 +0200)] 
Merge branch 'master' into v2.1

12 years agoAdd support for multilib distro builds.
Mike Pall [Tue, 9 Jul 2013 15:25:05 +0000 (17:25 +0200)] 
Add support for multilib distro builds.

12 years agoDynASM/x86: Add lock prefix.
Mike Pall [Mon, 24 Jun 2013 10:20:25 +0000 (12:20 +0200)] 
DynASM/x86: Add lock prefix.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 20 Jun 2013 14:33:34 +0000 (16:33 +0200)] 
Merge branch 'master' into v2.1

12 years agoFFI: Add missing GC steps for callback argument conversions.
Mike Pall [Thu, 20 Jun 2013 14:32:45 +0000 (16:32 +0200)] 
FFI: Add missing GC steps for callback argument conversions.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Tue, 18 Jun 2013 18:10:22 +0000 (20:10 +0200)] 
Merge branch 'master' into v2.1

12 years agoImprove ULOAD forwarding for open upvalues.
Mike Pall [Tue, 18 Jun 2013 18:08:55 +0000 (20:08 +0200)] 
Improve ULOAD forwarding for open upvalues.

13 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 3 Jun 2013 19:21:45 +0000 (21:21 +0200)] 
Merge branch 'master' into v2.1

13 years agoRELEASE LuaJIT-2.0.2 v2.0.2
Mike Pall [Mon, 3 Jun 2013 19:16:17 +0000 (21:16 +0200)] 
RELEASE LuaJIT-2.0.2

13 years agoUpdate changelog.
Mike Pall [Mon, 3 Jun 2013 18:21:25 +0000 (20:21 +0200)] 
Update changelog.

13 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 3 Jun 2013 15:32:09 +0000 (17:32 +0200)] 
Merge branch 'master' into v2.1

13 years agoPPC: Add plt suffix for external calls from assembler code.
Mike Pall [Mon, 3 Jun 2013 15:30:35 +0000 (17:30 +0200)] 
PPC: Add plt suffix for external calls from assembler code.

13 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 29 May 2013 21:12:09 +0000 (23:12 +0200)] 
Merge branch 'master' into v2.1

13 years agoFFI: Preserve intermediate string for const char * conversion.
Mike Pall [Wed, 29 May 2013 21:05:05 +0000 (23:05 +0200)] 
FFI: Preserve intermediate string for const char * conversion.

Otherwise the trailing NUL is lost.

13 years agoRefactor string buffer growth helpers.
Mike Pall [Wed, 29 May 2013 18:17:26 +0000 (20:17 +0200)] 
Refactor string buffer growth helpers.

13 years agoFix -jdump broken by 2ef2c34d.
Mike Pall [Wed, 29 May 2013 17:57:59 +0000 (19:57 +0200)] 
Fix -jdump broken by 2ef2c34d.

13 years agoMinor change to lj_lib_pushcc().
Mike Pall [Wed, 29 May 2013 12:54:06 +0000 (14:54 +0200)] 
Minor change to lj_lib_pushcc().

13 years agoMerge branch 'master' into v2.1
Mike Pall [Sat, 25 May 2013 08:20:46 +0000 (10:20 +0200)] 
Merge branch 'master' into v2.1

13 years agoFix compatibility issues with Illumos.
Mike Pall [Sat, 25 May 2013 08:18:12 +0000 (10:18 +0200)] 
Fix compatibility issues with Illumos.

Thanks to Theo Schlossnagle.

13 years agoFFI: Refactor ffi.gc()/__gc. Compile ffi.gc(cdata, nil), too.
Mike Pall [Fri, 24 May 2013 15:44:55 +0000 (17:44 +0200)] 
FFI: Refactor ffi.gc()/__gc. Compile ffi.gc(cdata, nil), too.

13 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 23 May 2013 23:32:10 +0000 (01:32 +0200)] 
Merge branch 'master' into v2.1

13 years agoAdd missing PHI barrier to string.sub(str, a, b) == kstr FOLD rule.
Mike Pall [Thu, 23 May 2013 23:28:40 +0000 (01:28 +0200)] 
Add missing PHI barrier to string.sub(str, a, b) == kstr FOLD rule.

13 years agoFFI: Compile VLA/VLS and large cdata allocs with default initialization.
Mike Pall [Thu, 23 May 2013 22:45:44 +0000 (00:45 +0200)] 
FFI: Compile VLA/VLS and large cdata allocs with default initialization.

13 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 23 May 2013 20:20:07 +0000 (22:20 +0200)] 
Merge branch 'master' into v2.1

13 years agoFFI: Must sink XBAR together with XSTOREs.
Mike Pall [Thu, 23 May 2013 20:15:51 +0000 (22:15 +0200)] 
FFI: Must sink XBAR together with XSTOREs.

13 years agoFFI: Fix unroll limit for ffi.fill().
Mike Pall [Thu, 23 May 2013 20:17:45 +0000 (22:17 +0200)] 
FFI: Fix unroll limit for ffi.fill().

13 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 23 May 2013 17:58:35 +0000 (19:58 +0200)] 
Merge branch 'master' into v2.1

13 years agoFFI: Insert no-op type conversion for pointer to integer cast.
Mike Pall [Thu, 23 May 2013 17:43:41 +0000 (19:43 +0200)] 
FFI: Insert no-op type conversion for pointer to integer cast.

13 years agoRefactor lj_cdata_newv().
Mike Pall [Thu, 23 May 2013 16:43:16 +0000 (18:43 +0200)] 
Refactor lj_cdata_newv().

13 years agoDon't try to reinvent memcpy().
Mike Pall [Wed, 22 May 2013 20:57:18 +0000 (22:57 +0200)] 
Don't try to reinvent memcpy().

13 years agoMerge branch 'master' into v2.1
Mike Pall [Sat, 18 May 2013 12:14:06 +0000 (14:14 +0200)] 
Merge branch 'master' into v2.1

13 years agoFFI: Improve error messages for arithmetic and comparison operators.
Mike Pall [Sat, 18 May 2013 12:11:59 +0000 (14:11 +0200)] 
FFI: Improve error messages for arithmetic and comparison operators.

13 years agoRemove use of printf() in luajit.c.
Mike Pall [Sat, 18 May 2013 11:48:32 +0000 (13:48 +0200)] 
Remove use of printf() in luajit.c.

13 years agoGet rid of module() in all internal modules.
Mike Pall [Thu, 16 May 2013 18:34:34 +0000 (20:34 +0200)] 
Get rid of module() in all internal modules.

13 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 16 May 2013 18:07:53 +0000 (20:07 +0200)] 
Merge branch 'master' into v2.1

13 years agoHandle calls with max. args in backends even after SPLIT.
Mike Pall [Thu, 16 May 2013 17:59:38 +0000 (19:59 +0200)] 
Handle calls with max. args in backends even after SPLIT.

13 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 16 May 2013 12:48:47 +0000 (14:48 +0200)] 
Merge branch 'master' into v2.1

13 years agoFFI: Fix calling conventions for ARM hard-float EABI.
Mike Pall [Thu, 16 May 2013 12:47:20 +0000 (14:47 +0200)] 
FFI: Fix calling conventions for ARM hard-float EABI.

Properly classify nested (non-transparent) structs.