[Haskell-cafe] PowerPC variants (GHC 7.8.3)
Jon Schneider
haskell at jschneider.net
Wed Feb 25 12:11:50 UTC 2015
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 ?
Jon
More information about the Haskell-Cafe
mailing list