Repository navigation
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
As discussed in #rustc-codegen-gcc > ABI of m68k, there are several ABIs for m68k and the current rust targets don't match GCC overall, so I'm not sure it should be the reference for the rustc implementation. Hopefully the target maintainers can shine a light on the situation? |
There is actually just one official SysV m68k ELF ABI. Linux is off-standard and I'm working on changing that as explained on the Debian Wiki. NetBSD/ELF is using the proper ABI, Linux isn't. |
|
So to be clear, you would support rust matching GCC's |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
For the types Rust currently supports ( |
This comment has been minimized.
This comment has been minimized.
9332810 to
1c60721
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This avoids using the LLVM
va_arginstruction. AFAICT LLVM's implementation currently miscompiles theva_arginstruction forf64(and needlessly aligns the pointer that is guaranteed to be aligned fori32andi64) - this PR matches GCC (checked by comparing the assembly).Ping target maintainers: @glaubitz @ricky26 @knickish
r? @folkertdev