Commit Graph

1948 Commits

Author SHA1 Message Date
Mike Pall
da1456584b Merge branch 'master' into v2.1 2013-09-13 00:35:27 +02:00
Mike Pall
f1e7a4477c Fix snapshot restore for exit to function header. 2013-09-13 00:33:58 +02:00
Mike Pall
5f24b1d6d6 Merge branch 'master' into v2.1 2013-09-12 12:51:48 +02:00
Mike Pall
1f7b326217 DynASM: Emit #line <n> <file> instead of #<n> <file>. 2013-09-12 12:46:28 +02:00
Mike Pall
0953b9a72d Fix profiler stack dump for string chunks. 2013-09-11 23:51:46 +02:00
Mike Pall
1f2eff728b Fix -jp=a mode. 2013-09-10 19:21:10 +02:00
Mike Pall
483f823ea4 Low-overhead profiler, part 7: console ports. 2013-09-10 01:25:33 +02:00
Mike Pall
803d4ddf0c Fix non-FFI build. 2013-09-10 00:47:28 +02:00
Mike Pall
7dc6750eb3 Fix PS3 build. 2013-09-10 00:42:42 +02:00
Mike Pall
31e7cd1c76 Low-overhead profiler, part 6: documentation. 2013-09-10 00:06:17 +02:00
Mike Pall
29078518c1 Add -jp=fl mode and minor fixes. 2013-09-10 00:02:20 +02:00
Mike Pall
2befb8b1de Low-overhead profiler, part 5: add annotation mode for -jp. 2013-09-09 04:32:31 +02:00
Mike Pall
1fd2048c8d Switch from -jp=n<top_n> to -jp=m<min_pct> as a threshold. 2013-09-09 04:26:12 +02:00
Mike Pall
cb336995a8 Merge branch 'master' into v2.1 2013-09-08 13:12:33 +02:00
Mike Pall
782787f1fa FFI/x64: Fix passing of vector arguments to calls. 2013-09-08 13:11:02 +02:00
Mike Pall
0d41601e76 Merge branch 'master' into v2.1 2013-09-08 03:10:47 +02:00
Mike Pall
93c2b939bd FFI: Fix argument checks for ffi.string(). 2013-09-08 03:09:39 +02:00
Mike Pall
a13b9206dc Load jit.util module on demand (saves 1 KB). 2013-09-08 03:01:00 +02:00
Mike Pall
d1194a82eb Low-overhead profiler, part 4: JIT compiler support. 2013-09-08 02:53:23 +02:00
Mike Pall
d3d30d389b Add notice when no samples were collected by -jp. 2013-09-08 02:50:48 +02:00
Mike Pall
f8e36535f7 Fix string.format("%#X", 1). 2013-09-03 16:11:39 +02:00
Mike Pall
f8cecffbbf Merge branch 'master' into v2.1 2013-09-03 16:02:54 +02:00
Mike Pall
b6ec7c7c86 Fix quoting in xedkbuild.bat. 2013-09-03 16:02:33 +02:00
Mike Pall
7873c8dbf7 Recent GCC versions need more memory. 2013-09-03 15:55:37 +02:00
Mike Pall
fffe75a03b Fix frame traversal for backtraces. 2013-09-03 15:53:21 +02:00
Mike Pall
a4fa4dcfdf Install new jit.* modules, too. 2013-09-02 11:34:26 +02:00
Mike Pall
eca0914d88 Add low-overhead profiler. Part 3: command line interface. 2013-09-02 01:57:56 +02:00
Mike Pall
b186fb835e Add low-overhead profiler. Part 2: low-level Lua API. 2013-09-02 01:55:20 +02:00
Mike Pall
8a9519a5f4 Add internal API to add sub-modules to package.preload. 2013-09-02 01:55:07 +02:00
Mike Pall
4dce22c40d Add low-overhead profiler. Part 1: interpreter, low-level C API. 2013-09-02 01:49:19 +02:00
Mike Pall
19c2dd17db Add common helper for pointer to string formatting. 2013-08-31 19:38:20 +02:00
Mike Pall
517500ba48 Save currently executing lua_State in g->cur_L.
This is only a good approximation due to deficiencies in the design of
the Lua/C API. It indicates _some_ valid state that is/was executing.
Also reorder L->cframe stores to achieve a synchronously consistent state.
2013-08-30 23:38:17 +02:00
Mike Pall
5120240b77 Use g->jit_base for on/off-trace detection. 2013-08-26 18:28:58 +02:00
Mike Pall
b33e96f352 Merge branch 'master' into v2.1 2013-08-22 19:29:42 +02:00
Mike Pall
a6936be814 Fix compiler warning. 2013-08-22 19:29:09 +02:00
Mike Pall
5451089b5b Merge branch 'master' into v2.1 2013-08-17 00:54:49 +02:00
Mike Pall
fd1a8ddb3c Fix argument checks for math.deg()/math.rad(). 2013-08-17 00:50:53 +02:00
Mike Pall
9b14426c09 Merge branch 'master' into v2.1 2013-08-11 13:52:05 +02:00
Mike Pall
362260b24a Fix jit.flush(func|true). 2013-08-11 13:47:35 +02:00
Mike Pall
f5fba48386 Merge branch 'master' into v2.1 2013-08-03 14:24:14 +02:00
Mike Pall
99d588b06a Compatibility fix for old GCC versions. 2013-08-03 14:15:17 +02:00
Mike Pall
92a3cf469c Merge branch 'master' into v2.1 2013-07-31 01:49:58 +02:00
Mike Pall
6a878b0441 ARM: Fix register allocation when rematerializing FPRs. 2013-07-31 01:48:21 +02:00
Mike Pall
96d54789ee Merge branch 'master' into v2.1 2013-07-24 23:50:58 +02:00
Mike Pall
6dc02450d3 FFI: Properly unload loaded DLLs. 2013-07-24 23:49:19 +02:00
Mike Pall
c86f47aba5 Merge branch 'master' into v2.1 2013-07-18 08:53:14 +02:00
Mike Pall
ec96d8b494 DynASM/x64: Add VREG support to mov64.
Thanks to Peter Cawley.
2013-07-18 08:51:32 +02:00
Mike Pall
1ddf5689b5 Fix compiler warning. 2013-07-18 00:39:23 +02:00
Mike Pall
dd44018d66 Merge branch 'master' into v2.1 2013-07-17 11:06:31 +02:00
Mike Pall
9aa5d04137 Fix compilation on NetBSD/x64.
Thanks to Justin Cormack.
2013-07-17 11:04:15 +02:00