[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT and SSE2
- From: Peter Harris <lua@...>
- Date: Thu, 17 Jun 2010 21:06:47 -0400
On Thu, Jun 17, 2010 at 2:36 PM, Mike Pall wrote:
> Petri Häkkinen wrote:
>> So my question is, what are the chances of getting jit to work
>> on non-SSE2 capable CPUs?
>
> Well, not without substantial effort.
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.
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.
>> If my chances are slim, I guess I need to visit the nearest PC
>> hardware store...
>
> Considering the cost of an upgrade, the overall speedup, the option
> to use a 64 bit OS and the availability of hardware virtualization,
> I'd say this is well worth the investment for a developer machine.
There is that.
Peter Harris