]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
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.

12 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

12 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

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

12 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

12 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.

12 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

12 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.

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

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

12 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().

12 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

12 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.

12 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.

12 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

12 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.

12 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.

12 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

12 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.

12 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().

12 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

12 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.

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

12 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().

12 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

12 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.

12 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.

12 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.

12 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

12 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.

12 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

12 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.

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

12 years agoFFI: Fix calling conventions for 32 bit OSX and iOS simulator.
Mike Pall [Thu, 16 May 2013 12:35:00 +0000 (14:35 +0200)] 
FFI: Fix calling conventions for 32 bit OSX and iOS simulator.

OSX uses -freg-struct-return, which returns small structs in regs.
Thanks to Adriano Bertucci.

12 years agoAdd partial support for building with MingW64 GCC 4.8-SEH.
Mike Pall [Wed, 15 May 2013 16:48:06 +0000 (18:48 +0200)] 
Add partial support for building with MingW64 GCC 4.8-SEH.

Error handling works, C++ interoperability generally works.
C++ destructors in libs compiled with G++ cause trouble (ok with MSVC).

12 years agoCompile bit.tohex().
Mike Pall [Wed, 15 May 2013 11:57:35 +0000 (13:57 +0200)] 
Compile bit.tohex().

12 years agoAnother fix for bit.tohex().
Mike Pall [Wed, 15 May 2013 11:54:22 +0000 (13:54 +0200)] 
Another fix for bit.tohex().

12 years agoCompile string.format().
Mike Pall [Mon, 13 May 2013 19:18:22 +0000 (21:18 +0200)] 
Compile string.format().

12 years agoFFI: Load FFI library on-demand for -jdump.
Mike Pall [Mon, 13 May 2013 19:07:14 +0000 (21:07 +0200)] 
FFI: Load FFI library on-demand for -jdump.

12 years agoRefactor CCallInfo representation for split arguments.
Mike Pall [Mon, 13 May 2013 17:49:46 +0000 (19:49 +0200)] 
Refactor CCallInfo representation for split arguments.

12 years agoFix bit.tohex() broken by 7d5acc29.
Mike Pall [Mon, 13 May 2013 17:45:21 +0000 (19:45 +0200)] 
Fix bit.tohex() broken by 7d5acc29.

12 years agoAdapt -jdump to unified string.format("%x", -1) behavior.
Mike Pall [Mon, 13 May 2013 17:39:34 +0000 (19:39 +0200)] 
Adapt -jdump to unified string.format("%x", -1) behavior.

12 years agoAbstract out default BUFHDR emitter.
Mike Pall [Mon, 13 May 2013 15:04:19 +0000 (17:04 +0200)] 
Abstract out default BUFHDR emitter.

12 years agoFix compiler warnings.
Mike Pall [Mon, 13 May 2013 10:13:11 +0000 (12:13 +0200)] 
Fix compiler warnings.

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

12 years agoFFI: Ignore CTF_LONG in ffi.istype().
Mike Pall [Mon, 13 May 2013 08:20:59 +0000 (10:20 +0200)] 
FFI: Ignore CTF_LONG in ffi.istype().

12 years agoBig renaming of string buffer/formatting/conversion functions.
Mike Pall [Mon, 13 May 2013 08:15:07 +0000 (10:15 +0200)] 
Big renaming of string buffer/formatting/conversion functions.

12 years agoRefactor raw object to pointer or string conversions.
Mike Pall [Sun, 12 May 2013 22:34:15 +0000 (00:34 +0200)] 
Refactor raw object to pointer or string conversions.

12 years agoRefactor internal string formatting.
Mike Pall [Sun, 12 May 2013 21:52:09 +0000 (23:52 +0200)] 
Refactor internal string formatting.

12 years agoRefactor bit.tohex().
Mike Pall [Sun, 12 May 2013 21:14:12 +0000 (23:14 +0200)] 
Refactor bit.tohex().

12 years agoRefactor string.format().
Mike Pall [Sun, 12 May 2013 20:37:02 +0000 (22:37 +0200)] 
Refactor string.format().

12 years agoMerge branch 'master' into v2.1
Mike Pall [Wed, 8 May 2013 09:10:46 +0000 (11:10 +0200)] 
Merge branch 'master' into v2.1

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

12 years agoFix optional argument handling in table.concat().
Mike Pall [Wed, 8 May 2013 09:05:43 +0000 (11:05 +0200)] 
Fix optional argument handling in table.concat().

12 years agoFix optional argument handling while recording builtins.
Mike Pall [Wed, 8 May 2013 08:46:43 +0000 (10:46 +0200)] 
Fix optional argument handling while recording builtins.

12 years agoCompile string.find() for fixed string searches (no patterns).
Mike Pall [Wed, 8 May 2013 08:37:52 +0000 (10:37 +0200)] 
Compile string.find() for fixed string searches (no patterns).

12 years agoPartially refactor string.find().
Mike Pall [Tue, 7 May 2013 18:44:58 +0000 (20:44 +0200)] 
Partially refactor string.find().

12 years agoMerge branch 'master' into v2.1
Mike Pall [Thu, 2 May 2013 00:07:38 +0000 (02:07 +0200)] 
Merge branch 'master' into v2.1

12 years agoFFI: Fix tailcall in lowest frame to C function with bool result.
Mike Pall [Thu, 2 May 2013 00:04:41 +0000 (02:04 +0200)] 
FFI: Fix tailcall in lowest frame to C function with bool result.

12 years agoMerge branch 'master' into v2.1
Mike Pall [Mon, 29 Apr 2013 12:29:11 +0000 (14:29 +0200)] 
Merge branch 'master' into v2.1

12 years agoFix builtin string to number conversion for overflow digits.
Mike Pall [Mon, 29 Apr 2013 12:28:10 +0000 (14:28 +0200)] 
Fix builtin string to number conversion for overflow digits.