[GHC] #7942: aarch64 support in ghc
GHC
ghc-devs at haskell.org
Thu Jan 9 13:39:26 UTC 2014
#7942: aarch64 support in ghc
--------------------------------------------+---------------------------
Reporter: jcapik | Owner: kgardas
Type: feature request | Status: new
Priority: normal | Milestone: 7.10.1
Component: Compiler | Version: 7.6.3
Resolution: | Keywords:
Operating System: Linux | Architecture: arm
Type of failure: GHC doesn't work at all | Difficulty: Unknown
Test Case: | Blocked By: 7623
Blocking: | Related Tickets:
--------------------------------------------+---------------------------
Comment (by kgardas):
Replying to [comment:13 carter]:
> sounds reasonable. Will the arm 32 bit ghc calling convention make sense
for AArch64? We may need to get a patch into llvm before having a distinct
aarch64 abi. (and we should probably do some pretty thorough benchmarking
before picking any such ABI)
Not at all! aarch64 abi is completely different with completely different
(or better nicely extended) register stack! So basically aarch64 is
completely different beast than arm and I'm also doing it separately
instead of extending current arm support.
W.r.t. benchmarking, I've also had such discussion with David few year
ago, but then Stephen comes with work done so no benchmarking was done.
The point is to find some sweet-spot inbetween using callee-saved regs for
STG regs pinning and between leaving them for LLVM business usage...
Anyway, as I said, we're not there yet, although I already do have some
code here. The problem is LLVM/AArch64 is not there yet as you can see
from my bug report here:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-January/069248.html and
that is just unregisterised build...
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7942#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list