diff options
Diffstat (limited to 'doc/running.html')
-rw-r--r-- | doc/running.html | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/doc/running.html b/doc/running.html index c7d9e9b6..3afc1b56 100644 --- a/doc/running.html +++ b/doc/running.html | |||
@@ -1,8 +1,8 @@ | |||
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | <title>Running LuaJIT</title> | 4 | <title>Running LuaJIT</title> |
5 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 5 | <meta charset="utf-8"> |
6 | <meta name="Copyright" content="Copyright (C) 2005-2023"> | 6 | <meta name="Copyright" content="Copyright (C) 2005-2023"> |
7 | <meta name="Language" content="en"> | 7 | <meta name="Language" content="en"> |
8 | <link rel="stylesheet" type="text/css" href="bluequad.css" media="screen"> | 8 | <link rel="stylesheet" type="text/css" href="bluequad.css" media="screen"> |
@@ -59,9 +59,13 @@ td.param_default { | |||
59 | <a href="ext_ffi_semantics.html">FFI Semantics</a> | 59 | <a href="ext_ffi_semantics.html">FFI Semantics</a> |
60 | </li></ul> | 60 | </li></ul> |
61 | </li><li> | 61 | </li><li> |
62 | <a href="ext_buffer.html">String Buffers</a> | ||
63 | </li><li> | ||
62 | <a href="ext_jit.html">jit.* Library</a> | 64 | <a href="ext_jit.html">jit.* Library</a> |
63 | </li><li> | 65 | </li><li> |
64 | <a href="ext_c_api.html">Lua/C API</a> | 66 | <a href="ext_c_api.html">Lua/C API</a> |
67 | </li><li> | ||
68 | <a href="ext_profiler.html">Profiler</a> | ||
65 | </li></ul> | 69 | </li></ul> |
66 | </li><li> | 70 | </li><li> |
67 | <a href="https://luajit.org/status.html">Status <span class="ext">»</span></a> | 71 | <a href="https://luajit.org/status.html">Status <span class="ext">»</span></a> |
@@ -106,6 +110,7 @@ are accepted: | |||
106 | <li><tt>-t type</tt> — Set output file type (default: auto-detect from output name).</li> | 110 | <li><tt>-t type</tt> — Set output file type (default: auto-detect from output name).</li> |
107 | <li><tt>-a arch</tt> — Override architecture for object files (default: native).</li> | 111 | <li><tt>-a arch</tt> — Override architecture for object files (default: native).</li> |
108 | <li><tt>-o os</tt> — Override OS for object files (default: native).</li> | 112 | <li><tt>-o os</tt> — Override OS for object files (default: native).</li> |
113 | <li><tt>-F name</tt> — Override filename (default: input filename).</li> | ||
109 | <li><tt>-e chunk</tt> — Use chunk string as input.</li> | 114 | <li><tt>-e chunk</tt> — Use chunk string as input.</li> |
110 | <li><tt>-</tt> (a single minus sign) — Use stdin as input and/or stdout as output.</li> | 115 | <li><tt>-</tt> (a single minus sign) — Use stdin as input and/or stdout as output.</li> |
111 | </ul> | 116 | </ul> |
@@ -171,6 +176,7 @@ Here are the available LuaJIT control commands: | |||
171 | <li id="j_flush"><tt>-jflush</tt> — Flushes the whole cache of compiled code.</li> | 176 | <li id="j_flush"><tt>-jflush</tt> — Flushes the whole cache of compiled code.</li> |
172 | <li id="j_v"><tt>-jv</tt> — Shows verbose information about the progress of the JIT compiler.</li> | 177 | <li id="j_v"><tt>-jv</tt> — Shows verbose information about the progress of the JIT compiler.</li> |
173 | <li id="j_dump"><tt>-jdump</tt> — Dumps the code and structures used in various compiler stages.</li> | 178 | <li id="j_dump"><tt>-jdump</tt> — Dumps the code and structures used in various compiler stages.</li> |
179 | <li id="j_p"><tt>-jp</tt> — Start the <a href="ext_profiler.html">integrated profiler</a>.</li> | ||
174 | </ul> | 180 | </ul> |
175 | <p> | 181 | <p> |
176 | The <tt>-jv</tt> and <tt>-jdump</tt> commands are extension modules | 182 | The <tt>-jv</tt> and <tt>-jdump</tt> commands are extension modules |
@@ -215,6 +221,12 @@ mix the three forms, but note that setting an optimization level | |||
215 | overrides all earlier flags. | 221 | overrides all earlier flags. |
216 | </p> | 222 | </p> |
217 | <p> | 223 | <p> |
224 | Note that <tt>-Ofma</tt> is not enabled by default at any level, | ||
225 | because it affects floating-point result accuracy. Only enable this, | ||
226 | if you fully understand the trade-offs of FMA for performance (higher), | ||
227 | determinism (lower) and numerical accuracy (higher). | ||
228 | </p> | ||
229 | <p> | ||
218 | Here are the available flags and at what optimization levels they | 230 | Here are the available flags and at what optimization levels they |
219 | are enabled: | 231 | are enabled: |
220 | </p> | 232 | </p> |
@@ -246,6 +258,8 @@ are enabled: | |||
246 | <td class="flag_name">sink</td><td class="flag_level"> </td><td class="flag_level"> </td><td class="flag_level">•</td><td class="flag_desc">Allocation/Store Sinking</td></tr> | 258 | <td class="flag_name">sink</td><td class="flag_level"> </td><td class="flag_level"> </td><td class="flag_level">•</td><td class="flag_desc">Allocation/Store Sinking</td></tr> |
247 | <tr class="even"> | 259 | <tr class="even"> |
248 | <td class="flag_name">fuse</td><td class="flag_level"> </td><td class="flag_level"> </td><td class="flag_level">•</td><td class="flag_desc">Fusion of operands into instructions</td></tr> | 260 | <td class="flag_name">fuse</td><td class="flag_level"> </td><td class="flag_level"> </td><td class="flag_level">•</td><td class="flag_desc">Fusion of operands into instructions</td></tr> |
261 | <tr class="odd"> | ||
262 | <td class="flag_name">fma </td><td class="flag_level"> </td><td class="flag_level"> </td><td class="flag_level"> </td><td class="flag_desc">Fused multiply-add</td></tr> | ||
249 | </table> | 263 | </table> |
250 | <p> | 264 | <p> |
251 | Here are the parameters and their default settings: | 265 | Here are the parameters and their default settings: |