Open Richard-Rogalski opened 1 year ago
clobber_abi
is optional, it's just a way to avoid listing all possible registers as clobbers. However it would be nice to have support for it added in the Rust compiler. As you can see in https://github.com/rust-lang/rust/pull/111237, it's not too difficult.
Endianness does not matter here. For example, the ARM/AArch64 code works fine in either endianess.
@Richard-Rogalski heya did you get any further with this? 😺
@Amanieu - this issue seems outstanding; I just ran into this with an attempted build of coronsense 0.1.3 on ppc64le (Ubuntu 22.04 LTS on POWER9)
Hello!
I'd like to get this working on PPC64. I tried getting something going, but all I get is this:
Looking at the loong PR, there's a way to to use the unstable inline assembly, but what about this clobber_abi thing? This has "only clobbers" under ppc, which makes me think it should work?
Also, would endianness matter here? I mostly want support for PPC64le, but would the same code work for PPC64(be)?
Thanks for any help!!