[Bug target/96168] GCC support for Apple Silicon (Arm64) on macOS requested

keno at juliacomputing dot com gcc-bugzilla@gcc.gnu.org
Sat Jul 11 23:40:17 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96168

Keno Fischer <keno at juliacomputing dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |keno at juliacomputing dot com

--- Comment #8 from Keno Fischer <keno at juliacomputing dot com> ---
Is there a list of all the things that need doing? I don't know very much about
how GCC is architected (but am familiar with LLVM,MachO,Aarch64 ISA, etc), but
from my naive point of view, at least

- Add all the ARM64 MachO relocations
- Add special cases for the Aarch64 ABI differences on Apple platforms
- Implement parsing/(& printing?) for Apple's assembly dialect
- Add CPU models for the relevant chips

The good news is that I don't think there's currently any proprietary ISA
extensions that we would have to worry about, so most of the code generation
should just go through.

I unfortunately don't have very much time myself either, but might able able to
pick up a small piece. Perhaps we can subdivide the work and prioritize what's
on the "critical path". I think the biggest reason people are clamoring for GCC
support at the moment is that the platform otherwise has no fortran compiler,
which is blocking a lot of the scientific computing stack. I think identifying
a minimal "fortran-complete" path would be helpful and encourage people to help
out :).


More information about the Gcc-bugs mailing list