<div dir="ltr"><div>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!<br></div>-Carter<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 25, 2015 at 7:11 AM, Jon Schneider <span dir="ltr"><<a href="mailto:haskell@jschneider.net" target="_blank">haskell@jschneider.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good morning,<br>
<br>
We have a product with an MPC8544E we might want to target. Also known as<br>
PowerQUICC and e500v2. The ABI is gnuspe rather than gnueabi.<br>
<br>
I have built a powerpc---ghc cross compiler but the thing stopping "hello<br>
world" is a SIGILL happening in StgCRun.c where the stfd and lfd<br>
instructions are used to stash registers. The e500 has different<br>
instructions but that cannot be dropped in trivially because of offset<br>
encoding Commenting these out fixes "hello world" though this surely only<br>
scratches the surface of what would need doing.<br>
<br>
I notice that whereas ARMv5, v6 and v7 appear to be catered for along with<br>
various knobs and whistles there appears to be no such thing for PowerPC.<br>
<br>
Is anybody else out there working on this area ?<br>
<br>
Jon<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br></div>