lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Jun 18, 2010 at 1:43 PM, Mike Pall <mikelu-1006@mike.de> wrote:
Peter Harris wrote:
> I disabled the check for SSE2 on my SSE machine (Pentium-3), and
> LuaJIT seemed to run fine in my (extremely limited) test. Depending on
> just how old Petri's "older AMD setup" is, it may have SSE.

Don't do that. It will crash on the first JIT-compiled function
that uses some floating-point op.

> Does LuaJIT use much SSE2 that isn't in SSE? I seem to recall SSE2
> added mostly integer operations, and a few cache prefetch type
> instructions, but not so much in the way of floating point
> instructions.

Wrong. SSE only supports single-precision floats, which is not
helpful here.

--Mike

Ok, that's it then. I studied the source code enough to see that it's not a simple change at all.

Petri