Commit Graph

1613 Commits

Author SHA1 Message Date
Mike Pall
41f3ae26d9 Merge branch 'master' into v2.1 2013-02-24 12:43:15 +01:00
Mike Pall
9b7d2e9276 Properly fix MSVC intrinsics for older versions. 2013-02-24 12:41:53 +01:00
Mike Pall
60e380fd93 Replace table.getn/foreach/foreachi with bytecode builtins. 2013-02-23 02:17:50 +01:00
Mike Pall
73ef845fca 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.
2013-02-23 02:09:19 +01:00
Mike Pall
b359ce804b Remove obsolete non-truncating number to integer conversions. 2013-02-23 01:19:00 +01:00
Mike Pall
fdc0ce8deb Don't modify generated libbc header if unchanged. 2013-02-22 12:29:54 +01:00
Mike Pall
19d5651455 Replace math.deg/math.rad with builtin Lua function. 2013-02-22 01:44:17 +01:00
Mike Pall
e20157c6e6 Add support for embedding LuaJIT bytecode for builtins. 2013-02-22 01:40:41 +01:00
Mike Pall
c3219b7d17 x86/x64: Drop xmm register/memory move tuning for K8. 2013-02-21 17:04:00 +01:00
Mike Pall
57768cd588 x86: Remove x87 support from interpreter.
SSE2 required from now on.
2013-02-21 16:56:59 +01:00
Mike Pall
61fb587d2c BRANCH LuaJIT-2.1 2013-02-21 16:49:04 +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
Mike Pall
9827650582 ARM: Handle armv7s arch defines.
Thanks to Joey Liaw.
2012-12-10 09:55:14 +01:00
Mike Pall
e422ae2d9d Leave hook when resume catches error thrown from hook. 2012-12-06 14:14:11 +01:00
Mike Pall
41738e371a ARM: Fix code generation for integer math.min/math.max. 2012-12-02 21:22:00 +01:00
Mike Pall
ee748dd029 ARM: Fix armhf call argument handling. 2012-12-02 21:21:02 +01:00
Mike Pall
405020c405 FFI: Add debug define to check for unanchored CTypes. 2012-11-26 11:01:59 +01:00
Mike Pall
2ad9834df6 Add missing GC steps for template table creation. 2012-11-16 13:20:12 +01:00
Mike Pall
16f23458bc FFI: Change priority of table initializer variants for structs. 2012-11-15 00:26:34 +01:00
Mike Pall
2689f32453 Prevent erroneous x64 builds with non-native exception handling. 2012-11-14 22:16:10 +01:00
Mike Pall
c77a9e4c65 Don't clear frame for out-of-memory error. 2012-11-14 21:54:27 +01:00
Mike Pall
32fa68d3e8 Fix assertion. 2012-11-14 21:54:17 +01:00
Mike Pall
caed566e2b Mention -Osink in docs. 2012-11-13 19:24:05 +01:00
Mike Pall
1cd13f6b33 x64: Don't fuse implicitly 32-to-64 extended operands. 2012-11-13 19:20:52 +01:00
Mike Pall
87d74a8f3d RELEASE LuaJIT-2.0.0-rc3 2012-11-08 11:05:06 +01:00