[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] LuaJIT-2.0.0-beta6
- From: David Given <dg@...>
- Date: Fri, 11 Feb 2011 23:24:06 +0000
On 11/02/11 21:57, Mike Pall wrote:
> The LuaJIT interpreter is written in assembler, so you'd have to
> use a completely different instruction set.
Ah, yes, I'd forgotten about the interpreter. Having looked at the
source code, rewriting that would not be a lot of fun.
(Incidentally, I'm rather impressed by DynASM, and can think of a number
of potential uses for it --- what's *that* like to port? And is there an
> In fact I'm using vector ops for the type checks on e500. :-)
> And I make extensive use of the isel op, which is missing on most
> other PPC CPUs. Thankfully FreeScale publishes really good CPU
> docs, so I've hand-scheduled the whole code for optimal use of the
> execution units. This makes it a bit tough to port to the regular
> PPC CPU/FPU combo.
Does the JIT take advantage of this information as well, or is this just
for the hand-written interpreter? If so, that makes the bottom end of
the JIT rather intriguing as a standalone code generator...
┌─── ｄｇ＠ｃｏｗｌａｒｋ．ｃｏｍ ───── http://www.cowlark.com ─────
│ "I have a mind like a steel trap. It's rusty and full of dead mice."
│ --- Anonymous, on rasfc
Description: OpenPGP digital signature