1 # RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.4a --disassemble < %s | FileCheck %s
2 # RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8r --disassemble < %s | FileCheck %s
3 # RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=-v8.4a --disassemble < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOV84
5 # Outer shareable TLB Maintenance instructions:
24 #CHECK: tlbi vmalle1os
25 #CHECK: tlbi vae1os, x0
26 #CHECK: tlbi aside1os, x0
27 #CHECK: tlbi vaae1os, x0
28 #CHECK: tlbi vale1os, x0
29 #CHECK: tlbi vaale1os, x0
30 #CHECK: tlbi ipas2e1os, x0
31 #CHECK: tlbi ipas2le1os, x0
32 #CHECK: tlbi vae2os, x0
33 #CHECK: tlbi vale2os, x0
34 #CHECK: tlbi vmalls12e1os
35 #CHECK: tlbi vae3os, x0
36 #CHECK: tlbi vale3os, x0
41 #CHECK-NOV84: sys #0, c8, c1, #0
42 #CHECK-NOV84: sys #0, c8, c1, #1, x0
43 #CHECK-NOV84: sys #0, c8, c1, #2, x0
44 #CHECK-NOV84: sys #0, c8, c1, #3, x0
45 #CHECK-NOV84: sys #0, c8, c1, #5, x0
46 #CHECK-NOV84: sys #0, c8, c1, #7, x0
47 #CHECK-NOV84: sys #4, c8, c4, #0, x0
48 #CHECK-NOV84: sys #4, c8, c4, #4, x0
49 #CHECK-NOV84: sys #4, c8, c1, #1, x0
50 #CHECK-NOV84: sys #4, c8, c1, #5, x0
51 #CHECK-NOV84: sys #4, c8, c1, #6
52 #CHECK-NOV84: sys #6, c8, c1, #1, x0
53 #CHECK-NOV84: sys #6, c8, c1, #5, x0
54 #CHECK-NOV84: sys #4, c8, c1, #0
55 #CHECK-NOV84: sys #4, c8, c1, #4
56 #CHECK-NOV84: sys #6, c8, c1, #0
57 #CHECK-NOV84: sys #0, c8, c6, #1, x3
59 # TLB range maintenance instructions:
92 #CHECK: tlbi rvae1, x3
93 #CHECK: tlbi rvaae1, x3
94 #CHECK: tlbi rvale1, x3
95 #CHECK: tlbi rvaale1, x3
96 #CHECK: tlbi rvae1is, x3
97 #CHECK: tlbi rvaae1is, x3
98 #CHECK: tlbi rvale1is, x3
99 #CHECK: tlbi rvaale1is, x3
100 #CHECK: tlbi rvae1os, x3
101 #CHECK: tlbi rvaae1os, x3
102 #CHECK: tlbi rvale1os, x3
103 #CHECK: tlbi rvaale1os, x3
104 #CHECK: tlbi ripas2e1is, x3
105 #CHECK: tlbi ripas2le1is, x3
106 #CHECK: tlbi ripas2e1, x3
107 #CHECK: tlbi ripas2le1, x3
108 #CHECK: tlbi ripas2e1os, x3
109 #CHECK: tlbi ripas2le1os, x3
110 #CHECK: tlbi rvae2, x3
111 #CHECK: tlbi rvale2, x3
112 #CHECK: tlbi rvae2is, x3
113 #CHECK: tlbi rvale2is, x3
114 #CHECK: tlbi rvae2os, x3
115 #CHECK: tlbi rvale2os, x3
116 #CHECK: tlbi rvae3, x3
117 #CHECK: tlbi rvale3, x3
118 #CHECK: tlbi rvae3is, x3
119 #CHECK: tlbi rvale3is, x3
120 #CHECK: tlbi rvae3os, x3
121 #CHECK: tlbi rvale3os, x3
123 #CHECK-NOV84: sys #0, c8, c6, #3, x3
124 #CHECK-NOV84: sys #0, c8, c6, #5, x3
125 #CHECK-NOV84: sys #0, c8, c6, #7, x3
126 #CHECK-NOV84: sys #0, c8, c2, #1, x3
127 #CHECK-NOV84: sys #0, c8, c2, #3, x3
128 #CHECK-NOV84: sys #0, c8, c2, #5, x3
129 #CHECK-NOV84: sys #0, c8, c2, #7, x3
130 #CHECK-NOV84: sys #0, c8, c5, #1, x3
131 #CHECK-NOV84: sys #0, c8, c5, #3, x3
132 #CHECK-NOV84: sys #0, c8, c5, #5, x3
133 #CHECK-NOV84: sys #0, c8, c5, #7, x3
134 #CHECK-NOV84: sys #4, c8, c0, #2, x3
135 #CHECK-NOV84: sys #4, c8, c0, #6, x3
136 #CHECK-NOV84: sys #4, c8, c4, #2, x3
137 #CHECK-NOV84: sys #4, c8, c4, #6, x3
138 #CHECK-NOV84: sys #4, c8, c4, #3, x3
139 #CHECK-NOV84: sys #4, c8, c4, #7, x3
140 #CHECK-NOV84: sys #4, c8, c6, #1, x3
141 #CHECK-NOV84: sys #4, c8, c6, #5, x3
142 #CHECK-NOV84: sys #4, c8, c2, #1, x3
143 #CHECK-NOV84: sys #4, c8, c2, #5, x3
144 #CHECK-NOV84: sys #4, c8, c5, #1, x3
145 #CHECK-NOV84: sys #4, c8, c5, #5, x3
146 #CHECK-NOV84: sys #6, c8, c6, #1, x3
147 #CHECK-NOV84: sys #6, c8, c6, #5, x3
148 #CHECK-NOV84: sys #6, c8, c2, #1, x3
149 #CHECK-NOV84: sys #6, c8, c2, #5, x3
150 #CHECK-NOV84: sys #6, c8, c5, #1, x3
151 #CHECK-NOV84: sys #6, c8, c5, #5, x3