rust/compiler/rustc_target/src/asm
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:
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
2024-10-14 17:06:38 +02:00
..
aarch64.rs Rollup merge of #131667 - taiki-e:aarch64-inline-asm-reg-emit, r=Amanieu 2024-10-14 17:06:38 +02:00
arm.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
avr.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
bpf.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
csky.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
hexagon.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
loongarch.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
m68k.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
mips.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
mod.rs Fix clobber_abi and disallow SVE-related registers in Arm64EC inline assembly 2024-10-14 05:30:45 +09:00
msp430.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
nvptx.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
powerpc.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
riscv.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
s390x.rs Support clobber_abi and vector/access registers (clobber-only) in s390x inline assembly 2024-09-21 01:51:26 +09:00
spirv.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
wasm.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
x86.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00