Marking registers as clobbered on AArch64 inside an asm! block fails to compile #75761
Labels
C-bug
Category: This is a bug.
F-asm
`#![feature(asm)]` (not `llvm_asm`)
O-Arm
Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
If any of the floating point registers (v0-31) or x30 on AArch64 are used as an out parameter the code doesn't compile. The following code using
v0
fails to compile onrustc 1.47.0-nightly (e15510ca3 2020-08-20)
:with an error:
If x30 is used instead of v0 another error message is shown:
I expect it to be possible to use all these registers as parameters to out.
The text was updated successfully, but these errors were encountered: