Fix AArch64InlineAsmReg::emit Currently, this method uses `self as u32 - Self::x0 as u32` to get register index:36780360b6/compiler/rustc_target/src/asm/aarch64.rs (L204)
However, this is incorrect for reasons explained in the following comment:36780360b6/compiler/rustc_codegen_llvm/src/asm.rs (L544-L549)
r? ``@Amanieu`` ``@rustbot`` label O-AArch64 +A-inline-assembly
rustc_target
contains some very low-level details that are
specific to different compilation targets and so forth.
For more information about how rustc works, see the rustc dev guide.