Commit Graph

2326 Commits

Author SHA1 Message Date
Mike Pall
576ddf1db5 Merge branch 'master' into v2.1 2015-02-21 21:46:22 +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
063f3d5d7c Merge branch 'master' into v2.1 2015-02-18 16:01:11 +01:00
Mike Pall
704280fb80 FFI: Prevent DSE across ffi.string(). 2015-02-18 16:00:15 +01:00
Mike Pall
04dc64b558 LJ_FR2: Fix bytecode generation for method lookups. 2015-02-08 20:25:27 +01:00
Mike Pall
ca5bbdf92a Merge branch 'master' into v2.1 2015-02-02 11:06:45 +01:00
Mike Pall
dfa173b929 Fix lexer error for chunks without tokens. 2015-02-02 11:03:39 +01:00
Mike Pall
43cb818ba8 Merge branch 'master' into v2.1 2015-01-17 14:57:24 +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
3e1703895a DynASM/PPC: Add missing PPC64 instructions and various extensions.
Contributed by Caio Souza Oliveira.
2015-01-14 21:40:24 +01:00
Mike Pall
3f19b34242 iOS/ARM64: Fix target OS detection. 2015-01-08 02:52:31 +01:00
Mike Pall
962d2aaa9f LJ_GC64: Return true for ffi.abi("gc64"). 2015-01-07 21:14:43 +01:00
Mike Pall
33f0c24f06 ARM64: Add FFI support. 2015-01-07 21:06:40 +01:00
Mike Pall
ce1a5ee535 iOS/ARM64: The frame pointer is required. 2015-01-07 20:59:37 +01:00
Mike Pall
9647aab0dc LJ_FR2: Fix lua_settable() and lua_setfield(). 2015-01-07 13:17:57 +01:00
Mike Pall
1b1bd08d3c DynASM/ARM64: Fix checks for scaled immediates. 2015-01-07 13:17:11 +01:00
Mike Pall
0a5045c34e Merge branch 'master' into v2.1 2015-01-06 00:12:45 +01:00
Mike Pall
86913b9bbf Bump copyright date to 2015. 2015-01-05 23:59:31 +01:00
Mike Pall
c71cdf4c36 Merge branch 'master' into v2.1 2015-01-05 23:43:57 +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
71ecc051dc Fix MSVC build. 2015-01-05 00:38:18 +01:00
Mike Pall
fcae87e315 Merge branch 'master' into v2.1 2015-01-05 00:07:27 +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
7bdadeb3c6 ARM64: Update docs. 2015-01-04 23:54:00 +01:00
Mike Pall
e1261a07bf ARM64: Compatibility fixes for Clang. 2015-01-04 23:52:50 +01:00
Mike Pall
dfe84fd8c5 PPC/e500: Drop support for this architecture. 2015-01-04 23:01:16 +01:00
Mike Pall
968725c4d5 Merge branch 'master' into v2.1 2015-01-04 22:58:41 +01:00
Mike Pall
9caaf6595f Fix docs. 2015-01-04 22:58:32 +01:00
Mike Pall
f307d0adaf ARM64: Add build infrastructure and initial port of interpreter. 2015-01-03 15:28:33 +01:00
Mike Pall
cb481ddc8f Add LJ_GC64 mode: 64 bit GC object references.
Actually NaN tagging with 47 bit pointers and 13+4 bit tags.
2015-01-03 15:23:58 +01:00
Mike Pall
054e6abe37 Add LJ_FR2 mode: Two-slot frame info. 2015-01-03 15:04:38 +01:00
Mike Pall
a13dfd66c3 DynASM/ARM64: Various fixes. 2014-12-27 06:13:48 +01:00
Mike Pall
7a76d435da Merge branch 'master' into v2.1 2014-12-27 06:11:14 +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
ecaa4eae88 Merge branch 'master' into v2.1 2014-12-20 01:48:17 +01:00
Mike Pall
5cb6e2eaaf Cleanup of TValue setters. No functional changes. 2014-12-20 01:48:00 +01:00
Mike Pall
10caad0261 x86: Fix argument checks for ipairs() iterator. 2014-12-20 01:05:06 +01:00
Mike Pall
6e9145a882 Cleanup of memory vs. GC sizes. No functional changes. 2014-12-20 00:17:50 +01:00
Mike Pall
82e6e5fb5f x86: Fix stack slot reservation for FP math functions.
Followup fix for commit ad03eba7.
2014-12-16 22:25:52 +01:00
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