Remove path name from test case
[binutils-gdb.git] / gas / testsuite / gas / aarch64 / illegal-ldapr.s
1 /* Test illegal ARMv8.3 weaker release consistency load instructions. */
2
3 /* <mnemonic> <Wt>, [<Xn|SP>{,#0}] */
4 .macro LR32 op
5 \op w1, [xz]
6 \op w1, [x7, #8]
7 \op w1, [x7, #8]!
8 \op w1, [x7], #8
9 .endm
10
11 .text
12 /* Good. */
13 ldaprb w0, [x1]
14 ldaprh w0, [x1]
15 ldapr x0, [x1]
16
17 /* Bad. */
18 ldaprb x0, [x1]
19 ldaprh x0, [x1]
20 ldapr x0, [x1,#8]
21
22 .irp op, ldaprb, ldaprh, ldapr
23 LR32 \op
24 .endr
25