1 # RUN: not llvm-mc -disassemble -triple armv8a-none-eabi -mattr=-fullfp16,+neon -show-encoding < %s 2>&1 | FileCheck %s
3 # CHECK: warning: invalid instruction encoding
4 # CHECK: warning: invalid instruction encoding
8 # CHECK: warning: invalid instruction encoding
9 # CHECK: warning: invalid instruction encoding
13 # CHECK: warning: invalid instruction encoding
14 # CHECK: warning: invalid instruction encoding
18 # CHECK: warning: invalid instruction encoding
19 # CHECK: warning: invalid instruction encoding
23 # CHECK: warning: invalid instruction encoding
24 # CHECK: warning: invalid instruction encoding
28 # CHECK: warning: invalid instruction encoding
29 # CHECK: warning: invalid instruction encoding
33 # CHECK: warning: invalid instruction encoding
34 # CHECK: warning: invalid instruction encoding
38 # CHECK: warning: invalid instruction encoding
39 # CHECK: warning: invalid instruction encoding
43 # CHECK: warning: invalid instruction encoding
44 # CHECK: warning: invalid instruction encoding
48 # CHECK: warning: invalid instruction encoding
49 # CHECK: warning: invalid instruction encoding
53 # CHECK: warning: invalid instruction encoding
54 # CHECK: warning: invalid instruction encoding
58 # CHECK: warning: invalid instruction encoding
59 # CHECK: warning: invalid instruction encoding
63 # CHECK: warning: invalid instruction encoding
64 # CHECK: warning: invalid instruction encoding
68 # CHECK: warning: invalid instruction encoding
69 # CHECK: warning: invalid instruction encoding
73 # CHECK: warning: invalid instruction encoding
74 # CHECK: warning: invalid instruction encoding
78 # CHECK: warning: invalid instruction encoding
79 # CHECK: warning: invalid instruction encoding
83 # CHECK: warning: invalid instruction encoding
84 # CHECK: warning: invalid instruction encoding
88 # CHECK: warning: invalid instruction encoding
89 # CHECK: warning: invalid instruction encoding
93 # CHECK: warning: invalid instruction encoding
94 # CHECK: warning: invalid instruction encoding
98 # CHECK: warning: invalid instruction encoding
99 # CHECK: warning: invalid instruction encoding
100 [0x12,0x0e,0x31,0xf3]
101 [0x54,0x0e,0x32,0xf3]
103 # CHECK: warning: invalid instruction encoding
104 # CHECK: warning: invalid instruction encoding
105 [0x02,0x0d,0x31,0xf3]
106 [0x44,0x0d,0x32,0xf3]
108 # CHECK: warning: invalid instruction encoding
109 # CHECK: warning: invalid instruction encoding
110 [0x01,0x07,0xb5,0xf3]
111 [0x42,0x07,0xb5,0xf3]
113 # CHECK: warning: invalid instruction encoding
114 # CHECK: warning: invalid instruction encoding
115 [0x02,0x0f,0x11,0xf2]
116 [0x44,0x0f,0x12,0xf2]
118 # CHECK: warning: invalid instruction encoding
119 # CHECK: warning: invalid instruction encoding
120 [0x02,0x0f,0x31,0xf2]
121 [0x44,0x0f,0x32,0xf2]
123 # CHECK: warning: invalid instruction encoding
124 # CHECK: warning: invalid instruction encoding
125 [0x12,0x0f,0x11,0xf3]
126 [0x54,0x0f,0x12,0xf3]
128 # CHECK: warning: invalid instruction encoding
129 # CHECK: warning: invalid instruction encoding
130 [0x12,0x0f,0x31,0xf3]
131 [0x54,0x0f,0x32,0xf3]
133 # CHECK: warning: invalid instruction encoding
134 [0x02,0x0d,0x11,0xf3]
136 # CHECK: warning: invalid instruction encoding
137 [0x02,0x0f,0x11,0xf3]
139 # CHECK: warning: invalid instruction encoding
140 [0x02,0x0f,0x31,0xf3]
142 # CHECK: warning: invalid instruction encoding
143 # CHECK: warning: invalid instruction encoding
144 [0x01,0x05,0xb7,0xf3]
145 [0x42,0x05,0xb7,0xf3]
147 # CHECK: warning: invalid instruction encoding
148 # CHECK: warning: invalid instruction encoding
149 [0x12,0x0f,0x11,0xf2]
150 [0x54,0x0f,0x12,0xf2]
152 # CHECK: warning: invalid instruction encoding
153 # CHECK: warning: invalid instruction encoding
154 [0x81,0x05,0xb7,0xf3]
155 [0xc2,0x05,0xb7,0xf3]
157 # CHECK: warning: invalid instruction encoding
158 # CHECK: warning: invalid instruction encoding
159 [0x12,0x0f,0x31,0xf2]
160 [0x54,0x0f,0x32,0xf2]
162 # CHECK: warning: invalid instruction encoding
163 # CHECK: warning: invalid instruction encoding
164 [0x81,0x07,0xb5,0xf3]
165 [0xc2,0x07,0xb5,0xf3]
167 # CHECK: warning: invalid instruction encoding
168 # CHECK: warning: invalid instruction encoding
169 # CHECK: warning: invalid instruction encoding
170 # CHECK: warning: invalid instruction encoding
171 # CHECK: warning: invalid instruction encoding
172 # CHECK: warning: invalid instruction encoding
173 # CHECK: warning: invalid instruction encoding
174 # CHECK: warning: invalid instruction encoding
175 [0x01,0x07,0xb7,0xf3]
176 [0x81,0x07,0xb7,0xf3]
177 [0x01,0x06,0xb7,0xf3]
178 [0x81,0x06,0xb7,0xf3]
179 [0x42,0x07,0xb7,0xf3]
180 [0xc2,0x07,0xb7,0xf3]
181 [0x42,0x06,0xb7,0xf3]
182 [0xc2,0x06,0xb7,0xf3]
184 # CHECK: warning: invalid instruction encoding
185 # CHECK: warning: invalid instruction encoding
186 # CHECK: warning: invalid instruction encoding
187 # CHECK: warning: invalid instruction encoding
188 [0x01,0x00,0xb7,0xf3]
189 [0x42,0x00,0xb7,0xf3]
190 [0x81,0x00,0xb7,0xf3]
191 [0xc2,0x00,0xb7,0xf3]
193 # CHECK: warning: invalid instruction encoding
194 # CHECK: warning: invalid instruction encoding
195 # CHECK: warning: invalid instruction encoding
196 # CHECK: warning: invalid instruction encoding
197 [0x01,0x03,0xb7,0xf3]
198 [0x42,0x03,0xb7,0xf3]
199 [0x81,0x03,0xb7,0xf3]
200 [0xc2,0x03,0xb7,0xf3]
202 # CHECK: warning: invalid instruction encoding
203 # CHECK: warning: invalid instruction encoding
204 # CHECK: warning: invalid instruction encoding
205 # CHECK: warning: invalid instruction encoding
206 [0x01,0x01,0xb7,0xf3]
207 [0x42,0x01,0xb7,0xf3]
208 [0x81,0x01,0xb7,0xf3]
209 [0xc2,0x01,0xb7,0xf3]
211 # CHECK: warning: invalid instruction encoding
212 # CHECK: warning: invalid instruction encoding
213 # CHECK: warning: invalid instruction encoding
214 # CHECK: warning: invalid instruction encoding
215 [0x01,0x02,0xb7,0xf3]
216 [0x42,0x02,0xb7,0xf3]
217 [0x81,0x02,0xb7,0xf3]
218 [0xc2,0x02,0xb7,0xf3]
220 # CHECK: warning: invalid instruction encoding
221 # CHECK: warning: invalid instruction encoding
222 # CHECK: warning: invalid instruction encoding
223 # CHECK: warning: invalid instruction encoding
224 # CHECK: warning: invalid instruction encoding
225 # CHECK: warning: invalid instruction encoding
226 # CHECK: warning: invalid instruction encoding
227 # CHECK: warning: invalid instruction encoding
228 [0x11,0x0d,0xbf,0xf2]
229 [0x11,0x0d,0xbe,0xf3]
230 [0x11,0x0c,0xbd,0xf2]
231 [0x11,0x0c,0xbc,0xf3]
232 [0x52,0x0d,0xbb,0xf2]
233 [0x52,0x0d,0xba,0xf3]
234 [0x52,0x0c,0xb9,0xf2]
235 [0x52,0x0c,0xb8,0xf3]
237 # CHECK: warning: invalid instruction encoding
238 # CHECK: warning: invalid instruction encoding
239 [0x01,0x05,0xb6,0xf3]
240 [0x42,0x05,0xb6,0xf3]
242 # CHECK: warning: invalid instruction encoding
243 # CHECK: warning: invalid instruction encoding
244 [0x81,0x06,0xb6,0xf3]
245 [0xc2,0x06,0xb6,0xf3]
247 # CHECK: warning: invalid instruction encoding
248 # CHECK: warning: invalid instruction encoding
249 [0x01,0x04,0xb6,0xf3]
250 [0x42,0x04,0xb6,0xf3]
252 # CHECK: warning: invalid instruction encoding
253 # CHECK: warning: invalid instruction encoding
254 [0x81,0x07,0xb6,0xf3]
255 [0xc2,0x07,0xb6,0xf3]
257 # CHECK: warning: invalid instruction encoding
258 # CHECK: warning: invalid instruction encoding
259 [0x81,0x04,0xb6,0xf3]
260 [0xc2,0x04,0xb6,0xf3]
262 # CHECK: warning: invalid instruction encoding
263 # CHECK: warning: invalid instruction encoding
264 [0x81,0x05,0xb6,0xf3]
265 [0xc2,0x05,0xb6,0xf3]
267 # CHECK: warning: invalid instruction encoding
268 # CHECK: warning: invalid instruction encoding
269 # CHECK: warning: invalid instruction encoding
270 [0x20,0x0d,0xc7,0xf2]
271 [0x20,0x0f,0xc7,0xf2]
272 [0x70,0x0f,0xc7,0xf2]
274 # CHECK-NOT: warning: invalid instruction encoding