Commit Graph

1476 Commits

Author SHA1 Message Date
Mike Pall
0f79d4741f Handle calls with max. args in backends even after SPLIT. 2013-05-16 19:59:38 +02:00
Mike Pall
1c7650f782 FFI: Fix calling conventions for ARM hard-float EABI.
Properly classify nested (non-transparent) structs.
2013-05-16 14:47:20 +02:00
Mike Pall
5dabdb2e70 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.
2013-05-16 14:35:00 +02:00
Mike Pall
1a5fd521b8 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).
2013-05-15 18:48:06 +02:00
Mike Pall
23aa02fb51 FFI: Ignore CTF_LONG in ffi.istype(). 2013-05-13 10:20:59 +02:00
Mike Pall
b030788401 Fix optional argument handling in table.concat(). 2013-05-08 11:05:43 +02:00
Mike Pall
c5d7666ec8 Fix optional argument handling while recording builtins. 2013-05-08 10:46:43 +02:00
Mike Pall
5d6db413ae FFI: Fix tailcall in lowest frame to C function with bool result. 2013-05-02 02:04:41 +02:00
Mike Pall
09aeca6abf Fix builtin string to number conversion for overflow digits. 2013-04-29 14:28:10 +02:00
Mike Pall
895a8bc91f Tighten requirements for non-default optimization flags.
FOLD is required for FWD/DSE optimizations.
2013-04-26 00:54:53 +02:00
Mike Pall
611ec41bca Fix compiler warning. 2013-04-22 22:27:23 +02:00
Mike Pall
b1327bcf89 Document support for Lua 5.2 extension of loadfile(). 2013-04-09 16:33:47 +02:00
Mike Pall
f17b038828 Inhibit DSE for implicit loads via calls. 2013-04-09 11:50:33 +02:00
Mike Pall
b5bbacdc17 Fix jump-range constrained mcode allocation. 2013-04-05 20:22:41 +02:00
Mike Pall
389822d606 Fix spurious red zone overflows in machine code generation. 2013-04-04 17:19:31 +02:00
Mike Pall
6ba65cefb0 FFI/x86: Fix register allocation for 64 bit comparisons. 2013-04-04 17:05:00 +02:00
Mike Pall
172bd95365 FFI: Fix snapshot substitution in SPLIT pass. 2013-03-23 14:51:23 +01:00
Mike Pall
d147eedac9 DynASM: Improve validation of local backwards relocations. 2013-03-17 14:20:40 +01:00
Mike Pall
eea48c8b26 Fix rotate definitions for variable shifts. 2013-03-13 21:58:53 +01:00
Mike Pall
dac2825e9d Add missing GC steps for io.* functions. 2013-03-03 21:18:22 +01:00
Mike Pall
78c97bc5a1 MIPS: Fix cache flush/sync for JIT-compiled code jump area. 2013-02-28 17:52:31 +01:00
Mike Pall
3e286c1e72 ARM: Fix cache flush/sync for exit stubs of JIT-compiled code. 2013-02-28 17:51:16 +01:00
Mike Pall
cea899b61a Allow changing *.dll/*.lib name in msvcbuild.bat. 2013-02-26 18:31:01 +01:00
Mike Pall
9b7d2e9276 Properly fix MSVC intrinsics for older versions. 2013-02-24 12:41:53 +01:00
Mike Pall
d4bc6ab756 Fix memory access check for fast string interning. 2013-02-21 16:22:26 +01:00
Mike Pall
e7633dba1e RELEASE LuaJIT-2.0.1 (fixed) 2013-02-19 21:14:27 +01:00
Mike Pall
92699e9ea9 RELEASE LuaJIT-2.0.1 2013-02-19 18:05:39 +01:00
Mike Pall
e822bdb688 Update changelog. 2013-02-19 17:44:57 +01:00
Mike Pall
c7f0b6bca0 Fix capitalization of 'Xbox'. 2013-02-13 11:57:04 +01:00
Mike Pall
4e35c025dc PPC/e500: Fix lj_vm_floor() for inf/nan. 2013-02-12 12:37:18 +01:00
Mike Pall
339b77ee05 OSX: Add support for Mach-O object files to -b option.
Thanks to Adam Strzelecki.
2013-02-11 17:58:06 +01:00
Mike Pall
250b24f937 Improve buffer handling for io.read(). 2013-02-11 14:50:18 +01:00
Mike Pall
4a44c4ff69 Bump copyright date to 2013. 2013-02-11 12:54:48 +01:00
Mike Pall
8b46013fdd FFI: Stricter parsing of declaration specifiers. 2013-02-03 12:47:52 +01:00
Mike Pall
fe9934feea FFI: Fix handling of qualified transparent structs/unions. 2013-02-03 11:51:19 +01:00
Mike Pall
4eb4b8ab84 Keep line number for KPRI to KNIL optimization. 2013-01-31 12:36:23 +01:00
Mike Pall
f772bed34b Fix XBox 360 port. 2013-01-30 20:37:39 +01:00
Mike Pall
a3db8f3562 Avoid leaking memory on kernels with recalcitrant mmap() behavior. 2013-01-28 12:29:31 +01:00
Mike Pall
1651684417 Add missing FOLD rules for U32 conversions. 2013-01-21 16:49:03 +01:00
Mike Pall
89e4650bae Add XBox 360 port.
Thanks to Eddie Edwards.
2013-01-21 16:43:49 +01:00
Mike Pall
2c293a96de FFI: Load FFI library on-demand for bytecode with cdata literals. 2013-01-15 01:16:37 +01:00
Mike Pall
2e8e587638 x86/x64: Always mark ref for shift count as non-weak. 2013-01-14 16:03:32 +01:00
Mike Pall
fec750c892 Another fix for PS3 build. 2013-01-14 14:14:12 +01:00
Mike Pall
ad36fdac50 PPC/e500: Remove assembler code for lj_vm_foldarith(). 2013-01-11 13:36:01 +01:00
Mike Pall
8a3be5da74 Remove redundant code in jit/*.lua. 2013-01-11 12:30:10 +01:00
Mike Pall
f0a0a23533 Remove fictitious Solaris define. 2013-01-11 12:23:44 +01:00
Mike Pall
e434ab505e Fix PS3 build. 2013-01-11 12:19:53 +01:00
Mike Pall
f22d5d9eef Fix discharge order of comparisons in Lua parser. 2013-01-11 12:19:05 +01:00
Mike Pall
fb101458c5 Allow using MSVC intrinsics with older versions. 2013-01-03 21:41:27 +01:00
Mike Pall
8b97dc738f FFI: Fix code generation for bool call result check on x86/x64. 2013-01-02 23:56:49 +01:00