Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ILP32 ABI for AArch64 #1797

Closed
sanxiyn opened this issue Nov 22, 2016 · 6 comments
Closed

Support ILP32 ABI for AArch64 #1797

sanxiyn opened this issue Nov 22, 2016 · 6 comments
Labels
T-dev-tools Relevant to the development tools team, which will review and decide on the RFC.

Comments

@sanxiyn
Copy link
Member

sanxiyn commented Nov 22, 2016

ILP32 ABI (-mabi=ilp32) is an ABI for AArch64 analogous to x32 ABI for x86-64. See Linaro Wiki page and GCC doc for AArch64 Options. See #1339 for an issue about x32.

@sanxiyn
Copy link
Member Author

sanxiyn commented Nov 22, 2016

This depends on having LLVM support. Unlike x32, whose support landed in 2014 (see Upstreaming x32 ABI support on llvm-dev), ILP32 is not in upstream LLVM at the moment.

The latest news I am aware of is ARM ILP32 Data model on llvm-dev posted in May 2016, where someone with Linaro mail address (therefore who ought to know) said "LLVM still doesn't support ILP32 for AArch64, and I'm not aware of any immediate plans to do so".

@nrc nrc added the T-dev-tools Relevant to the development tools team, which will review and decide on the RFC. label Nov 27, 2016
@sanxiyn
Copy link
Member Author

sanxiyn commented Feb 1, 2019

This just in from llvm-dev: Upstreaming ILP32 support for AArch64.

@F001
Copy link
Contributor

F001 commented Sep 19, 2020

May I ask what is the next step to push it forward? I'd be very glad if I can do something to help. Can someone please provide some guidance?

@sanxiyn
Copy link
Member Author

sanxiyn commented Sep 20, 2020

The first thing to do is to check the status of LLVM. Is the support merged? If so, when did it merge? (It is to check whether Rust's LLVM is recent enough.) How does one use the support? Etc.

@sanxiyn
Copy link
Member Author

sanxiyn commented Jan 31, 2021

See rust-lang/rust#81455.

@sanxiyn
Copy link
Member Author

sanxiyn commented Feb 7, 2021

Fixed.

@sanxiyn sanxiyn closed this as completed Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-dev-tools Relevant to the development tools team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

3 participants