Commit Graph

1563 Commits

Author SHA1 Message Date
Mike Pall
69e5342eb8 RELEASE LuaJIT-2.0.4 2015-05-14 20:29:31 +02:00
Mike Pall
cd4c59f5a2 Update changelog. 2015-05-14 20:15:09 +02:00
Mike Pall
9622d6b8b2 x86/x64: Fix argument check for bit shifts. 2015-05-04 06:36:16 +02:00
Mike Pall
11106aa833 Fix stack check in narrowing optimization.
Thanks to Robert Nix.
2015-04-28 20:28:16 +02:00
Mike Pall
a9fd686744 Doc cleanup. 2015-03-11 17:47:24 +01:00
Mike Pall
8b6af89ba7 Fix Lua/C API typecheck error for special indexes. 2015-03-05 12:19:11 +01:00
Mike Pall
1f578bd424 FFI: Fix FOLD rule for TOBIT + CONV num.u32.
Thanks to Jiale Zhi.
2015-03-02 17:34:06 +01:00
Mike Pall
5c0e33c2aa ARM: Handle more arch defines. 2015-02-25 18:10:54 +01:00
Mike Pall
7ff476804e Properly fail unsupported cross-compile to MIPS64. 2015-02-25 18:02:31 +01:00
Mike Pall
e6b0875a7e Fix string to number conversion.
Thanks to Lesley De Cruz.
2015-02-22 23:07:49 +01:00
Mike Pall
4fa51affe8 x86/x64: Fix code generation for fused test/arith ops.
Thanks to Alexander Nasonov and AFL.
2015-02-21 21:44:41 +01:00
Mike Pall
704280fb80 FFI: Prevent DSE across ffi.string(). 2015-02-18 16:00:15 +01:00
Mike Pall
dfa173b929 Fix lexer error for chunks without tokens. 2015-02-02 11:03:39 +01:00
Mike Pall
7f013005f6 Don't compile IR_RETF after CALLT to ff with-side effects. 2015-01-17 14:50:41 +01:00
Mike Pall
b876d6dada OpenBSD/x86: Better executable memory allocation for W^X mode. 2015-01-17 12:55:04 +01:00
Mike Pall
86913b9bbf Bump copyright date to 2015. 2015-01-05 23:59:31 +01:00
Mike Pall
999f57de83 Fix BC_UCLO/BC_JMP join optimization in Lua parser. 2015-01-05 23:39:37 +01:00
Mike Pall
4d9e8e245a ARM: Minor interpreter optimization. 2015-01-05 00:05:38 +01:00
Mike Pall
31e66838d8 x86: Minor interpreter optimization. 2015-01-05 00:04:40 +01:00
Mike Pall
9caaf6595f Fix docs. 2015-01-04 22:58:32 +01:00
Mike Pall
db7cb5ab0e DynASM/ARM: Fix rollback for variant templates. 2014-12-27 06:08:36 +01:00
Mike Pall
f45d11e2fe MIPS: Fix excess stack growth in interpreter. 2014-12-27 06:06:07 +01:00
Mike Pall
6319e0312d PPC: Fix excess stack growth in interpreter. 2014-12-27 06:05:50 +01:00
Mike Pall
16f910b4a8 ARM: Fix write barrier check in BC_USETS. 2014-12-27 06:03:06 +01:00
Mike Pall
54826563b2 ARM: Fix excess stack growth in interpreter. 2014-12-27 05:59:16 +01:00
Mike Pall
1b774d9da3 Fix corner case in string to number conversion. 2014-12-27 05:46:51 +01:00
Mike Pall
10caad0261 x86: Fix argument checks for ipairs() iterator. 2014-12-20 01:05:06 +01:00
Mike Pall
c6e69249dd Gracefully handle lua_error() for a suspended coroutine.
Thanks to Sergei Zhirikov.
2014-12-15 01:55:45 +01:00
Mike Pall
6fddb9bc2e Avoid error messages when building with Clang. 2014-12-08 02:07:05 +01:00
Mike Pall
3f2e4ec699 DynASM/ARM: Fix description shown for multi-element templates. 2014-12-03 14:09:17 +01:00
Mike Pall
c75c62b489 Fix snapshot #0 handling for traces with a stack check on entry. 2014-11-28 20:20:12 +01:00
Mike Pall
a31c317fb5 FFI: No meta fallback when indexing pointer to incomplete struct. 2014-11-03 21:34:24 +01:00
Mike Pall
6d0654d3ec Fix fused constant loads under high register pressure. 2014-10-08 22:04:51 +02:00
Mike Pall
4846a714a9 Fix DragonFly build (unsupported).
Thanks to Robin Hahling, Alex Hornung and Joris Giovannangeli.
2014-10-07 16:17:29 +02:00
Mike Pall
cb886b5817 DynASM/x86: Add fldenv, f[n]stenv, fxsave, fxrstor opcodes.
Thanks to Cosmin Apreutesei.
2014-09-22 13:44:28 +02:00
Mike Pall
ae7d4d5ad6 DynASM/x86: Add shld/shrd opcodes.
Thanks to Peter Cawley.
2014-09-21 18:03:47 +02:00
Mike Pall
41156fe1cd FFI: Fix initialization of unions of subtypes.
Thanks to Peter Colberg.
2014-09-08 23:37:22 +02:00
Mike Pall
247ead6718 FFI: Fix for cdata vs. non-cdata arithmetic and comparisons.
Thanks to Roman Tsisyk.
2014-09-08 23:28:02 +02:00
Mike Pall
66515a054c FFI: Fix __index/__newindex metamethod resolution for ctypes. 2014-08-05 20:15:52 +02:00
Mike Pall
59d290656a Invalidate backpropagation cache after DCE. 2014-07-24 13:08:02 +02:00
Mike Pall
f948fe0c27 FFI: Fix compilation of reference field access. 2014-07-04 18:17:32 +02:00
Mike Pall
a6c34b85f7 Fix ABC elimination. 2014-07-01 17:53:40 +02:00
Mike Pall
bb5dfbb034 Typo. 2014-06-13 11:16:39 +02:00
Mike Pall
5e7b9bb8ed FFI: Fix frame traversal for backtraces with FFI callbacks. 2014-06-12 10:58:22 +02:00
Mike Pall
7dc9e5ade4 x86: lj_math_random_step() clobbers XMM regs on OSX Clang. 2014-06-11 22:44:08 +02:00
Mike Pall
e7c6a1afa2 Fix debug info for main chunk of stripped bytecode. 2014-06-11 10:19:53 +02:00
Mike Pall
7fb503dc86 Fix compatibility issues with Illumos.
Thanks to Theo Schlossnagle.
2014-05-28 15:46:26 +02:00
Mike Pall
49d3157e14 PPC: Fix red zone overflow in machine code generation. 2014-05-27 15:58:04 +02:00
Mike Pall
fc76d540a0 x86: Fix code generation for unused result of math.random(). 2014-05-27 15:25:34 +02:00
Mike Pall
e15765186c Fix FOLD rule for string.sub(s, ...) == k. 2014-05-20 11:41:32 +02:00