Commit Graph

2480 Commits

Author SHA1 Message Date
Mike Pall
9679a949ff Disable debug info for generated *.S to avoid confusing gdb. 2014-12-16 02:32:53 +01:00
Mike Pall
c6130e68eb Avoid dependency on frame layout for LJ_POST_FIXCOMP.
The auxiliary value in u32.lo wasn't used, anyway.
2014-12-15 02:45:40 +01:00
Mike Pall
881f48f980 Cleanup of frame handling. No functional changes. 2014-12-15 02:27:27 +01:00
Mike Pall
b93b624ad8 Merge branch 'master' into v2.1 2014-12-15 01:56:18 +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
cca81a3fe7 Merge branch 'master' into v2.1 2014-12-08 02:10:10 +01:00
Mike Pall
6fddb9bc2e Avoid error messages when building with Clang. 2014-12-08 02:07:05 +01:00
Mike Pall
ad03eba715 x86/x64: Drop internal x87 math functions. Use libm functions. 2014-12-08 02:02:34 +01:00
Mike Pall
e03df1e339 x86/x64: Call external symbols directly from interpreter code.
Except for ELF/x86 PIC, where it's easier to use wrappers.
2014-12-08 01:58:05 +01:00
Mike Pall
f49c61a277 DynASM/ARM64: Initial commit of ARM64 module. 2014-12-03 14:12:02 +01:00
Mike Pall
1fc9cd07c3 Merge branch 'master' into v2.1 2014-12-03 14:11:14 +01:00
Mike Pall
3f2e4ec699 DynASM/ARM: Fix description shown for multi-element templates. 2014-12-03 14:09:17 +01:00
Mike Pall
8cc89332ff Merge branch 'master' into v2.1 2014-11-28 20:21:35 +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
42ed4e53a5 Merge branch 'master' into v2.1 2014-11-03 21:35:52 +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
d6ff3afc14 FFI: Add ffi.typeinfo().
Thanks to Peter Colberg.
2014-10-08 22:16:53 +02:00
Mike Pall
d2809bec24 Merge branch 'master' into v2.1 2014-10-08 22:06:23 +02:00
Mike Pall
6d0654d3ec Fix fused constant loads under high register pressure. 2014-10-08 22:04:51 +02:00
Mike Pall
be64823d95 Merge branch 'master' into v2.1 2014-10-07 16:18:46 +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
0de431e3f7 Merge branch 'master' into v2.1 2014-09-22 13:46:27 +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
357defaa4e Merge branch 'master' into v2.1 2014-09-21 18:05:00 +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
b7d29b6e67 Eliminate hmask guard for forwarded HREFK. 2014-09-17 19:45:16 +02:00
Mike Pall
72c661e2b8 Merge branch 'master' into v2.1 2014-09-08 23:39:02 +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
e107525f20 Merge branch 'master' into v2.1 2014-08-05 20:18:20 +02:00
Mike Pall
66515a054c FFI: Fix __index/__newindex metamethod resolution for ctypes. 2014-08-05 20:15:52 +02:00
Mike Pall
92c32b7814 Merge branch 'master' into v2.1 2014-07-24 13:08:49 +02:00
Mike Pall
59d290656a Invalidate backpropagation cache after DCE. 2014-07-24 13:08:02 +02:00
Mike Pall
5f370d9071 Merge branch 'master' into v2.1 2014-07-04 18:19:16 +02:00
Mike Pall
f948fe0c27 FFI: Fix compilation of reference field access. 2014-07-04 18:17:32 +02:00
Mike Pall
0ac4c43965 Merge branch 'master' into v2.1 2014-07-01 17:54:08 +02:00
Mike Pall
a6c34b85f7 Fix ABC elimination. 2014-07-01 17:53:40 +02:00
Mike Pall
1cb5929c5c Compile debug.getmetatable().
Thanks to Karel Tuma.
2014-06-18 12:36:50 +02:00
Mike Pall
ccd456af73 Merge branch 'master' into v2.1 2014-06-13 11:16:47 +02:00
Mike Pall
bb5dfbb034 Typo. 2014-06-13 11:16:39 +02:00
Mike Pall
89f61de517 Merge branch 'master' into v2.1 2014-06-12 11:02:44 +02:00
Mike Pall
5e7b9bb8ed FFI: Fix frame traversal for backtraces with FFI callbacks. 2014-06-12 10:58:22 +02:00
Mike Pall
9d67be8ec1 Merge branch 'master' into v2.1 2014-06-11 22:47:10 +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
afcc3c0b83 Merge branch 'master' into v2.1 2014-06-11 10:21:37 +02:00
Mike Pall
e7c6a1afa2 Fix debug info for main chunk of stripped bytecode. 2014-06-11 10:19:53 +02:00
Mike Pall
95977599e7 Merge branch 'master' into v2.1 2014-05-28 15:47:21 +02:00
Mike Pall
7fb503dc86 Fix compatibility issues with Illumos.
Thanks to Theo Schlossnagle.
2014-05-28 15:46:26 +02:00
Mike Pall
7400e2c0cc Merge branch 'master' into v2.1 2014-05-27 15:59:20 +02:00
Mike Pall
49d3157e14 PPC: Fix red zone overflow in machine code generation. 2014-05-27 15:58:04 +02:00