rust/compiler/rustc_target/src/asm
Matthias Krüger 65d20f39f3
Rollup merge of #136239 - folkertdev:show-supported-register-classes, r=SparrowLii,jieyouxu
show supported register classes in error message

a simple diagnostic change that shows the supported register classes when an invalid one is found.

This information can be hard to find (especially for unstable targets), and this message now gives at least something to try or search for. I've followed the pattern for invalid clobber ABIs.

`@rustbot` label +A-inline-assembly
2025-02-11 18:04:34 +01:00
..
aarch64.rs Fix handling of x18 in AArch64 inline assembly on ohos/trusty or with -Zfixed-x18 2024-11-26 03:10:22 +09:00
arm.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
avr.rs Reword error message of reserved AVR registers 2024-11-28 16:12:04 +01: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 Support predicate registers (clobber-only) in Hexagon inline assembly 2024-11-25 23:11:17 +09:00
loongarch.rs Fix target_feature handling in freg of LoongArch inline assembly 2024-11-29 03:01:33 +09: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 Rollup merge of #136239 - folkertdev:show-supported-register-classes, r=SparrowLii,jieyouxu 2025-02-11 18:04:34 +01: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 Support floats in input/output in vector registers of PowerPC inline assembly 2024-11-29 03:10:07 +09:00
riscv.rs Fix clobber_abi in RV32E and RV64E inline assembly 2024-11-25 00:36:22 +09:00
s390x.rs Make s390x non-clobber-only vector register support unstable 2024-11-24 21:42:22 +09:00
sparc.rs Basic inline assembly support for SPARC and SPARC64 2024-11-07 21:19:03 +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