bfd/
[platform/upstream/binutils.git] / gas / testsuite / gas / aarch64 / optional.s
1 // Test instructions with opertional operand or other optional element.
2
3 .text
4         dcps1   #15
5         dcps1   #0
6         dcps1
7         dcps2   #31
8         dcps2   #0
9         dcps2
10         dcps3   #63
11         dcps3   #0
12         dcps3
13
14         ret     x7
15         ret     x30
16         ret
17
18         clrex   #0
19         clrex   #9
20         clrex   #15
21         clrex
22
23         sys     #0, c0, c0, #0
24
25         // Optional leading # for symbolic load/store offsets.
26         adr     x0, sym
27         ldr     x1,[x0,:lo12:sym]
28         ldr     x1,[x0,#:lo12:sym]
29         str     x1,[x0,:lo12:sym]
30         str     x1,[x0,#:lo12:sym]