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.
This commit is contained in:
Mike Pall
2010-02-28 21:45:38 +01:00
parent 956065fd04
commit 2e22d33d9d
7 changed files with 25 additions and 31 deletions

View File

@@ -148,9 +148,8 @@ trace linking heuristics prevent this, but in the worst case this
means the code always falls back to the interpreter.
</li>
<li>
<b>Trace management</b> needs more tuning: better blacklisting of aborted
traces, less drastic countermeasures against trace explosion and better
heuristics in general.
<b>Trace management</b> needs more tuning: less drastic countermeasures
against trace explosion and better heuristics in general.
</li>
<li>
Some checks are missing in the JIT-compiled code for obscure situations
@@ -199,7 +198,7 @@ Nonetheless, it compiles to native code and needs to be adapted to each
architecture. Porting the compiler backend is probably the easier task,
but a key element of its design is the fast interpreter, written in
machine-specific assembler.<br>
An x64 port is already in the works, thanks to the
A preliminary x64 port is already available, thanks to the
<a href="sponsors.html">LuaJIT sponsorship program</a>.
Other ports will follow &mdash; companies which are
interested in sponsoring a port to a particular architecture, please