Re: LuaJIT on BlueGene/Q

  • From: Justin Cormack <justin@xxxxxxxxxxxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 3 Oct 2012 08:04:39 +0100

On 3 Oct 2012 02:22, "Peter Colberg" <peter@xxxxxxxxxxx> wrote:
>
> On Tue, Oct 02, 2012 at 04:52:47PM -0400, Peter Colberg wrote:
> > Thank you for the explanation. I tried compiling LuaJIT on a different
> > system with Power ISA v.2.06, a system of POWER7 cores running Linux.
>
> Success, LuaJIT does compile on POWER7 if -m32 is specified:
>
>   make amalg install CFLAGS=-m32 LDFLAGS=-m32
>
>   luajit
>   LuaJIT 2.0.0-beta10 -- Copyright (C) 2005-2012 Mike Pall.
http://luajit.org/
>   JIT: ON SQRT fold cse dce fwd dse narrow loop abc sink fuse
>   > local x = 0 for n = 1, 12345678 do x = x + n end assert(x == 12345678
* 12345679 / 2)
>   >
>
> Is there something I could do to make it work in 64-bit mode as well?
>
> Thanks,
> Peter
>

I think the correct answer is that someone needs to sponsor Mike to do a
ppc64 port. Perhaps IBM can be persuaded...

Justin

Other related posts: