Files
rust/compiler
Matthias Krüger dbb0581ff5 Rollup merge of #131667 - taiki-e:aarch64-inline-asm-reg-emit, r=Amanieu
Fix AArch64InlineAsmReg::emit

Currently, this method uses `self as u32 - Self::x0 as u32` to get register index:
https://github.com/rust-lang/rust/blob/36780360b62320a61e2234b17ec600e8e4785509/compiler/rustc_target/src/asm/aarch64.rs#L204

However, this is incorrect for reasons explained in the following comment:
https://github.com/rust-lang/rust/blob/36780360b62320a61e2234b17ec600e8e4785509/compiler/rustc_codegen_llvm/src/asm.rs#L544-L549

r? ``@Amanieu``

``@rustbot`` label O-AArch64 +A-inline-assembly
2024-10-14 17:06:38 +02:00
..
2024-10-09 10:28:16 -07:00
2024-10-04 23:28:22 +00:00
2024-10-10 06:07:52 -04:00
2024-10-12 21:57:50 +00:00
2024-10-12 17:07:13 -04:00
2024-10-12 21:57:50 +00:00
2024-10-10 11:46:48 -07:00