Remove path name from test case
[binutils-gdb.git] / gas / testsuite / gas / aarch64 / system.s
1 .text
2 drps
3
4 //
5 // HINTS
6 //
7
8 nop
9 yield
10 wfe
11 wfi
12 sev
13 sevl
14 clearbhb
15
16 .macro all_hints from=0, to=127
17 hint \from
18 .if \to-\from
19 all_hints "(\from+1)", \to
20 .endif
21 .endm
22
23 all_hints from=0, to=63
24 all_hints from=64, to=127
25
26 //
27 // SYSL
28 //
29
30 sysl x7, #3, C15, C7, #7
31
32 //
33 // BARRIERS
34 //
35
36 .macro all_barriers op, from=0, to=15
37 \op \from
38 .if \to-\from
39 all_barriers \op, "(\from+1)", \to
40 .endif
41 .endm
42
43 all_barriers op=dsb, from=0, to=15
44 all_barriers op=dmb, from=0, to=15
45 all_barriers op=isb, from=0, to=15
46
47 isb
48 isb sy
49 ssbb
50 pssbb
51
52 dsb oshld
53 dsb oshst
54 dsb osh
55 dsb nshld
56 dsb nshst
57 dsb nsh
58 dsb #0x08
59 dsb ishld
60 dsb ishst
61 dsb ish
62 dsb #0x0c
63 dsb ld
64 dsb st
65 dsb sy
66
67 //
68 // PREFETCHS
69 //
70
71 .macro all_prefetchs op, from=0, to=31
72 \op \from, LABEL1
73 .if \from < 24
74 \op \from, [sp, x15, lsl #0]
75 \op \from, [x7, w30, uxtw #3]
76 .endif
77 \op \from, [x3, #24]
78 .if \to-\from
79 all_prefetchs \op, "(\from+1)", \to
80 .endif
81 .endm
82
83 all_prefetchs op=prfm, from=0, to=31
84
85 //
86 // PREFETCHS with named operation
87 //
88
89 .irp op, pld, pli, pst
90 .irp l, l1, l2, l3
91 .irp t, keep, strm
92 prfm \op\l\t, [x3, #24]
93 .endr
94 .endr
95 .endr
96
97 .inst 0xf8a04817
98 .inst 0xf8a04818