summaryrefslogtreecommitdiffstats
path: root/src/test/ui/asm/aarch64/bad-reg.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui/asm/aarch64/bad-reg.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/asm/aarch64/bad-reg.stderr')
-rw-r--r--src/test/ui/asm/aarch64/bad-reg.stderr162
1 files changed, 0 insertions, 162 deletions
diff --git a/src/test/ui/asm/aarch64/bad-reg.stderr b/src/test/ui/asm/aarch64/bad-reg.stderr
deleted file mode 100644
index 0ba627dac..000000000
--- a/src/test/ui/asm/aarch64/bad-reg.stderr
+++ /dev/null
@@ -1,162 +0,0 @@
-error: invalid register class `foo`: unknown register class
- --> $DIR/bad-reg.rs:14:20
- |
-LL | asm!("{}", in(foo) foo);
- | ^^^^^^^^^^^
-
-error: invalid register `foo`: unknown register
- --> $DIR/bad-reg.rs:16:18
- |
-LL | asm!("", in("foo") foo);
- | ^^^^^^^^^^^^^
-
-error: invalid asm template modifier for this register class
- --> $DIR/bad-reg.rs:18:15
- |
-LL | asm!("{:z}", in(reg) foo);
- | ^^^^ ----------- argument
- | |
- | template modifier
- |
- = note: the `reg` register class supports the following template modifiers: `w`, `x`
-
-error: invalid asm template modifier for this register class
- --> $DIR/bad-reg.rs:20:15
- |
-LL | asm!("{:r}", in(vreg) foo);
- | ^^^^ ------------ argument
- | |
- | template modifier
- |
- = note: the `vreg` register class supports the following template modifiers: `b`, `h`, `s`, `d`, `q`, `v`
-
-error: invalid asm template modifier for this register class
- --> $DIR/bad-reg.rs:22:15
- |
-LL | asm!("{:r}", in(vreg_low16) foo);
- | ^^^^ ------------------ argument
- | |
- | template modifier
- |
- = note: the `vreg_low16` register class supports the following template modifiers: `b`, `h`, `s`, `d`, `q`, `v`
-
-error: asm template modifiers are not allowed for `const` arguments
- --> $DIR/bad-reg.rs:24:15
- |
-LL | asm!("{:a}", const 0);
- | ^^^^ ------- argument
- | |
- | template modifier
-
-error: asm template modifiers are not allowed for `sym` arguments
- --> $DIR/bad-reg.rs:26:15
- |
-LL | asm!("{:a}", sym main);
- | ^^^^ -------- argument
- | |
- | template modifier
-
-error: invalid register `x29`: the frame pointer cannot be used as an operand for inline asm
- --> $DIR/bad-reg.rs:28:18
- |
-LL | asm!("", in("x29") foo);
- | ^^^^^^^^^^^^^
-
-error: invalid register `sp`: the stack pointer cannot be used as an operand for inline asm
- --> $DIR/bad-reg.rs:30:18
- |
-LL | asm!("", in("sp") foo);
- | ^^^^^^^^^^^^
-
-error: invalid register `xzr`: the zero register cannot be used as an operand for inline asm
- --> $DIR/bad-reg.rs:32:18
- |
-LL | asm!("", in("xzr") foo);
- | ^^^^^^^^^^^^^
-
-error: invalid register `x19`: x19 is used internally by LLVM and cannot be used as an operand for inline asm
- --> $DIR/bad-reg.rs:34:18
- |
-LL | asm!("", in("x19") foo);
- | ^^^^^^^^^^^^^
-
-error: register class `preg` can only be used as a clobber, not as an input or output
- --> $DIR/bad-reg.rs:37:18
- |
-LL | asm!("", in("p0") foo);
- | ^^^^^^^^^^^^
-
-error: register class `preg` can only be used as a clobber, not as an input or output
- --> $DIR/bad-reg.rs:41:20
- |
-LL | asm!("{}", in(preg) foo);
- | ^^^^^^^^^^^^
-
-error: register class `preg` can only be used as a clobber, not as an input or output
- --> $DIR/bad-reg.rs:44:20
- |
-LL | asm!("{}", out(preg) _);
- | ^^^^^^^^^^^
-
-error: register `x0` conflicts with register `x0`
- --> $DIR/bad-reg.rs:50:32
- |
-LL | asm!("", in("x0") foo, in("w0") bar);
- | ------------ ^^^^^^^^^^^^ register `x0`
- | |
- | register `x0`
-
-error: register `x0` conflicts with register `x0`
- --> $DIR/bad-reg.rs:52:32
- |
-LL | asm!("", in("x0") foo, out("x0") bar);
- | ------------ ^^^^^^^^^^^^^ register `x0`
- | |
- | register `x0`
- |
-help: use `lateout` instead of `out` to avoid conflict
- --> $DIR/bad-reg.rs:52:18
- |
-LL | asm!("", in("x0") foo, out("x0") bar);
- | ^^^^^^^^^^^^
-
-error: register `v0` conflicts with register `v0`
- --> $DIR/bad-reg.rs:55:32
- |
-LL | asm!("", in("v0") foo, in("q0") bar);
- | ------------ ^^^^^^^^^^^^ register `v0`
- | |
- | register `v0`
-
-error: register `v0` conflicts with register `v0`
- --> $DIR/bad-reg.rs:57:32
- |
-LL | asm!("", in("v0") foo, out("q0") bar);
- | ------------ ^^^^^^^^^^^^^ register `v0`
- | |
- | register `v0`
- |
-help: use `lateout` instead of `out` to avoid conflict
- --> $DIR/bad-reg.rs:57:18
- |
-LL | asm!("", in("v0") foo, out("q0") bar);
- | ^^^^^^^^^^^^
-
-error: type `i32` cannot be used with this register class
- --> $DIR/bad-reg.rs:37:27
- |
-LL | asm!("", in("p0") foo);
- | ^^^
- |
- = note: register class `preg` supports these types:
-
-error: type `i32` cannot be used with this register class
- --> $DIR/bad-reg.rs:41:29
- |
-LL | asm!("{}", in(preg) foo);
- | ^^^
- |
- = note: register class `preg` supports these types:
-
-error: aborting due to 20 previous errors
-