Re: [Haskell-cafe] PowerPC variants (GHC 7.8.3)

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: [Haskell-cafe] PowerPC variants (GHC 7.8.3)

Carter Schonwald
Hey Jon, I do know that some of the GHC dev team is probably best equipped to answer your question, i'm cc'ing the ghc dev and users lists so they can jump in and help!

On Wed, Feb 25, 2015 at 7:11 AM, Jon Schneider <[hidden email]> wrote:
Good morning,

We have a product with an MPC8544E we might want to target. Also known as
PowerQUICC and e500v2. The ABI is gnuspe rather than gnueabi.

I have built a powerpc---ghc cross compiler but the thing stopping "hello
world" is a SIGILL happening in StgCRun.c where the stfd and lfd
instructions are used to stash registers. The e500 has different
instructions but that cannot be dropped in trivially because of offset
encoding Commenting these out fixes "hello world" though this surely only
scratches the surface of what would need doing.

I notice that whereas ARMv5, v6 and v7 appear to be catered for along with
various knobs and whistles there appears to be no such thing for PowerPC.

Is anybody else out there working on this area ?


Haskell-Cafe mailing list
[hidden email]

Glasgow-haskell-users mailing list
[hidden email]