diff options
author | Mike Pall <mike> | 2010-02-28 21:45:38 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-02-28 21:51:01 +0100 |
commit | 2e22d33d9d256e9a1551229f1b51e2a6f02da2f6 (patch) | |
tree | 55c51dd77b08afd7044a046cb3b037106285000c /doc/install.html | |
parent | 956065fd047de66aab31cd4336f3e663e87db3e3 (diff) | |
download | luajit-2e22d33d9d256e9a1551229f1b51e2a6f02da2f6.tar.gz luajit-2e22d33d9d256e9a1551229f1b51e2a6f02da2f6.tar.bz2 luajit-2e22d33d9d256e9a1551229f1b51e2a6f02da2f6.zip |
Enable JIT compiler for x64.
Only works on Linux/x64 and Windows/x64 right now.
Force an x64 build on Linux/x64 with: make CC="gcc -m64"
NYI: handle on-trace OOM errors.
NYI: improve register allocation for x64.
Diffstat (limited to '')
-rw-r--r-- | doc/install.html | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/doc/install.html b/doc/install.html index 605f954d..102f3417 100644 --- a/doc/install.html +++ b/doc/install.html | |||
@@ -54,16 +54,10 @@ LuaJIT currently builds out-of-the box on all popular x86 systems | |||
54 | (Linux, Windows, OSX etc.). It builds and runs fine as a 32 bit | 54 | (Linux, Windows, OSX etc.). It builds and runs fine as a 32 bit |
55 | application under x64-based systems, too. | 55 | application under x64-based systems, too. |
56 | </p> | 56 | </p> |
57 | <p class="indent" style="color: #00a000;"> | 57 | <p style="color: #00a000;"> |
58 | The x64 port of LuaJIT is still experimental and not enabled by default. | 58 | The x64 port of LuaJIT is still preliminary and not enabled by default. |
59 | It only contains the interpreter and only builds on Linux/x64 and WIN64 | 59 | It only builds on Linux/x64 and Windows/x64 right now. If you want to |
60 | right now. If you want to give it a try, follow the special build instructions | 60 | give it a try, please follow the special build instructions below. |
61 | below. | ||
62 | </p> | ||
63 | <p class="indent" style="color: #00a000;"> | ||
64 | Note that the pure interpreter is quite a bit faster than Lua, but of | ||
65 | course not as fast as the x86 JIT compiler. Work on the x64 JIT compiler | ||
66 | is still ongoing. | ||
67 | </p> | 61 | </p> |
68 | 62 | ||
69 | <h2>Configuring LuaJIT</h2> | 63 | <h2>Configuring LuaJIT</h2> |
@@ -119,8 +113,7 @@ make | |||
119 | </pre> | 113 | </pre> |
120 | <div style="color: #00a000;"> | 114 | <div style="color: #00a000;"> |
121 | <p> | 115 | <p> |
122 | You can force a build of the x64 interpreter on Linux/x64 with the | 116 | You can force a native x64 build on Linux/x64 with the following command: |
123 | following command: | ||
124 | </p> | 117 | </p> |
125 | <pre class="code"> | 118 | <pre class="code"> |
126 | make CC="gcc -m64" | 119 | make CC="gcc -m64" |
@@ -212,7 +205,7 @@ setenv /release /x86 | |||
212 | </pre> | 205 | </pre> |
213 | <div style="color: #00a000;"> | 206 | <div style="color: #00a000;"> |
214 | <p> | 207 | <p> |
215 | Or select the x64 compiler (this only builds the interpreter right now): | 208 | Or select the x64 compiler: |
216 | </p> | 209 | </p> |
217 | <pre class="code"> | 210 | <pre class="code"> |
218 | setenv /release /x64 | 211 | setenv /release /x64 |