summaryrefslogtreecommitdiff
path: root/doc/install.html
diff options
context:
space:
mode:
authorMike Pall <mike>2010-02-28 21:45:38 +0100
committerMike Pall <mike>2010-02-28 21:51:01 +0100
commit2e22d33d9d256e9a1551229f1b51e2a6f02da2f6 (patch)
tree55c51dd77b08afd7044a046cb3b037106285000c /doc/install.html
parent956065fd047de66aab31cd4336f3e663e87db3e3 (diff)
downloadluajit-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.html19
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&nbsp;bit 54(Linux, Windows, OSX etc.). It builds and runs fine as a 32&nbsp;bit
55application under x64-based systems, too. 55application under x64-based systems, too.
56</p> 56</p>
57<p class="indent" style="color: #00a000;"> 57<p style="color: #00a000;">
58The x64 port of LuaJIT is still experimental and not enabled by default. 58The x64 port of LuaJIT is still preliminary and not enabled by default.
59It only contains the interpreter and only builds on Linux/x64 and WIN64 59It only builds on Linux/x64 and Windows/x64 right now. If you want to
60right now. If you want to give it a try, follow the special build instructions 60give it a try, please follow the special build instructions below.
61below.
62</p>
63<p class="indent" style="color: #00a000;">
64Note that the pure interpreter is quite a bit faster than Lua, but of
65course not as fast as the x86 JIT compiler. Work on the x64 JIT compiler
66is 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>
122You can force a build of the x64 interpreter on Linux/x64 with the 116You can force a native x64 build on Linux/x64 with the following command:
123following command:
124</p> 117</p>
125<pre class="code"> 118<pre class="code">
126make CC="gcc -m64" 119make 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>
215Or select the x64 compiler (this only builds the interpreter right now): 208Or select the x64 compiler:
216</p> 209</p>
217<pre class="code"> 210<pre class="code">
218setenv /release /x64 211setenv /release /x64