• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: not llvm-mc -disassemble -triple armv8a-none-eabi -mattr=-fullfp16,+neon -show-encoding < %s 2>&1 | FileCheck %s
2
3# CHECK: warning: invalid instruction encoding
4# CHECK: warning: invalid instruction encoding
5[0x02,0x0d,0x11,0xf2]
6[0x44,0x0d,0x12,0xf2]
7
8# CHECK: warning: invalid instruction encoding
9# CHECK: warning: invalid instruction encoding
10[0x02,0x0d,0x31,0xf2]
11[0x44,0x0d,0x32,0xf2]
12
13# CHECK: warning: invalid instruction encoding
14# CHECK: warning: invalid instruction encoding
15[0x12,0x0d,0x11,0xf3]
16[0x54,0x0d,0x12,0xf3]
17
18# CHECK: warning: invalid instruction encoding
19# CHECK: warning: invalid instruction encoding
20[0x63,0x19,0x92,0xf2]
21[0x6e,0x89,0x9a,0xf3]
22
23# CHECK: warning: invalid instruction encoding
24# CHECK: warning: invalid instruction encoding
25[0x12,0x0d,0x11,0xf2]
26[0x54,0x0d,0x12,0xf2]
27
28# CHECK: warning: invalid instruction encoding
29# CHECK: warning: invalid instruction encoding
30[0x67,0x51,0x96,0xf2]
31[0x6f,0xa1,0x9c,0xf3]
32
33# CHECK: warning: invalid instruction encoding
34# CHECK: warning: invalid instruction encoding
35[0x12,0x0d,0x31,0xf2]
36[0x54,0x0d,0x32,0xf2]
37
38# CHECK: warning: invalid instruction encoding
39# CHECK: warning: invalid instruction encoding
40[0x67,0x55,0x96,0xf2]
41[0x6f,0xa5,0x9c,0xf3]
42
43# CHECK: warning: invalid instruction encoding
44# CHECK: warning: invalid instruction encoding
45[0x12,0x0c,0x11,0xf2]
46[0x54,0x0c,0x12,0xf2]
47
48# CHECK: warning: invalid instruction encoding
49# CHECK: warning: invalid instruction encoding
50[0x12,0x0c,0x31,0xf2]
51[0x54,0x0c,0x32,0xf2]
52
53# CHECK: warning: invalid instruction encoding
54# CHECK: warning: invalid instruction encoding
55[0x04,0x2e,0x13,0xf2]
56[0x48,0x4e,0x16,0xf2]
57
58# CHECK: warning: invalid instruction encoding
59# CHECK: warning: invalid instruction encoding
60[0x03,0x25,0xb5,0xf3]
61[0x46,0x45,0xb5,0xf3]
62
63# CHECK: warning: invalid instruction encoding
64# CHECK: warning: invalid instruction encoding
65[0x04,0x2e,0x13,0xf3]
66[0x48,0x4e,0x16,0xf3]
67
68# CHECK: warning: invalid instruction encoding
69# CHECK: warning: invalid instruction encoding
70[0x83,0x24,0xb5,0xf3]
71[0xc6,0x44,0xb5,0xf3]
72
73# CHECK: warning: invalid instruction encoding
74# CHECK: warning: invalid instruction encoding
75[0x04,0x2e,0x33,0xf3]
76[0x48,0x4e,0x36,0xf3]
77
78# CHECK: warning: invalid instruction encoding
79# CHECK: warning: invalid instruction encoding
80[0x03,0x24,0xb5,0xf3]
81[0x46,0x44,0xb5,0xf3]
82
83# CHECK: warning: invalid instruction encoding
84# CHECK: warning: invalid instruction encoding
85[0x83,0x25,0xb5,0xf3]
86[0xc6,0x45,0xb5,0xf3]
87
88# CHECK: warning: invalid instruction encoding
89# CHECK: warning: invalid instruction encoding
90[0x03,0x26,0xb5,0xf3]
91[0x46,0x46,0xb5,0xf3]
92
93# CHECK: warning: invalid instruction encoding
94# CHECK: warning: invalid instruction encoding
95[0x12,0x0e,0x11,0xf3]
96[0x54,0x0e,0x12,0xf3]
97
98# CHECK: warning: invalid instruction encoding
99# CHECK: warning: invalid instruction encoding
100[0x12,0x0e,0x31,0xf3]
101[0x54,0x0e,0x32,0xf3]
102
103# CHECK: warning: invalid instruction encoding
104# CHECK: warning: invalid instruction encoding
105[0x02,0x0d,0x31,0xf3]
106[0x44,0x0d,0x32,0xf3]
107
108# CHECK: warning: invalid instruction encoding
109# CHECK: warning: invalid instruction encoding
110[0x01,0x07,0xb5,0xf3]
111[0x42,0x07,0xb5,0xf3]
112
113# CHECK: warning: invalid instruction encoding
114# CHECK: warning: invalid instruction encoding
115[0x02,0x0f,0x11,0xf2]
116[0x44,0x0f,0x12,0xf2]
117
118# CHECK: warning: invalid instruction encoding
119# CHECK: warning: invalid instruction encoding
120[0x02,0x0f,0x31,0xf2]
121[0x44,0x0f,0x32,0xf2]
122
123# CHECK: warning: invalid instruction encoding
124# CHECK: warning: invalid instruction encoding
125[0x12,0x0f,0x11,0xf3]
126[0x54,0x0f,0x12,0xf3]
127
128# CHECK: warning: invalid instruction encoding
129# CHECK: warning: invalid instruction encoding
130[0x12,0x0f,0x31,0xf3]
131[0x54,0x0f,0x32,0xf3]
132
133# CHECK: warning: invalid instruction encoding
134[0x02,0x0d,0x11,0xf3]
135
136# CHECK: warning: invalid instruction encoding
137[0x02,0x0f,0x11,0xf3]
138
139# CHECK: warning: invalid instruction encoding
140[0x02,0x0f,0x31,0xf3]
141
142# CHECK: warning: invalid instruction encoding
143# CHECK: warning: invalid instruction encoding
144[0x01,0x05,0xb7,0xf3]
145[0x42,0x05,0xb7,0xf3]
146
147# CHECK: warning: invalid instruction encoding
148# CHECK: warning: invalid instruction encoding
149[0x12,0x0f,0x11,0xf2]
150[0x54,0x0f,0x12,0xf2]
151
152# CHECK: warning: invalid instruction encoding
153# CHECK: warning: invalid instruction encoding
154[0x81,0x05,0xb7,0xf3]
155[0xc2,0x05,0xb7,0xf3]
156
157# CHECK: warning: invalid instruction encoding
158# CHECK: warning: invalid instruction encoding
159[0x12,0x0f,0x31,0xf2]
160[0x54,0x0f,0x32,0xf2]
161
162# CHECK: warning: invalid instruction encoding
163# CHECK: warning: invalid instruction encoding
164[0x81,0x07,0xb5,0xf3]
165[0xc2,0x07,0xb5,0xf3]
166
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]
183
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]
192
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]
201
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]
210
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]
219
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]
236
237# CHECK: warning: invalid instruction encoding
238# CHECK: warning: invalid instruction encoding
239[0x01,0x05,0xb6,0xf3]
240[0x42,0x05,0xb6,0xf3]
241
242# CHECK: warning: invalid instruction encoding
243# CHECK: warning: invalid instruction encoding
244[0x81,0x06,0xb6,0xf3]
245[0xc2,0x06,0xb6,0xf3]
246
247# CHECK: warning: invalid instruction encoding
248# CHECK: warning: invalid instruction encoding
249[0x01,0x04,0xb6,0xf3]
250[0x42,0x04,0xb6,0xf3]
251
252# CHECK: warning: invalid instruction encoding
253# CHECK: warning: invalid instruction encoding
254[0x81,0x07,0xb6,0xf3]
255[0xc2,0x07,0xb6,0xf3]
256
257# CHECK: warning: invalid instruction encoding
258# CHECK: warning: invalid instruction encoding
259[0x81,0x04,0xb6,0xf3]
260[0xc2,0x04,0xb6,0xf3]
261
262# CHECK: warning: invalid instruction encoding
263# CHECK: warning: invalid instruction encoding
264[0x81,0x05,0xb6,0xf3]
265[0xc2,0x05,0xb6,0xf3]
266
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]
273
274# CHECK-NOT: warning: invalid instruction encoding
275