]>
git.ipfire.org Git - thirdparty/LuaJIT.git/log
Mike Pall [Mon, 3 Jun 2013 19:16:17 +0000 (21:16 +0200)]
RELEASE LuaJIT-2.0.2
Mike Pall [Mon, 3 Jun 2013 18:21:25 +0000 (20:21 +0200)]
Update changelog.
Mike Pall [Mon, 3 Jun 2013 15:32:09 +0000 (17:32 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Mon, 3 Jun 2013 15:30:35 +0000 (17:30 +0200)]
PPC: Add plt suffix for external calls from assembler code.
Mike Pall [Wed, 29 May 2013 21:12:09 +0000 (23:12 +0200)]
Merge branch 'master' into v2.1
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.
Mike Pall [Wed, 29 May 2013 18:17:26 +0000 (20:17 +0200)]
Refactor string buffer growth helpers.
Mike Pall [Wed, 29 May 2013 17:57:59 +0000 (19:57 +0200)]
Fix -jdump broken by
2ef2c34d.
Mike Pall [Wed, 29 May 2013 12:54:06 +0000 (14:54 +0200)]
Minor change to lj_lib_pushcc().
Mike Pall [Sat, 25 May 2013 08:20:46 +0000 (10:20 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Sat, 25 May 2013 08:18:12 +0000 (10:18 +0200)]
Fix compatibility issues with Illumos.
Thanks to Theo Schlossnagle.
Mike Pall [Fri, 24 May 2013 15:44:55 +0000 (17:44 +0200)]
FFI: Refactor ffi.gc()/__gc. Compile ffi.gc(cdata, nil), too.
Mike Pall [Thu, 23 May 2013 23:32:10 +0000 (01:32 +0200)]
Merge branch 'master' into v2.1
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.
Mike Pall [Thu, 23 May 2013 22:45:44 +0000 (00:45 +0200)]
FFI: Compile VLA/VLS and large cdata allocs with default initialization.
Mike Pall [Thu, 23 May 2013 20:20:07 +0000 (22:20 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Thu, 23 May 2013 20:15:51 +0000 (22:15 +0200)]
FFI: Must sink XBAR together with XSTOREs.
Mike Pall [Thu, 23 May 2013 20:17:45 +0000 (22:17 +0200)]
FFI: Fix unroll limit for ffi.fill().
Mike Pall [Thu, 23 May 2013 17:58:35 +0000 (19:58 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Thu, 23 May 2013 17:43:41 +0000 (19:43 +0200)]
FFI: Insert no-op type conversion for pointer to integer cast.
Mike Pall [Thu, 23 May 2013 16:43:16 +0000 (18:43 +0200)]
Refactor lj_cdata_newv().
Mike Pall [Wed, 22 May 2013 20:57:18 +0000 (22:57 +0200)]
Don't try to reinvent memcpy().
Mike Pall [Sat, 18 May 2013 12:14:06 +0000 (14:14 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Sat, 18 May 2013 12:11:59 +0000 (14:11 +0200)]
FFI: Improve error messages for arithmetic and comparison operators.
Mike Pall [Sat, 18 May 2013 11:48:32 +0000 (13:48 +0200)]
Remove use of printf() in luajit.c.
Mike Pall [Thu, 16 May 2013 18:34:34 +0000 (20:34 +0200)]
Get rid of module() in all internal modules.
Mike Pall [Thu, 16 May 2013 18:07:53 +0000 (20:07 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Thu, 16 May 2013 17:59:38 +0000 (19:59 +0200)]
Handle calls with max. args in backends even after SPLIT.
Mike Pall [Thu, 16 May 2013 12:48:47 +0000 (14:48 +0200)]
Merge branch 'master' into v2.1
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.
Mike Pall [Thu, 16 May 2013 12:40:22 +0000 (14:40 +0200)]
Merge branch 'master' into v2.1
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.
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).
Mike Pall [Wed, 15 May 2013 11:57:35 +0000 (13:57 +0200)]
Compile bit.tohex().
Mike Pall [Wed, 15 May 2013 11:54:22 +0000 (13:54 +0200)]
Another fix for bit.tohex().
Mike Pall [Mon, 13 May 2013 19:18:22 +0000 (21:18 +0200)]
Compile string.format().
Mike Pall [Mon, 13 May 2013 19:07:14 +0000 (21:07 +0200)]
FFI: Load FFI library on-demand for -jdump.
Mike Pall [Mon, 13 May 2013 17:49:46 +0000 (19:49 +0200)]
Refactor CCallInfo representation for split arguments.
Mike Pall [Mon, 13 May 2013 17:45:21 +0000 (19:45 +0200)]
Fix bit.tohex() broken by
7d5acc29.
Mike Pall [Mon, 13 May 2013 17:39:34 +0000 (19:39 +0200)]
Adapt -jdump to unified string.format("%x", -1) behavior.
Mike Pall [Mon, 13 May 2013 15:04:19 +0000 (17:04 +0200)]
Abstract out default BUFHDR emitter.
Mike Pall [Mon, 13 May 2013 10:13:11 +0000 (12:13 +0200)]
Fix compiler warnings.
Mike Pall [Mon, 13 May 2013 08:21:25 +0000 (10:21 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Mon, 13 May 2013 08:20:59 +0000 (10:20 +0200)]
FFI: Ignore CTF_LONG in ffi.istype().
Mike Pall [Mon, 13 May 2013 08:15:07 +0000 (10:15 +0200)]
Big renaming of string buffer/formatting/conversion functions.
Mike Pall [Sun, 12 May 2013 22:34:15 +0000 (00:34 +0200)]
Refactor raw object to pointer or string conversions.
Mike Pall [Sun, 12 May 2013 21:52:09 +0000 (23:52 +0200)]
Refactor internal string formatting.
Mike Pall [Sun, 12 May 2013 21:14:12 +0000 (23:14 +0200)]
Refactor bit.tohex().
Mike Pall [Sun, 12 May 2013 20:37:02 +0000 (22:37 +0200)]
Refactor string.format().
Mike Pall [Wed, 8 May 2013 09:10:46 +0000 (11:10 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Wed, 8 May 2013 09:06:45 +0000 (11:06 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Wed, 8 May 2013 09:05:43 +0000 (11:05 +0200)]
Fix optional argument handling in table.concat().
Mike Pall [Wed, 8 May 2013 08:46:43 +0000 (10:46 +0200)]
Fix optional argument handling while recording builtins.
Mike Pall [Wed, 8 May 2013 08:37:52 +0000 (10:37 +0200)]
Compile string.find() for fixed string searches (no patterns).
Mike Pall [Tue, 7 May 2013 18:44:58 +0000 (20:44 +0200)]
Partially refactor string.find().
Mike Pall [Thu, 2 May 2013 00:07:38 +0000 (02:07 +0200)]
Merge branch 'master' into v2.1
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.
Mike Pall [Mon, 29 Apr 2013 12:29:11 +0000 (14:29 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Mon, 29 Apr 2013 12:28:10 +0000 (14:28 +0200)]
Fix builtin string to number conversion for overflow digits.
Mike Pall [Sun, 28 Apr 2013 09:31:41 +0000 (11:31 +0200)]
Inhibit CSE for table.concat().
Mike Pall [Sat, 27 Apr 2013 23:51:41 +0000 (01:51 +0200)]
Compile __concat metamethod.
Mike Pall [Sat, 27 Apr 2013 23:49:28 +0000 (01:49 +0200)]
Fix BC_ISTYPE for WIN64 calling conventions.
Mike Pall [Sat, 27 Apr 2013 13:52:32 +0000 (15:52 +0200)]
Compile table.concat().
Mike Pall [Sat, 27 Apr 2013 13:51:50 +0000 (15:51 +0200)]
Refactor table.concat().
Mike Pall [Fri, 26 Apr 2013 22:17:59 +0000 (00:17 +0200)]
Optimize BUFHDR code generation.
Rematerialize const buffer pointer instead of spilling.
Mike Pall [Fri, 26 Apr 2013 20:55:24 +0000 (22:55 +0200)]
Compile string.rep().
Mike Pall [Fri, 26 Apr 2013 17:57:25 +0000 (19:57 +0200)]
Refactor string.rep().
Mike Pall [Fri, 26 Apr 2013 17:20:21 +0000 (19:20 +0200)]
Abstract out some common buffer operations.
Mike Pall [Fri, 26 Apr 2013 16:40:39 +0000 (18:40 +0200)]
Replace string.len with bytecode builtin.
Mike Pall [Fri, 26 Apr 2013 11:47:41 +0000 (13:47 +0200)]
Change semantics of buffer ops to simplify CSE and DCE.
Mike Pall [Fri, 26 Apr 2013 08:38:24 +0000 (10:38 +0200)]
Fix MSVC build.
Mike Pall [Thu, 25 Apr 2013 22:59:35 +0000 (00:59 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Thu, 25 Apr 2013 22:54:53 +0000 (00:54 +0200)]
Tighten requirements for non-default optimization flags.
FOLD is required for FWD/DSE optimizations.
Mike Pall [Thu, 25 Apr 2013 22:32:08 +0000 (00:32 +0200)]
Compile string.reverse(), string.lower(), string.upper().
Mike Pall [Thu, 25 Apr 2013 22:31:10 +0000 (00:31 +0200)]
Refactor string.reverse(), string.lower(), string.upper().
Mike Pall [Thu, 25 Apr 2013 22:26:44 +0000 (00:26 +0200)]
Fix FOLD rules for appending to string buffers.
Mike Pall [Wed, 24 Apr 2013 09:22:52 +0000 (11:22 +0200)]
Fix os.date() broken by
d38d10a3.
Mike Pall [Tue, 23 Apr 2013 10:25:18 +0000 (12:25 +0200)]
Compile string.char().
Mike Pall [Tue, 23 Apr 2013 00:20:03 +0000 (02:20 +0200)]
Use explicit conversion type for IR_TOSTR. Add char conversion.
Mike Pall [Mon, 22 Apr 2013 22:56:03 +0000 (00:56 +0200)]
Fuse string creation into concats. Optimize single-char concats.
Mike Pall [Mon, 22 Apr 2013 22:08:04 +0000 (00:08 +0200)]
Always emit TOSTR for non-string CAT operands. Fuse in backend.
Mike Pall [Mon, 22 Apr 2013 20:37:22 +0000 (22:37 +0200)]
Fix PHI barrier in BUFPUT FOLD rule.
Mike Pall [Mon, 22 Apr 2013 20:32:41 +0000 (22:32 +0200)]
Combine IR instruction dispatch for all assembler backends.
Mike Pall [Mon, 22 Apr 2013 20:30:33 +0000 (22:30 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Mon, 22 Apr 2013 20:27:23 +0000 (22:27 +0200)]
Fix compiler warning.
Mike Pall [Mon, 22 Apr 2013 18:47:39 +0000 (20:47 +0200)]
Use same HREF+EQ/NE optimization in all assembler backends.
Mike Pall [Mon, 22 Apr 2013 15:34:36 +0000 (17:34 +0200)]
Reorganize generic operations common to all assembler backends.
Mike Pall [Sat, 20 Apr 2013 23:01:33 +0000 (01:01 +0200)]
Compile string concatenations (BC_CAT).
Mike Pall [Sat, 20 Apr 2013 23:00:01 +0000 (01:00 +0200)]
Move buffer shrinking to atomic GC phase.
Mike Pall [Sat, 20 Apr 2013 22:58:32 +0000 (00:58 +0200)]
Add generic load/store with offset to assembler backends.
Mike Pall [Tue, 9 Apr 2013 14:35:02 +0000 (16:35 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Tue, 9 Apr 2013 14:33:47 +0000 (16:33 +0200)]
Document support for Lua 5.2 extension of loadfile().
Mike Pall [Tue, 9 Apr 2013 09:50:33 +0000 (11:50 +0200)]
Inhibit DSE for implicit loads via calls.
Mike Pall [Fri, 5 Apr 2013 18:24:24 +0000 (20:24 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Fri, 5 Apr 2013 18:22:41 +0000 (20:22 +0200)]
Fix jump-range constrained mcode allocation.
Mike Pall [Thu, 4 Apr 2013 16:20:58 +0000 (18:20 +0200)]
Merge branch 'master' into v2.1
Mike Pall [Thu, 4 Apr 2013 15:19:31 +0000 (17:19 +0200)]
Fix spurious red zone overflows in machine code generation.
Mike Pall [Thu, 4 Apr 2013 15:05:00 +0000 (17:05 +0200)]
FFI/x86: Fix register allocation for 64 bit comparisons.
Mike Pall [Mon, 25 Mar 2013 15:44:19 +0000 (16:44 +0100)]
Tune string concatenation.
Mike Pall [Mon, 25 Mar 2013 15:41:13 +0000 (16:41 +0100)]
Optimize and refactor printing of numbers to buffers.