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:
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.