1
2 package riscv
3
4 import "cmd/internal/obj"
5
6 type inst struct {
7 opcode uint32
8 funct3 uint32
9 rs1 uint32
10 rs2 uint32
11 csr int64
12 funct7 uint32
13 }
14
15 func encode(a obj.As) *inst {
16 switch a {
17 case AADD:
18 return &inst{0x33, 0x0, 0x0, 0x0, 0, 0x0}
19 case AADDUW:
20 return &inst{0x3b, 0x0, 0x0, 0x0, 128, 0x4}
21 case AADDI:
22 return &inst{0x13, 0x0, 0x0, 0x0, 0, 0x0}
23 case AADDIW:
24 return &inst{0x1b, 0x0, 0x0, 0x0, 0, 0x0}
25 case AADDW:
26 return &inst{0x3b, 0x0, 0x0, 0x0, 0, 0x0}
27 case AAMOADDD:
28 return &inst{0x2f, 0x3, 0x0, 0x0, 0, 0x0}
29 case AAMOADDW:
30 return &inst{0x2f, 0x2, 0x0, 0x0, 0, 0x0}
31 case AAMOANDD:
32 return &inst{0x2f, 0x3, 0x0, 0x0, 1536, 0x30}
33 case AAMOANDW:
34 return &inst{0x2f, 0x2, 0x0, 0x0, 1536, 0x30}
35 case AAMOMAXD:
36 return &inst{0x2f, 0x3, 0x0, 0x0, -1536, 0x50}
37 case AAMOMAXW:
38 return &inst{0x2f, 0x2, 0x0, 0x0, -1536, 0x50}
39 case AAMOMAXUD:
40 return &inst{0x2f, 0x3, 0x0, 0x0, -512, 0x70}
41 case AAMOMAXUW:
42 return &inst{0x2f, 0x2, 0x0, 0x0, -512, 0x70}
43 case AAMOMIND:
44 return &inst{0x2f, 0x3, 0x0, 0x0, -2048, 0x40}
45 case AAMOMINW:
46 return &inst{0x2f, 0x2, 0x0, 0x0, -2048, 0x40}
47 case AAMOMINUD:
48 return &inst{0x2f, 0x3, 0x0, 0x0, -1024, 0x60}
49 case AAMOMINUW:
50 return &inst{0x2f, 0x2, 0x0, 0x0, -1024, 0x60}
51 case AAMOORD:
52 return &inst{0x2f, 0x3, 0x0, 0x0, 1024, 0x20}
53 case AAMOORW:
54 return &inst{0x2f, 0x2, 0x0, 0x0, 1024, 0x20}
55 case AAMOSWAPD:
56 return &inst{0x2f, 0x3, 0x0, 0x0, 128, 0x4}
57 case AAMOSWAPW:
58 return &inst{0x2f, 0x2, 0x0, 0x0, 128, 0x4}
59 case AAMOXORD:
60 return &inst{0x2f, 0x3, 0x0, 0x0, 512, 0x10}
61 case AAMOXORW:
62 return &inst{0x2f, 0x2, 0x0, 0x0, 512, 0x10}
63 case AAND:
64 return &inst{0x33, 0x7, 0x0, 0x0, 0, 0x0}
65 case AANDI:
66 return &inst{0x13, 0x7, 0x0, 0x0, 0, 0x0}
67 case AANDN:
68 return &inst{0x33, 0x7, 0x0, 0x0, 1024, 0x20}
69 case AAUIPC:
70 return &inst{0x17, 0x0, 0x0, 0x0, 0, 0x0}
71 case ABCLR:
72 return &inst{0x33, 0x1, 0x0, 0x0, 1152, 0x24}
73 case ABCLRI:
74 return &inst{0x13, 0x1, 0x0, 0x0, 1152, 0x24}
75 case ABEQ:
76 return &inst{0x63, 0x0, 0x0, 0x0, 0, 0x0}
77 case ABEXT:
78 return &inst{0x33, 0x5, 0x0, 0x0, 1152, 0x24}
79 case ABEXTI:
80 return &inst{0x13, 0x5, 0x0, 0x0, 1152, 0x24}
81 case ABGE:
82 return &inst{0x63, 0x5, 0x0, 0x0, 0, 0x0}
83 case ABGEU:
84 return &inst{0x63, 0x7, 0x0, 0x0, 0, 0x0}
85 case ABINV:
86 return &inst{0x33, 0x1, 0x0, 0x0, 1664, 0x34}
87 case ABINVI:
88 return &inst{0x13, 0x1, 0x0, 0x0, 1664, 0x34}
89 case ABLT:
90 return &inst{0x63, 0x4, 0x0, 0x0, 0, 0x0}
91 case ABLTU:
92 return &inst{0x63, 0x6, 0x0, 0x0, 0, 0x0}
93 case ABNE:
94 return &inst{0x63, 0x1, 0x0, 0x0, 0, 0x0}
95 case ABSET:
96 return &inst{0x33, 0x1, 0x0, 0x0, 640, 0x14}
97 case ABSETI:
98 return &inst{0x13, 0x1, 0x0, 0x0, 640, 0x14}
99 case ACLZ:
100 return &inst{0x13, 0x1, 0x0, 0x0, 1536, 0x30}
101 case ACLZW:
102 return &inst{0x1b, 0x1, 0x0, 0x0, 1536, 0x30}
103 case ACPOP:
104 return &inst{0x13, 0x1, 0x0, 0x2, 1538, 0x30}
105 case ACPOPW:
106 return &inst{0x1b, 0x1, 0x0, 0x2, 1538, 0x30}
107 case ACSRRC:
108 return &inst{0x73, 0x3, 0x0, 0x0, 0, 0x0}
109 case ACSRRCI:
110 return &inst{0x73, 0x7, 0x0, 0x0, 0, 0x0}
111 case ACSRRS:
112 return &inst{0x73, 0x2, 0x0, 0x0, 0, 0x0}
113 case ACSRRSI:
114 return &inst{0x73, 0x6, 0x0, 0x0, 0, 0x0}
115 case ACSRRW:
116 return &inst{0x73, 0x1, 0x0, 0x0, 0, 0x0}
117 case ACSRRWI:
118 return &inst{0x73, 0x5, 0x0, 0x0, 0, 0x0}
119 case ACTZ:
120 return &inst{0x13, 0x1, 0x0, 0x1, 1537, 0x30}
121 case ACTZW:
122 return &inst{0x1b, 0x1, 0x0, 0x1, 1537, 0x30}
123 case ADIV:
124 return &inst{0x33, 0x4, 0x0, 0x0, 32, 0x1}
125 case ADIVU:
126 return &inst{0x33, 0x5, 0x0, 0x0, 32, 0x1}
127 case ADIVUW:
128 return &inst{0x3b, 0x5, 0x0, 0x0, 32, 0x1}
129 case ADIVW:
130 return &inst{0x3b, 0x4, 0x0, 0x0, 32, 0x1}
131 case AEBREAK:
132 return &inst{0x73, 0x0, 0x0, 0x1, 1, 0x0}
133 case AECALL:
134 return &inst{0x73, 0x0, 0x0, 0x0, 0, 0x0}
135 case AFADDD:
136 return &inst{0x53, 0x0, 0x0, 0x0, 32, 0x1}
137 case AFADDQ:
138 return &inst{0x53, 0x0, 0x0, 0x0, 96, 0x3}
139 case AFADDS:
140 return &inst{0x53, 0x0, 0x0, 0x0, 0, 0x0}
141 case AFCLASSD:
142 return &inst{0x53, 0x1, 0x0, 0x0, -480, 0x71}
143 case AFCLASSQ:
144 return &inst{0x53, 0x1, 0x0, 0x0, -416, 0x73}
145 case AFCLASSS:
146 return &inst{0x53, 0x1, 0x0, 0x0, -512, 0x70}
147 case AFCVTDL:
148 return &inst{0x53, 0x0, 0x0, 0x2, -734, 0x69}
149 case AFCVTDLU:
150 return &inst{0x53, 0x0, 0x0, 0x3, -733, 0x69}
151 case AFCVTDQ:
152 return &inst{0x53, 0x0, 0x0, 0x3, 1059, 0x21}
153 case AFCVTDS:
154 return &inst{0x53, 0x0, 0x0, 0x0, 1056, 0x21}
155 case AFCVTDW:
156 return &inst{0x53, 0x0, 0x0, 0x0, -736, 0x69}
157 case AFCVTDWU:
158 return &inst{0x53, 0x0, 0x0, 0x1, -735, 0x69}
159 case AFCVTLD:
160 return &inst{0x53, 0x0, 0x0, 0x2, -990, 0x61}
161 case AFCVTLQ:
162 return &inst{0x53, 0x0, 0x0, 0x2, -926, 0x63}
163 case AFCVTLS:
164 return &inst{0x53, 0x0, 0x0, 0x2, -1022, 0x60}
165 case AFCVTLUD:
166 return &inst{0x53, 0x0, 0x0, 0x3, -989, 0x61}
167 case AFCVTLUQ:
168 return &inst{0x53, 0x0, 0x0, 0x3, -925, 0x63}
169 case AFCVTLUS:
170 return &inst{0x53, 0x0, 0x0, 0x3, -1021, 0x60}
171 case AFCVTQD:
172 return &inst{0x53, 0x0, 0x0, 0x1, 1121, 0x23}
173 case AFCVTQL:
174 return &inst{0x53, 0x0, 0x0, 0x2, -670, 0x6b}
175 case AFCVTQLU:
176 return &inst{0x53, 0x0, 0x0, 0x3, -669, 0x6b}
177 case AFCVTQS:
178 return &inst{0x53, 0x0, 0x0, 0x0, 1120, 0x23}
179 case AFCVTQW:
180 return &inst{0x53, 0x0, 0x0, 0x0, -672, 0x6b}
181 case AFCVTQWU:
182 return &inst{0x53, 0x0, 0x0, 0x1, -671, 0x6b}
183 case AFCVTSD:
184 return &inst{0x53, 0x0, 0x0, 0x1, 1025, 0x20}
185 case AFCVTSL:
186 return &inst{0x53, 0x0, 0x0, 0x2, -766, 0x68}
187 case AFCVTSLU:
188 return &inst{0x53, 0x0, 0x0, 0x3, -765, 0x68}
189 case AFCVTSQ:
190 return &inst{0x53, 0x0, 0x0, 0x3, 1027, 0x20}
191 case AFCVTSW:
192 return &inst{0x53, 0x0, 0x0, 0x0, -768, 0x68}
193 case AFCVTSWU:
194 return &inst{0x53, 0x0, 0x0, 0x1, -767, 0x68}
195 case AFCVTWD:
196 return &inst{0x53, 0x0, 0x0, 0x0, -992, 0x61}
197 case AFCVTWQ:
198 return &inst{0x53, 0x0, 0x0, 0x0, -928, 0x63}
199 case AFCVTWS:
200 return &inst{0x53, 0x0, 0x0, 0x0, -1024, 0x60}
201 case AFCVTWUD:
202 return &inst{0x53, 0x0, 0x0, 0x1, -991, 0x61}
203 case AFCVTWUQ:
204 return &inst{0x53, 0x0, 0x0, 0x1, -927, 0x63}
205 case AFCVTWUS:
206 return &inst{0x53, 0x0, 0x0, 0x1, -1023, 0x60}
207 case AFDIVD:
208 return &inst{0x53, 0x0, 0x0, 0x0, 416, 0xd}
209 case AFDIVQ:
210 return &inst{0x53, 0x0, 0x0, 0x0, 480, 0xf}
211 case AFDIVS:
212 return &inst{0x53, 0x0, 0x0, 0x0, 384, 0xc}
213 case AFENCE:
214 return &inst{0xf, 0x0, 0x0, 0x0, 0, 0x0}
215 case AFEQD:
216 return &inst{0x53, 0x2, 0x0, 0x0, -1504, 0x51}
217 case AFEQQ:
218 return &inst{0x53, 0x2, 0x0, 0x0, -1440, 0x53}
219 case AFEQS:
220 return &inst{0x53, 0x2, 0x0, 0x0, -1536, 0x50}
221 case AFLD:
222 return &inst{0x7, 0x3, 0x0, 0x0, 0, 0x0}
223 case AFLED:
224 return &inst{0x53, 0x0, 0x0, 0x0, -1504, 0x51}
225 case AFLEQ:
226 return &inst{0x53, 0x0, 0x0, 0x0, -1440, 0x53}
227 case AFLES:
228 return &inst{0x53, 0x0, 0x0, 0x0, -1536, 0x50}
229 case AFLQ:
230 return &inst{0x7, 0x4, 0x0, 0x0, 0, 0x0}
231 case AFLTD:
232 return &inst{0x53, 0x1, 0x0, 0x0, -1504, 0x51}
233 case AFLTQ:
234 return &inst{0x53, 0x1, 0x0, 0x0, -1440, 0x53}
235 case AFLTS:
236 return &inst{0x53, 0x1, 0x0, 0x0, -1536, 0x50}
237 case AFLW:
238 return &inst{0x7, 0x2, 0x0, 0x0, 0, 0x0}
239 case AFMADDD:
240 return &inst{0x43, 0x0, 0x0, 0x0, 32, 0x1}
241 case AFMADDQ:
242 return &inst{0x43, 0x0, 0x0, 0x0, 96, 0x3}
243 case AFMADDS:
244 return &inst{0x43, 0x0, 0x0, 0x0, 0, 0x0}
245 case AFMAXD:
246 return &inst{0x53, 0x1, 0x0, 0x0, 672, 0x15}
247 case AFMAXQ:
248 return &inst{0x53, 0x1, 0x0, 0x0, 736, 0x17}
249 case AFMAXS:
250 return &inst{0x53, 0x1, 0x0, 0x0, 640, 0x14}
251 case AFMIND:
252 return &inst{0x53, 0x0, 0x0, 0x0, 672, 0x15}
253 case AFMINQ:
254 return &inst{0x53, 0x0, 0x0, 0x0, 736, 0x17}
255 case AFMINS:
256 return &inst{0x53, 0x0, 0x0, 0x0, 640, 0x14}
257 case AFMSUBD:
258 return &inst{0x47, 0x0, 0x0, 0x0, 32, 0x1}
259 case AFMSUBQ:
260 return &inst{0x47, 0x0, 0x0, 0x0, 96, 0x3}
261 case AFMSUBS:
262 return &inst{0x47, 0x0, 0x0, 0x0, 0, 0x0}
263 case AFMULD:
264 return &inst{0x53, 0x0, 0x0, 0x0, 288, 0x9}
265 case AFMULQ:
266 return &inst{0x53, 0x0, 0x0, 0x0, 352, 0xb}
267 case AFMULS:
268 return &inst{0x53, 0x0, 0x0, 0x0, 256, 0x8}
269 case AFMVDX:
270 return &inst{0x53, 0x0, 0x0, 0x0, -224, 0x79}
271 case AFMVWX:
272 return &inst{0x53, 0x0, 0x0, 0x0, -256, 0x78}
273 case AFMVXD:
274 return &inst{0x53, 0x0, 0x0, 0x0, -480, 0x71}
275 case AFMVXW:
276 return &inst{0x53, 0x0, 0x0, 0x0, -512, 0x70}
277 case AFNMADDD:
278 return &inst{0x4f, 0x0, 0x0, 0x0, 32, 0x1}
279 case AFNMADDQ:
280 return &inst{0x4f, 0x0, 0x0, 0x0, 96, 0x3}
281 case AFNMADDS:
282 return &inst{0x4f, 0x0, 0x0, 0x0, 0, 0x0}
283 case AFNMSUBD:
284 return &inst{0x4b, 0x0, 0x0, 0x0, 32, 0x1}
285 case AFNMSUBQ:
286 return &inst{0x4b, 0x0, 0x0, 0x0, 96, 0x3}
287 case AFNMSUBS:
288 return &inst{0x4b, 0x0, 0x0, 0x0, 0, 0x0}
289 case AFSD:
290 return &inst{0x27, 0x3, 0x0, 0x0, 0, 0x0}
291 case AFSGNJD:
292 return &inst{0x53, 0x0, 0x0, 0x0, 544, 0x11}
293 case AFSGNJQ:
294 return &inst{0x53, 0x0, 0x0, 0x0, 608, 0x13}
295 case AFSGNJS:
296 return &inst{0x53, 0x0, 0x0, 0x0, 512, 0x10}
297 case AFSGNJND:
298 return &inst{0x53, 0x1, 0x0, 0x0, 544, 0x11}
299 case AFSGNJNQ:
300 return &inst{0x53, 0x1, 0x0, 0x0, 608, 0x13}
301 case AFSGNJNS:
302 return &inst{0x53, 0x1, 0x0, 0x0, 512, 0x10}
303 case AFSGNJXD:
304 return &inst{0x53, 0x2, 0x0, 0x0, 544, 0x11}
305 case AFSGNJXQ:
306 return &inst{0x53, 0x2, 0x0, 0x0, 608, 0x13}
307 case AFSGNJXS:
308 return &inst{0x53, 0x2, 0x0, 0x0, 512, 0x10}
309 case AFSQ:
310 return &inst{0x27, 0x4, 0x0, 0x0, 0, 0x0}
311 case AFSQRTD:
312 return &inst{0x53, 0x0, 0x0, 0x0, 1440, 0x2d}
313 case AFSQRTQ:
314 return &inst{0x53, 0x0, 0x0, 0x0, 1504, 0x2f}
315 case AFSQRTS:
316 return &inst{0x53, 0x0, 0x0, 0x0, 1408, 0x2c}
317 case AFSUBD:
318 return &inst{0x53, 0x0, 0x0, 0x0, 160, 0x5}
319 case AFSUBQ:
320 return &inst{0x53, 0x0, 0x0, 0x0, 224, 0x7}
321 case AFSUBS:
322 return &inst{0x53, 0x0, 0x0, 0x0, 128, 0x4}
323 case AFSW:
324 return &inst{0x27, 0x2, 0x0, 0x0, 0, 0x0}
325 case AJAL:
326 return &inst{0x6f, 0x0, 0x0, 0x0, 0, 0x0}
327 case AJALR:
328 return &inst{0x67, 0x0, 0x0, 0x0, 0, 0x0}
329 case ALB:
330 return &inst{0x3, 0x0, 0x0, 0x0, 0, 0x0}
331 case ALBU:
332 return &inst{0x3, 0x4, 0x0, 0x0, 0, 0x0}
333 case ALD:
334 return &inst{0x3, 0x3, 0x0, 0x0, 0, 0x0}
335 case ALH:
336 return &inst{0x3, 0x1, 0x0, 0x0, 0, 0x0}
337 case ALHU:
338 return &inst{0x3, 0x5, 0x0, 0x0, 0, 0x0}
339 case ALRD:
340 return &inst{0x2f, 0x3, 0x0, 0x0, 256, 0x8}
341 case ALRW:
342 return &inst{0x2f, 0x2, 0x0, 0x0, 256, 0x8}
343 case ALUI:
344 return &inst{0x37, 0x0, 0x0, 0x0, 0, 0x0}
345 case ALW:
346 return &inst{0x3, 0x2, 0x0, 0x0, 0, 0x0}
347 case ALWU:
348 return &inst{0x3, 0x6, 0x0, 0x0, 0, 0x0}
349 case AMAX:
350 return &inst{0x33, 0x6, 0x0, 0x0, 160, 0x5}
351 case AMAXU:
352 return &inst{0x33, 0x7, 0x0, 0x0, 160, 0x5}
353 case AMIN:
354 return &inst{0x33, 0x4, 0x0, 0x0, 160, 0x5}
355 case AMINU:
356 return &inst{0x33, 0x5, 0x0, 0x0, 160, 0x5}
357 case AMRET:
358 return &inst{0x73, 0x0, 0x0, 0x2, 770, 0x18}
359 case AMUL:
360 return &inst{0x33, 0x0, 0x0, 0x0, 32, 0x1}
361 case AMULH:
362 return &inst{0x33, 0x1, 0x0, 0x0, 32, 0x1}
363 case AMULHSU:
364 return &inst{0x33, 0x2, 0x0, 0x0, 32, 0x1}
365 case AMULHU:
366 return &inst{0x33, 0x3, 0x0, 0x0, 32, 0x1}
367 case AMULW:
368 return &inst{0x3b, 0x0, 0x0, 0x0, 32, 0x1}
369 case AOR:
370 return &inst{0x33, 0x6, 0x0, 0x0, 0, 0x0}
371 case AORCB:
372 return &inst{0x13, 0x5, 0x0, 0x7, 647, 0x14}
373 case AORI:
374 return &inst{0x13, 0x6, 0x0, 0x0, 0, 0x0}
375 case AORN:
376 return &inst{0x33, 0x6, 0x0, 0x0, 1024, 0x20}
377 case AREM:
378 return &inst{0x33, 0x6, 0x0, 0x0, 32, 0x1}
379 case AREMU:
380 return &inst{0x33, 0x7, 0x0, 0x0, 32, 0x1}
381 case AREMUW:
382 return &inst{0x3b, 0x7, 0x0, 0x0, 32, 0x1}
383 case AREMW:
384 return &inst{0x3b, 0x6, 0x0, 0x0, 32, 0x1}
385 case AREV8:
386 return &inst{0x13, 0x5, 0x0, 0x18, 1720, 0x35}
387 case AROL:
388 return &inst{0x33, 0x1, 0x0, 0x0, 1536, 0x30}
389 case AROLW:
390 return &inst{0x3b, 0x1, 0x0, 0x0, 1536, 0x30}
391 case AROR:
392 return &inst{0x33, 0x5, 0x0, 0x0, 1536, 0x30}
393 case ARORI:
394 return &inst{0x13, 0x5, 0x0, 0x0, 1536, 0x30}
395 case ARORIW:
396 return &inst{0x1b, 0x5, 0x0, 0x0, 1536, 0x30}
397 case ARORW:
398 return &inst{0x3b, 0x5, 0x0, 0x0, 1536, 0x30}
399 case ASB:
400 return &inst{0x23, 0x0, 0x0, 0x0, 0, 0x0}
401 case ASCD:
402 return &inst{0x2f, 0x3, 0x0, 0x0, 384, 0xc}
403 case ASCW:
404 return &inst{0x2f, 0x2, 0x0, 0x0, 384, 0xc}
405 case ASD:
406 return &inst{0x23, 0x3, 0x0, 0x0, 0, 0x0}
407 case ASEXTB:
408 return &inst{0x13, 0x1, 0x0, 0x4, 1540, 0x30}
409 case ASEXTH:
410 return &inst{0x13, 0x1, 0x0, 0x5, 1541, 0x30}
411 case ASFENCEVMA:
412 return &inst{0x73, 0x0, 0x0, 0x0, 288, 0x9}
413 case ASH:
414 return &inst{0x23, 0x1, 0x0, 0x0, 0, 0x0}
415 case ASH1ADD:
416 return &inst{0x33, 0x2, 0x0, 0x0, 512, 0x10}
417 case ASH1ADDUW:
418 return &inst{0x3b, 0x2, 0x0, 0x0, 512, 0x10}
419 case ASH2ADD:
420 return &inst{0x33, 0x4, 0x0, 0x0, 512, 0x10}
421 case ASH2ADDUW:
422 return &inst{0x3b, 0x4, 0x0, 0x0, 512, 0x10}
423 case ASH3ADD:
424 return &inst{0x33, 0x6, 0x0, 0x0, 512, 0x10}
425 case ASH3ADDUW:
426 return &inst{0x3b, 0x6, 0x0, 0x0, 512, 0x10}
427 case ASLL:
428 return &inst{0x33, 0x1, 0x0, 0x0, 0, 0x0}
429 case ASLLI:
430 return &inst{0x13, 0x1, 0x0, 0x0, 0, 0x0}
431 case ASLLIUW:
432 return &inst{0x1b, 0x1, 0x0, 0x0, 128, 0x4}
433 case ASLLIW:
434 return &inst{0x1b, 0x1, 0x0, 0x0, 0, 0x0}
435 case ASLLW:
436 return &inst{0x3b, 0x1, 0x0, 0x0, 0, 0x0}
437 case ASLT:
438 return &inst{0x33, 0x2, 0x0, 0x0, 0, 0x0}
439 case ASLTI:
440 return &inst{0x13, 0x2, 0x0, 0x0, 0, 0x0}
441 case ASLTIU:
442 return &inst{0x13, 0x3, 0x0, 0x0, 0, 0x0}
443 case ASLTU:
444 return &inst{0x33, 0x3, 0x0, 0x0, 0, 0x0}
445 case ASRA:
446 return &inst{0x33, 0x5, 0x0, 0x0, 1024, 0x20}
447 case ASRAI:
448 return &inst{0x13, 0x5, 0x0, 0x0, 1024, 0x20}
449 case ASRAIW:
450 return &inst{0x1b, 0x5, 0x0, 0x0, 1024, 0x20}
451 case ASRAW:
452 return &inst{0x3b, 0x5, 0x0, 0x0, 1024, 0x20}
453 case ASRET:
454 return &inst{0x73, 0x0, 0x0, 0x2, 258, 0x8}
455 case ASRL:
456 return &inst{0x33, 0x5, 0x0, 0x0, 0, 0x0}
457 case ASRLI:
458 return &inst{0x13, 0x5, 0x0, 0x0, 0, 0x0}
459 case ASRLIW:
460 return &inst{0x1b, 0x5, 0x0, 0x0, 0, 0x0}
461 case ASRLW:
462 return &inst{0x3b, 0x5, 0x0, 0x0, 0, 0x0}
463 case ASUB:
464 return &inst{0x33, 0x0, 0x0, 0x0, 1024, 0x20}
465 case ASUBW:
466 return &inst{0x3b, 0x0, 0x0, 0x0, 1024, 0x20}
467 case ASW:
468 return &inst{0x23, 0x2, 0x0, 0x0, 0, 0x0}
469 case AVAADDVV:
470 return &inst{0x57, 0x2, 0x0, 0x0, 576, 0x12}
471 case AVAADDVX:
472 return &inst{0x57, 0x6, 0x0, 0x0, 576, 0x12}
473 case AVAADDUVV:
474 return &inst{0x57, 0x2, 0x0, 0x0, 512, 0x10}
475 case AVAADDUVX:
476 return &inst{0x57, 0x6, 0x0, 0x0, 512, 0x10}
477 case AVADCVIM:
478 return &inst{0x57, 0x3, 0x0, 0x0, 1024, 0x20}
479 case AVADCVVM:
480 return &inst{0x57, 0x0, 0x0, 0x0, 1024, 0x20}
481 case AVADCVXM:
482 return &inst{0x57, 0x4, 0x0, 0x0, 1024, 0x20}
483 case AVADDVI:
484 return &inst{0x57, 0x3, 0x0, 0x0, 0, 0x0}
485 case AVADDVV:
486 return &inst{0x57, 0x0, 0x0, 0x0, 0, 0x0}
487 case AVADDVX:
488 return &inst{0x57, 0x4, 0x0, 0x0, 0, 0x0}
489 case AVANDVI:
490 return &inst{0x57, 0x3, 0x0, 0x0, 576, 0x12}
491 case AVANDVV:
492 return &inst{0x57, 0x0, 0x0, 0x0, 576, 0x12}
493 case AVANDVX:
494 return &inst{0x57, 0x4, 0x0, 0x0, 576, 0x12}
495 case AVASUBVV:
496 return &inst{0x57, 0x2, 0x0, 0x0, 704, 0x16}
497 case AVASUBVX:
498 return &inst{0x57, 0x6, 0x0, 0x0, 704, 0x16}
499 case AVASUBUVV:
500 return &inst{0x57, 0x2, 0x0, 0x0, 640, 0x14}
501 case AVASUBUVX:
502 return &inst{0x57, 0x6, 0x0, 0x0, 640, 0x14}
503 case AVCOMPRESSVM:
504 return &inst{0x57, 0x2, 0x0, 0x0, 1504, 0x2f}
505 case AVCPOPM:
506 return &inst{0x57, 0x2, 0x10, 0x0, 1024, 0x20}
507 case AVDIVVV:
508 return &inst{0x57, 0x2, 0x0, 0x0, -1984, 0x42}
509 case AVDIVVX:
510 return &inst{0x57, 0x6, 0x0, 0x0, -1984, 0x42}
511 case AVDIVUVV:
512 return &inst{0x57, 0x2, 0x0, 0x0, -2048, 0x40}
513 case AVDIVUVX:
514 return &inst{0x57, 0x6, 0x0, 0x0, -2048, 0x40}
515 case AVFADDVF:
516 return &inst{0x57, 0x5, 0x0, 0x0, 0, 0x0}
517 case AVFADDVV:
518 return &inst{0x57, 0x1, 0x0, 0x0, 0, 0x0}
519 case AVFCLASSV:
520 return &inst{0x57, 0x1, 0x10, 0x0, 1216, 0x26}
521 case AVFCVTFXV:
522 return &inst{0x57, 0x1, 0x3, 0x0, 1152, 0x24}
523 case AVFCVTFXUV:
524 return &inst{0x57, 0x1, 0x2, 0x0, 1152, 0x24}
525 case AVFCVTRTZXFV:
526 return &inst{0x57, 0x1, 0x7, 0x0, 1152, 0x24}
527 case AVFCVTRTZXUFV:
528 return &inst{0x57, 0x1, 0x6, 0x0, 1152, 0x24}
529 case AVFCVTXFV:
530 return &inst{0x57, 0x1, 0x1, 0x0, 1152, 0x24}
531 case AVFCVTXUFV:
532 return &inst{0x57, 0x1, 0x0, 0x0, 1152, 0x24}
533 case AVFDIVVF:
534 return &inst{0x57, 0x5, 0x0, 0x0, -2048, 0x40}
535 case AVFDIVVV:
536 return &inst{0x57, 0x1, 0x0, 0x0, -2048, 0x40}
537 case AVFIRSTM:
538 return &inst{0x57, 0x2, 0x11, 0x0, 1024, 0x20}
539 case AVFMACCVF:
540 return &inst{0x57, 0x5, 0x0, 0x0, -1280, 0x58}
541 case AVFMACCVV:
542 return &inst{0x57, 0x1, 0x0, 0x0, -1280, 0x58}
543 case AVFMADDVF:
544 return &inst{0x57, 0x5, 0x0, 0x0, -1536, 0x50}
545 case AVFMADDVV:
546 return &inst{0x57, 0x1, 0x0, 0x0, -1536, 0x50}
547 case AVFMAXVF:
548 return &inst{0x57, 0x5, 0x0, 0x0, 384, 0xc}
549 case AVFMAXVV:
550 return &inst{0x57, 0x1, 0x0, 0x0, 384, 0xc}
551 case AVFMERGEVFM:
552 return &inst{0x57, 0x5, 0x0, 0x0, 1472, 0x2e}
553 case AVFMINVF:
554 return &inst{0x57, 0x5, 0x0, 0x0, 256, 0x8}
555 case AVFMINVV:
556 return &inst{0x57, 0x1, 0x0, 0x0, 256, 0x8}
557 case AVFMSACVF:
558 return &inst{0x57, 0x5, 0x0, 0x0, -1152, 0x5c}
559 case AVFMSACVV:
560 return &inst{0x57, 0x1, 0x0, 0x0, -1152, 0x5c}
561 case AVFMSUBVF:
562 return &inst{0x57, 0x5, 0x0, 0x0, -1408, 0x54}
563 case AVFMSUBVV:
564 return &inst{0x57, 0x1, 0x0, 0x0, -1408, 0x54}
565 case AVFMULVF:
566 return &inst{0x57, 0x5, 0x0, 0x0, -1792, 0x48}
567 case AVFMULVV:
568 return &inst{0x57, 0x1, 0x0, 0x0, -1792, 0x48}
569 case AVFMVFS:
570 return &inst{0x57, 0x1, 0x0, 0x0, 1056, 0x21}
571 case AVFMVSF:
572 return &inst{0x57, 0x5, 0x0, 0x0, 1056, 0x21}
573 case AVFMVVF:
574 return &inst{0x57, 0x5, 0x0, 0x0, 1504, 0x2f}
575 case AVFNCVTFFW:
576 return &inst{0x57, 0x1, 0x14, 0x0, 1152, 0x24}
577 case AVFNCVTFXW:
578 return &inst{0x57, 0x1, 0x13, 0x0, 1152, 0x24}
579 case AVFNCVTFXUW:
580 return &inst{0x57, 0x1, 0x12, 0x0, 1152, 0x24}
581 case AVFNCVTRODFFW:
582 return &inst{0x57, 0x1, 0x15, 0x0, 1152, 0x24}
583 case AVFNCVTRTZXFW:
584 return &inst{0x57, 0x1, 0x17, 0x0, 1152, 0x24}
585 case AVFNCVTRTZXUFW:
586 return &inst{0x57, 0x1, 0x16, 0x0, 1152, 0x24}
587 case AVFNCVTXFW:
588 return &inst{0x57, 0x1, 0x11, 0x0, 1152, 0x24}
589 case AVFNCVTXUFW:
590 return &inst{0x57, 0x1, 0x10, 0x0, 1152, 0x24}
591 case AVFNMACCVF:
592 return &inst{0x57, 0x5, 0x0, 0x0, -1216, 0x5a}
593 case AVFNMACCVV:
594 return &inst{0x57, 0x1, 0x0, 0x0, -1216, 0x5a}
595 case AVFNMADDVF:
596 return &inst{0x57, 0x5, 0x0, 0x0, -1472, 0x52}
597 case AVFNMADDVV:
598 return &inst{0x57, 0x1, 0x0, 0x0, -1472, 0x52}
599 case AVFNMSACVF:
600 return &inst{0x57, 0x5, 0x0, 0x0, -1088, 0x5e}
601 case AVFNMSACVV:
602 return &inst{0x57, 0x1, 0x0, 0x0, -1088, 0x5e}
603 case AVFNMSUBVF:
604 return &inst{0x57, 0x5, 0x0, 0x0, -1344, 0x56}
605 case AVFNMSUBVV:
606 return &inst{0x57, 0x1, 0x0, 0x0, -1344, 0x56}
607 case AVFRDIVVF:
608 return &inst{0x57, 0x5, 0x0, 0x0, -1984, 0x42}
609 case AVFREC7V:
610 return &inst{0x57, 0x1, 0x5, 0x0, 1216, 0x26}
611 case AVFREDMAXVS:
612 return &inst{0x57, 0x1, 0x0, 0x0, 448, 0xe}
613 case AVFREDMINVS:
614 return &inst{0x57, 0x1, 0x0, 0x0, 320, 0xa}
615 case AVFREDOSUMVS:
616 return &inst{0x57, 0x1, 0x0, 0x0, 192, 0x6}
617 case AVFREDUSUMVS:
618 return &inst{0x57, 0x1, 0x0, 0x0, 64, 0x2}
619 case AVFRSQRT7V:
620 return &inst{0x57, 0x1, 0x4, 0x0, 1216, 0x26}
621 case AVFRSUBVF:
622 return &inst{0x57, 0x5, 0x0, 0x0, -1600, 0x4e}
623 case AVFSGNJVF:
624 return &inst{0x57, 0x5, 0x0, 0x0, 512, 0x10}
625 case AVFSGNJVV:
626 return &inst{0x57, 0x1, 0x0, 0x0, 512, 0x10}
627 case AVFSGNJNVF:
628 return &inst{0x57, 0x5, 0x0, 0x0, 576, 0x12}
629 case AVFSGNJNVV:
630 return &inst{0x57, 0x1, 0x0, 0x0, 576, 0x12}
631 case AVFSGNJXVF:
632 return &inst{0x57, 0x5, 0x0, 0x0, 640, 0x14}
633 case AVFSGNJXVV:
634 return &inst{0x57, 0x1, 0x0, 0x0, 640, 0x14}
635 case AVFSLIDE1DOWNVF:
636 return &inst{0x57, 0x5, 0x0, 0x0, 960, 0x1e}
637 case AVFSLIDE1UPVF:
638 return &inst{0x57, 0x5, 0x0, 0x0, 896, 0x1c}
639 case AVFSQRTV:
640 return &inst{0x57, 0x1, 0x0, 0x0, 1216, 0x26}
641 case AVFSUBVF:
642 return &inst{0x57, 0x5, 0x0, 0x0, 128, 0x4}
643 case AVFSUBVV:
644 return &inst{0x57, 0x1, 0x0, 0x0, 128, 0x4}
645 case AVFWADDVF:
646 return &inst{0x57, 0x5, 0x0, 0x0, -1024, 0x60}
647 case AVFWADDVV:
648 return &inst{0x57, 0x1, 0x0, 0x0, -1024, 0x60}
649 case AVFWADDWF:
650 return &inst{0x57, 0x5, 0x0, 0x0, -768, 0x68}
651 case AVFWADDWV:
652 return &inst{0x57, 0x1, 0x0, 0x0, -768, 0x68}
653 case AVFWCVTFFV:
654 return &inst{0x57, 0x1, 0xc, 0x0, 1152, 0x24}
655 case AVFWCVTFXV:
656 return &inst{0x57, 0x1, 0xb, 0x0, 1152, 0x24}
657 case AVFWCVTFXUV:
658 return &inst{0x57, 0x1, 0xa, 0x0, 1152, 0x24}
659 case AVFWCVTRTZXFV:
660 return &inst{0x57, 0x1, 0xf, 0x0, 1152, 0x24}
661 case AVFWCVTRTZXUFV:
662 return &inst{0x57, 0x1, 0xe, 0x0, 1152, 0x24}
663 case AVFWCVTXFV:
664 return &inst{0x57, 0x1, 0x9, 0x0, 1152, 0x24}
665 case AVFWCVTXUFV:
666 return &inst{0x57, 0x1, 0x8, 0x0, 1152, 0x24}
667 case AVFWMACCVF:
668 return &inst{0x57, 0x5, 0x0, 0x0, -256, 0x78}
669 case AVFWMACCVV:
670 return &inst{0x57, 0x1, 0x0, 0x0, -256, 0x78}
671 case AVFWMSACVF:
672 return &inst{0x57, 0x5, 0x0, 0x0, -128, 0x7c}
673 case AVFWMSACVV:
674 return &inst{0x57, 0x1, 0x0, 0x0, -128, 0x7c}
675 case AVFWMULVF:
676 return &inst{0x57, 0x5, 0x0, 0x0, -512, 0x70}
677 case AVFWMULVV:
678 return &inst{0x57, 0x1, 0x0, 0x0, -512, 0x70}
679 case AVFWNMACCVF:
680 return &inst{0x57, 0x5, 0x0, 0x0, -192, 0x7a}
681 case AVFWNMACCVV:
682 return &inst{0x57, 0x1, 0x0, 0x0, -192, 0x7a}
683 case AVFWNMSACVF:
684 return &inst{0x57, 0x5, 0x0, 0x0, -64, 0x7e}
685 case AVFWNMSACVV:
686 return &inst{0x57, 0x1, 0x0, 0x0, -64, 0x7e}
687 case AVFWREDOSUMVS:
688 return &inst{0x57, 0x1, 0x0, 0x0, -832, 0x66}
689 case AVFWREDUSUMVS:
690 return &inst{0x57, 0x1, 0x0, 0x0, -960, 0x62}
691 case AVFWSUBVF:
692 return &inst{0x57, 0x5, 0x0, 0x0, -896, 0x64}
693 case AVFWSUBVV:
694 return &inst{0x57, 0x1, 0x0, 0x0, -896, 0x64}
695 case AVFWSUBWF:
696 return &inst{0x57, 0x5, 0x0, 0x0, -640, 0x6c}
697 case AVFWSUBWV:
698 return &inst{0x57, 0x1, 0x0, 0x0, -640, 0x6c}
699 case AVIDV:
700 return &inst{0x57, 0x2, 0x11, 0x0, 1280, 0x28}
701 case AVIOTAM:
702 return &inst{0x57, 0x2, 0x10, 0x0, 1280, 0x28}
703 case AVL1RE16V:
704 return &inst{0x7, 0x5, 0x0, 0x8, 40, 0x1}
705 case AVL1RE32V:
706 return &inst{0x7, 0x6, 0x0, 0x8, 40, 0x1}
707 case AVL1RE64V:
708 return &inst{0x7, 0x7, 0x0, 0x8, 40, 0x1}
709 case AVL1RE8V:
710 return &inst{0x7, 0x0, 0x0, 0x8, 40, 0x1}
711 case AVL2RE16V:
712 return &inst{0x7, 0x5, 0x0, 0x8, 552, 0x11}
713 case AVL2RE32V:
714 return &inst{0x7, 0x6, 0x0, 0x8, 552, 0x11}
715 case AVL2RE64V:
716 return &inst{0x7, 0x7, 0x0, 0x8, 552, 0x11}
717 case AVL2RE8V:
718 return &inst{0x7, 0x0, 0x0, 0x8, 552, 0x11}
719 case AVL4RE16V:
720 return &inst{0x7, 0x5, 0x0, 0x8, 1576, 0x31}
721 case AVL4RE32V:
722 return &inst{0x7, 0x6, 0x0, 0x8, 1576, 0x31}
723 case AVL4RE64V:
724 return &inst{0x7, 0x7, 0x0, 0x8, 1576, 0x31}
725 case AVL4RE8V:
726 return &inst{0x7, 0x0, 0x0, 0x8, 1576, 0x31}
727 case AVL8RE16V:
728 return &inst{0x7, 0x5, 0x0, 0x8, -472, 0x71}
729 case AVL8RE32V:
730 return &inst{0x7, 0x6, 0x0, 0x8, -472, 0x71}
731 case AVL8RE64V:
732 return &inst{0x7, 0x7, 0x0, 0x8, -472, 0x71}
733 case AVL8RE8V:
734 return &inst{0x7, 0x0, 0x0, 0x8, -472, 0x71}
735 case AVLE16V:
736 return &inst{0x7, 0x5, 0x0, 0x0, 0, 0x0}
737 case AVLE16FFV:
738 return &inst{0x7, 0x5, 0x0, 0x10, 16, 0x0}
739 case AVLE32V:
740 return &inst{0x7, 0x6, 0x0, 0x0, 0, 0x0}
741 case AVLE32FFV:
742 return &inst{0x7, 0x6, 0x0, 0x10, 16, 0x0}
743 case AVLE64V:
744 return &inst{0x7, 0x7, 0x0, 0x0, 0, 0x0}
745 case AVLE64FFV:
746 return &inst{0x7, 0x7, 0x0, 0x10, 16, 0x0}
747 case AVLE8V:
748 return &inst{0x7, 0x0, 0x0, 0x0, 0, 0x0}
749 case AVLE8FFV:
750 return &inst{0x7, 0x0, 0x0, 0x10, 16, 0x0}
751 case AVLMV:
752 return &inst{0x7, 0x0, 0x0, 0xb, 43, 0x1}
753 case AVLOXEI16V:
754 return &inst{0x7, 0x5, 0x0, 0x0, 192, 0x6}
755 case AVLOXEI32V:
756 return &inst{0x7, 0x6, 0x0, 0x0, 192, 0x6}
757 case AVLOXEI64V:
758 return &inst{0x7, 0x7, 0x0, 0x0, 192, 0x6}
759 case AVLOXEI8V:
760 return &inst{0x7, 0x0, 0x0, 0x0, 192, 0x6}
761 case AVLSE16V:
762 return &inst{0x7, 0x5, 0x0, 0x0, 128, 0x4}
763 case AVLSE32V:
764 return &inst{0x7, 0x6, 0x0, 0x0, 128, 0x4}
765 case AVLSE64V:
766 return &inst{0x7, 0x7, 0x0, 0x0, 128, 0x4}
767 case AVLSE8V:
768 return &inst{0x7, 0x0, 0x0, 0x0, 128, 0x4}
769 case AVLUXEI16V:
770 return &inst{0x7, 0x5, 0x0, 0x0, 64, 0x2}
771 case AVLUXEI32V:
772 return &inst{0x7, 0x6, 0x0, 0x0, 64, 0x2}
773 case AVLUXEI64V:
774 return &inst{0x7, 0x7, 0x0, 0x0, 64, 0x2}
775 case AVLUXEI8V:
776 return &inst{0x7, 0x0, 0x0, 0x0, 64, 0x2}
777 case AVMACCVV:
778 return &inst{0x57, 0x2, 0x0, 0x0, -1216, 0x5a}
779 case AVMACCVX:
780 return &inst{0x57, 0x6, 0x0, 0x0, -1216, 0x5a}
781 case AVMADCVI:
782 return &inst{0x57, 0x3, 0x0, 0x0, 1120, 0x23}
783 case AVMADCVIM:
784 return &inst{0x57, 0x3, 0x0, 0x0, 1088, 0x22}
785 case AVMADCVV:
786 return &inst{0x57, 0x0, 0x0, 0x0, 1120, 0x23}
787 case AVMADCVVM:
788 return &inst{0x57, 0x0, 0x0, 0x0, 1088, 0x22}
789 case AVMADCVX:
790 return &inst{0x57, 0x4, 0x0, 0x0, 1120, 0x23}
791 case AVMADCVXM:
792 return &inst{0x57, 0x4, 0x0, 0x0, 1088, 0x22}
793 case AVMADDVV:
794 return &inst{0x57, 0x2, 0x0, 0x0, -1472, 0x52}
795 case AVMADDVX:
796 return &inst{0x57, 0x6, 0x0, 0x0, -1472, 0x52}
797 case AVMANDMM:
798 return &inst{0x57, 0x2, 0x0, 0x0, 1632, 0x33}
799 case AVMANDNMM:
800 return &inst{0x57, 0x2, 0x0, 0x0, 1568, 0x31}
801 case AVMAXVV:
802 return &inst{0x57, 0x0, 0x0, 0x0, 448, 0xe}
803 case AVMAXVX:
804 return &inst{0x57, 0x4, 0x0, 0x0, 448, 0xe}
805 case AVMAXUVV:
806 return &inst{0x57, 0x0, 0x0, 0x0, 384, 0xc}
807 case AVMAXUVX:
808 return &inst{0x57, 0x4, 0x0, 0x0, 384, 0xc}
809 case AVMERGEVIM:
810 return &inst{0x57, 0x3, 0x0, 0x0, 1472, 0x2e}
811 case AVMERGEVVM:
812 return &inst{0x57, 0x0, 0x0, 0x0, 1472, 0x2e}
813 case AVMERGEVXM:
814 return &inst{0x57, 0x4, 0x0, 0x0, 1472, 0x2e}
815 case AVMFEQVF:
816 return &inst{0x57, 0x5, 0x0, 0x0, 1536, 0x30}
817 case AVMFEQVV:
818 return &inst{0x57, 0x1, 0x0, 0x0, 1536, 0x30}
819 case AVMFGEVF:
820 return &inst{0x57, 0x5, 0x0, 0x0, 1984, 0x3e}
821 case AVMFGTVF:
822 return &inst{0x57, 0x5, 0x0, 0x0, 1856, 0x3a}
823 case AVMFLEVF:
824 return &inst{0x57, 0x5, 0x0, 0x0, 1600, 0x32}
825 case AVMFLEVV:
826 return &inst{0x57, 0x1, 0x0, 0x0, 1600, 0x32}
827 case AVMFLTVF:
828 return &inst{0x57, 0x5, 0x0, 0x0, 1728, 0x36}
829 case AVMFLTVV:
830 return &inst{0x57, 0x1, 0x0, 0x0, 1728, 0x36}
831 case AVMFNEVF:
832 return &inst{0x57, 0x5, 0x0, 0x0, 1792, 0x38}
833 case AVMFNEVV:
834 return &inst{0x57, 0x1, 0x0, 0x0, 1792, 0x38}
835 case AVMINVV:
836 return &inst{0x57, 0x0, 0x0, 0x0, 320, 0xa}
837 case AVMINVX:
838 return &inst{0x57, 0x4, 0x0, 0x0, 320, 0xa}
839 case AVMINUVV:
840 return &inst{0x57, 0x0, 0x0, 0x0, 256, 0x8}
841 case AVMINUVX:
842 return &inst{0x57, 0x4, 0x0, 0x0, 256, 0x8}
843 case AVMNANDMM:
844 return &inst{0x57, 0x2, 0x0, 0x0, 1888, 0x3b}
845 case AVMNORMM:
846 return &inst{0x57, 0x2, 0x0, 0x0, 1952, 0x3d}
847 case AVMORMM:
848 return &inst{0x57, 0x2, 0x0, 0x0, 1696, 0x35}
849 case AVMORNMM:
850 return &inst{0x57, 0x2, 0x0, 0x0, 1824, 0x39}
851 case AVMSBCVV:
852 return &inst{0x57, 0x0, 0x0, 0x0, 1248, 0x27}
853 case AVMSBCVVM:
854 return &inst{0x57, 0x0, 0x0, 0x0, 1216, 0x26}
855 case AVMSBCVX:
856 return &inst{0x57, 0x4, 0x0, 0x0, 1248, 0x27}
857 case AVMSBCVXM:
858 return &inst{0x57, 0x4, 0x0, 0x0, 1216, 0x26}
859 case AVMSBFM:
860 return &inst{0x57, 0x2, 0x1, 0x0, 1280, 0x28}
861 case AVMSEQVI:
862 return &inst{0x57, 0x3, 0x0, 0x0, 1536, 0x30}
863 case AVMSEQVV:
864 return &inst{0x57, 0x0, 0x0, 0x0, 1536, 0x30}
865 case AVMSEQVX:
866 return &inst{0x57, 0x4, 0x0, 0x0, 1536, 0x30}
867 case AVMSGTVI:
868 return &inst{0x57, 0x3, 0x0, 0x0, 1984, 0x3e}
869 case AVMSGTVX:
870 return &inst{0x57, 0x4, 0x0, 0x0, 1984, 0x3e}
871 case AVMSGTUVI:
872 return &inst{0x57, 0x3, 0x0, 0x0, 1920, 0x3c}
873 case AVMSGTUVX:
874 return &inst{0x57, 0x4, 0x0, 0x0, 1920, 0x3c}
875 case AVMSIFM:
876 return &inst{0x57, 0x2, 0x3, 0x0, 1280, 0x28}
877 case AVMSLEVI:
878 return &inst{0x57, 0x3, 0x0, 0x0, 1856, 0x3a}
879 case AVMSLEVV:
880 return &inst{0x57, 0x0, 0x0, 0x0, 1856, 0x3a}
881 case AVMSLEVX:
882 return &inst{0x57, 0x4, 0x0, 0x0, 1856, 0x3a}
883 case AVMSLEUVI:
884 return &inst{0x57, 0x3, 0x0, 0x0, 1792, 0x38}
885 case AVMSLEUVV:
886 return &inst{0x57, 0x0, 0x0, 0x0, 1792, 0x38}
887 case AVMSLEUVX:
888 return &inst{0x57, 0x4, 0x0, 0x0, 1792, 0x38}
889 case AVMSLTVV:
890 return &inst{0x57, 0x0, 0x0, 0x0, 1728, 0x36}
891 case AVMSLTVX:
892 return &inst{0x57, 0x4, 0x0, 0x0, 1728, 0x36}
893 case AVMSLTUVV:
894 return &inst{0x57, 0x0, 0x0, 0x0, 1664, 0x34}
895 case AVMSLTUVX:
896 return &inst{0x57, 0x4, 0x0, 0x0, 1664, 0x34}
897 case AVMSNEVI:
898 return &inst{0x57, 0x3, 0x0, 0x0, 1600, 0x32}
899 case AVMSNEVV:
900 return &inst{0x57, 0x0, 0x0, 0x0, 1600, 0x32}
901 case AVMSNEVX:
902 return &inst{0x57, 0x4, 0x0, 0x0, 1600, 0x32}
903 case AVMSOFM:
904 return &inst{0x57, 0x2, 0x2, 0x0, 1280, 0x28}
905 case AVMULVV:
906 return &inst{0x57, 0x2, 0x0, 0x0, -1728, 0x4a}
907 case AVMULVX:
908 return &inst{0x57, 0x6, 0x0, 0x0, -1728, 0x4a}
909 case AVMULHVV:
910 return &inst{0x57, 0x2, 0x0, 0x0, -1600, 0x4e}
911 case AVMULHVX:
912 return &inst{0x57, 0x6, 0x0, 0x0, -1600, 0x4e}
913 case AVMULHSUVV:
914 return &inst{0x57, 0x2, 0x0, 0x0, -1664, 0x4c}
915 case AVMULHSUVX:
916 return &inst{0x57, 0x6, 0x0, 0x0, -1664, 0x4c}
917 case AVMULHUVV:
918 return &inst{0x57, 0x2, 0x0, 0x0, -1792, 0x48}
919 case AVMULHUVX:
920 return &inst{0x57, 0x6, 0x0, 0x0, -1792, 0x48}
921 case AVMV1RV:
922 return &inst{0x57, 0x3, 0x0, 0x0, -1568, 0x4f}
923 case AVMV2RV:
924 return &inst{0x57, 0x3, 0x1, 0x0, -1568, 0x4f}
925 case AVMV4RV:
926 return &inst{0x57, 0x3, 0x3, 0x0, -1568, 0x4f}
927 case AVMV8RV:
928 return &inst{0x57, 0x3, 0x7, 0x0, -1568, 0x4f}
929 case AVMVSX:
930 return &inst{0x57, 0x6, 0x0, 0x0, 1056, 0x21}
931 case AVMVVI:
932 return &inst{0x57, 0x3, 0x0, 0x0, 1504, 0x2f}
933 case AVMVVV:
934 return &inst{0x57, 0x0, 0x0, 0x0, 1504, 0x2f}
935 case AVMVVX:
936 return &inst{0x57, 0x4, 0x0, 0x0, 1504, 0x2f}
937 case AVMVXS:
938 return &inst{0x57, 0x2, 0x0, 0x0, 1056, 0x21}
939 case AVMXNORMM:
940 return &inst{0x57, 0x2, 0x0, 0x0, 2016, 0x3f}
941 case AVMXORMM:
942 return &inst{0x57, 0x2, 0x0, 0x0, 1760, 0x37}
943 case AVNCLIPWI:
944 return &inst{0x57, 0x3, 0x0, 0x0, -1088, 0x5e}
945 case AVNCLIPWV:
946 return &inst{0x57, 0x0, 0x0, 0x0, -1088, 0x5e}
947 case AVNCLIPWX:
948 return &inst{0x57, 0x4, 0x0, 0x0, -1088, 0x5e}
949 case AVNCLIPUWI:
950 return &inst{0x57, 0x3, 0x0, 0x0, -1152, 0x5c}
951 case AVNCLIPUWV:
952 return &inst{0x57, 0x0, 0x0, 0x0, -1152, 0x5c}
953 case AVNCLIPUWX:
954 return &inst{0x57, 0x4, 0x0, 0x0, -1152, 0x5c}
955 case AVNMSACVV:
956 return &inst{0x57, 0x2, 0x0, 0x0, -1088, 0x5e}
957 case AVNMSACVX:
958 return &inst{0x57, 0x6, 0x0, 0x0, -1088, 0x5e}
959 case AVNMSUBVV:
960 return &inst{0x57, 0x2, 0x0, 0x0, -1344, 0x56}
961 case AVNMSUBVX:
962 return &inst{0x57, 0x6, 0x0, 0x0, -1344, 0x56}
963 case AVNSRAWI:
964 return &inst{0x57, 0x3, 0x0, 0x0, -1216, 0x5a}
965 case AVNSRAWV:
966 return &inst{0x57, 0x0, 0x0, 0x0, -1216, 0x5a}
967 case AVNSRAWX:
968 return &inst{0x57, 0x4, 0x0, 0x0, -1216, 0x5a}
969 case AVNSRLWI:
970 return &inst{0x57, 0x3, 0x0, 0x0, -1280, 0x58}
971 case AVNSRLWV:
972 return &inst{0x57, 0x0, 0x0, 0x0, -1280, 0x58}
973 case AVNSRLWX:
974 return &inst{0x57, 0x4, 0x0, 0x0, -1280, 0x58}
975 case AVORVI:
976 return &inst{0x57, 0x3, 0x0, 0x0, 640, 0x14}
977 case AVORVV:
978 return &inst{0x57, 0x0, 0x0, 0x0, 640, 0x14}
979 case AVORVX:
980 return &inst{0x57, 0x4, 0x0, 0x0, 640, 0x14}
981 case AVREDANDVS:
982 return &inst{0x57, 0x2, 0x0, 0x0, 64, 0x2}
983 case AVREDMAXVS:
984 return &inst{0x57, 0x2, 0x0, 0x0, 448, 0xe}
985 case AVREDMAXUVS:
986 return &inst{0x57, 0x2, 0x0, 0x0, 384, 0xc}
987 case AVREDMINVS:
988 return &inst{0x57, 0x2, 0x0, 0x0, 320, 0xa}
989 case AVREDMINUVS:
990 return &inst{0x57, 0x2, 0x0, 0x0, 256, 0x8}
991 case AVREDORVS:
992 return &inst{0x57, 0x2, 0x0, 0x0, 128, 0x4}
993 case AVREDSUMVS:
994 return &inst{0x57, 0x2, 0x0, 0x0, 0, 0x0}
995 case AVREDXORVS:
996 return &inst{0x57, 0x2, 0x0, 0x0, 192, 0x6}
997 case AVREMVV:
998 return &inst{0x57, 0x2, 0x0, 0x0, -1856, 0x46}
999 case AVREMVX:
1000 return &inst{0x57, 0x6, 0x0, 0x0, -1856, 0x46}
1001 case AVREMUVV:
1002 return &inst{0x57, 0x2, 0x0, 0x0, -1920, 0x44}
1003 case AVREMUVX:
1004 return &inst{0x57, 0x6, 0x0, 0x0, -1920, 0x44}
1005 case AVRGATHERVI:
1006 return &inst{0x57, 0x3, 0x0, 0x0, 768, 0x18}
1007 case AVRGATHERVV:
1008 return &inst{0x57, 0x0, 0x0, 0x0, 768, 0x18}
1009 case AVRGATHERVX:
1010 return &inst{0x57, 0x4, 0x0, 0x0, 768, 0x18}
1011 case AVRGATHEREI16VV:
1012 return &inst{0x57, 0x0, 0x0, 0x0, 896, 0x1c}
1013 case AVRSUBVI:
1014 return &inst{0x57, 0x3, 0x0, 0x0, 192, 0x6}
1015 case AVRSUBVX:
1016 return &inst{0x57, 0x4, 0x0, 0x0, 192, 0x6}
1017 case AVS1RV:
1018 return &inst{0x27, 0x0, 0x0, 0x8, 40, 0x1}
1019 case AVS2RV:
1020 return &inst{0x27, 0x0, 0x0, 0x8, 552, 0x11}
1021 case AVS4RV:
1022 return &inst{0x27, 0x0, 0x0, 0x8, 1576, 0x31}
1023 case AVS8RV:
1024 return &inst{0x27, 0x0, 0x0, 0x8, -472, 0x71}
1025 case AVSADDVI:
1026 return &inst{0x57, 0x3, 0x0, 0x0, -1984, 0x42}
1027 case AVSADDVV:
1028 return &inst{0x57, 0x0, 0x0, 0x0, -1984, 0x42}
1029 case AVSADDVX:
1030 return &inst{0x57, 0x4, 0x0, 0x0, -1984, 0x42}
1031 case AVSADDUVI:
1032 return &inst{0x57, 0x3, 0x0, 0x0, -2048, 0x40}
1033 case AVSADDUVV:
1034 return &inst{0x57, 0x0, 0x0, 0x0, -2048, 0x40}
1035 case AVSADDUVX:
1036 return &inst{0x57, 0x4, 0x0, 0x0, -2048, 0x40}
1037 case AVSBCVVM:
1038 return &inst{0x57, 0x0, 0x0, 0x0, 1152, 0x24}
1039 case AVSBCVXM:
1040 return &inst{0x57, 0x4, 0x0, 0x0, 1152, 0x24}
1041 case AVSE16V:
1042 return &inst{0x27, 0x5, 0x0, 0x0, 0, 0x0}
1043 case AVSE32V:
1044 return &inst{0x27, 0x6, 0x0, 0x0, 0, 0x0}
1045 case AVSE64V:
1046 return &inst{0x27, 0x7, 0x0, 0x0, 0, 0x0}
1047 case AVSE8V:
1048 return &inst{0x27, 0x0, 0x0, 0x0, 0, 0x0}
1049 case AVSETIVLI:
1050 return &inst{0x57, 0x7, 0x0, 0x0, -1024, 0x60}
1051 case AVSETVL:
1052 return &inst{0x57, 0x7, 0x0, 0x0, -2048, 0x40}
1053 case AVSETVLI:
1054 return &inst{0x57, 0x7, 0x0, 0x0, 0, 0x0}
1055 case AVSEXTVF2:
1056 return &inst{0x57, 0x2, 0x7, 0x0, 1152, 0x24}
1057 case AVSEXTVF4:
1058 return &inst{0x57, 0x2, 0x5, 0x0, 1152, 0x24}
1059 case AVSEXTVF8:
1060 return &inst{0x57, 0x2, 0x3, 0x0, 1152, 0x24}
1061 case AVSLIDE1DOWNVX:
1062 return &inst{0x57, 0x6, 0x0, 0x0, 960, 0x1e}
1063 case AVSLIDE1UPVX:
1064 return &inst{0x57, 0x6, 0x0, 0x0, 896, 0x1c}
1065 case AVSLIDEDOWNVI:
1066 return &inst{0x57, 0x3, 0x0, 0x0, 960, 0x1e}
1067 case AVSLIDEDOWNVX:
1068 return &inst{0x57, 0x4, 0x0, 0x0, 960, 0x1e}
1069 case AVSLIDEUPVI:
1070 return &inst{0x57, 0x3, 0x0, 0x0, 896, 0x1c}
1071 case AVSLIDEUPVX:
1072 return &inst{0x57, 0x4, 0x0, 0x0, 896, 0x1c}
1073 case AVSLLVI:
1074 return &inst{0x57, 0x3, 0x0, 0x0, -1728, 0x4a}
1075 case AVSLLVV:
1076 return &inst{0x57, 0x0, 0x0, 0x0, -1728, 0x4a}
1077 case AVSLLVX:
1078 return &inst{0x57, 0x4, 0x0, 0x0, -1728, 0x4a}
1079 case AVSMV:
1080 return &inst{0x27, 0x0, 0x0, 0xb, 43, 0x1}
1081 case AVSMULVV:
1082 return &inst{0x57, 0x0, 0x0, 0x0, -1600, 0x4e}
1083 case AVSMULVX:
1084 return &inst{0x57, 0x4, 0x0, 0x0, -1600, 0x4e}
1085 case AVSOXEI16V:
1086 return &inst{0x27, 0x5, 0x0, 0x0, 192, 0x6}
1087 case AVSOXEI32V:
1088 return &inst{0x27, 0x6, 0x0, 0x0, 192, 0x6}
1089 case AVSOXEI64V:
1090 return &inst{0x27, 0x7, 0x0, 0x0, 192, 0x6}
1091 case AVSOXEI8V:
1092 return &inst{0x27, 0x0, 0x0, 0x0, 192, 0x6}
1093 case AVSRAVI:
1094 return &inst{0x57, 0x3, 0x0, 0x0, -1472, 0x52}
1095 case AVSRAVV:
1096 return &inst{0x57, 0x0, 0x0, 0x0, -1472, 0x52}
1097 case AVSRAVX:
1098 return &inst{0x57, 0x4, 0x0, 0x0, -1472, 0x52}
1099 case AVSRLVI:
1100 return &inst{0x57, 0x3, 0x0, 0x0, -1536, 0x50}
1101 case AVSRLVV:
1102 return &inst{0x57, 0x0, 0x0, 0x0, -1536, 0x50}
1103 case AVSRLVX:
1104 return &inst{0x57, 0x4, 0x0, 0x0, -1536, 0x50}
1105 case AVSSE16V:
1106 return &inst{0x27, 0x5, 0x0, 0x0, 128, 0x4}
1107 case AVSSE32V:
1108 return &inst{0x27, 0x6, 0x0, 0x0, 128, 0x4}
1109 case AVSSE64V:
1110 return &inst{0x27, 0x7, 0x0, 0x0, 128, 0x4}
1111 case AVSSE8V:
1112 return &inst{0x27, 0x0, 0x0, 0x0, 128, 0x4}
1113 case AVSSRAVI:
1114 return &inst{0x57, 0x3, 0x0, 0x0, -1344, 0x56}
1115 case AVSSRAVV:
1116 return &inst{0x57, 0x0, 0x0, 0x0, -1344, 0x56}
1117 case AVSSRAVX:
1118 return &inst{0x57, 0x4, 0x0, 0x0, -1344, 0x56}
1119 case AVSSRLVI:
1120 return &inst{0x57, 0x3, 0x0, 0x0, -1408, 0x54}
1121 case AVSSRLVV:
1122 return &inst{0x57, 0x0, 0x0, 0x0, -1408, 0x54}
1123 case AVSSRLVX:
1124 return &inst{0x57, 0x4, 0x0, 0x0, -1408, 0x54}
1125 case AVSSUBVV:
1126 return &inst{0x57, 0x0, 0x0, 0x0, -1856, 0x46}
1127 case AVSSUBVX:
1128 return &inst{0x57, 0x4, 0x0, 0x0, -1856, 0x46}
1129 case AVSSUBUVV:
1130 return &inst{0x57, 0x0, 0x0, 0x0, -1920, 0x44}
1131 case AVSSUBUVX:
1132 return &inst{0x57, 0x4, 0x0, 0x0, -1920, 0x44}
1133 case AVSUBVV:
1134 return &inst{0x57, 0x0, 0x0, 0x0, 128, 0x4}
1135 case AVSUBVX:
1136 return &inst{0x57, 0x4, 0x0, 0x0, 128, 0x4}
1137 case AVSUXEI16V:
1138 return &inst{0x27, 0x5, 0x0, 0x0, 64, 0x2}
1139 case AVSUXEI32V:
1140 return &inst{0x27, 0x6, 0x0, 0x0, 64, 0x2}
1141 case AVSUXEI64V:
1142 return &inst{0x27, 0x7, 0x0, 0x0, 64, 0x2}
1143 case AVSUXEI8V:
1144 return &inst{0x27, 0x0, 0x0, 0x0, 64, 0x2}
1145 case AVWADDVV:
1146 return &inst{0x57, 0x2, 0x0, 0x0, -960, 0x62}
1147 case AVWADDVX:
1148 return &inst{0x57, 0x6, 0x0, 0x0, -960, 0x62}
1149 case AVWADDWV:
1150 return &inst{0x57, 0x2, 0x0, 0x0, -704, 0x6a}
1151 case AVWADDWX:
1152 return &inst{0x57, 0x6, 0x0, 0x0, -704, 0x6a}
1153 case AVWADDUVV:
1154 return &inst{0x57, 0x2, 0x0, 0x0, -1024, 0x60}
1155 case AVWADDUVX:
1156 return &inst{0x57, 0x6, 0x0, 0x0, -1024, 0x60}
1157 case AVWADDUWV:
1158 return &inst{0x57, 0x2, 0x0, 0x0, -768, 0x68}
1159 case AVWADDUWX:
1160 return &inst{0x57, 0x6, 0x0, 0x0, -768, 0x68}
1161 case AVWMACCVV:
1162 return &inst{0x57, 0x2, 0x0, 0x0, -192, 0x7a}
1163 case AVWMACCVX:
1164 return &inst{0x57, 0x6, 0x0, 0x0, -192, 0x7a}
1165 case AVWMACCSUVV:
1166 return &inst{0x57, 0x2, 0x0, 0x0, -64, 0x7e}
1167 case AVWMACCSUVX:
1168 return &inst{0x57, 0x6, 0x0, 0x0, -64, 0x7e}
1169 case AVWMACCUVV:
1170 return &inst{0x57, 0x2, 0x0, 0x0, -256, 0x78}
1171 case AVWMACCUVX:
1172 return &inst{0x57, 0x6, 0x0, 0x0, -256, 0x78}
1173 case AVWMACCUSVX:
1174 return &inst{0x57, 0x6, 0x0, 0x0, -128, 0x7c}
1175 case AVWMULVV:
1176 return &inst{0x57, 0x2, 0x0, 0x0, -320, 0x76}
1177 case AVWMULVX:
1178 return &inst{0x57, 0x6, 0x0, 0x0, -320, 0x76}
1179 case AVWMULSUVV:
1180 return &inst{0x57, 0x2, 0x0, 0x0, -384, 0x74}
1181 case AVWMULSUVX:
1182 return &inst{0x57, 0x6, 0x0, 0x0, -384, 0x74}
1183 case AVWMULUVV:
1184 return &inst{0x57, 0x2, 0x0, 0x0, -512, 0x70}
1185 case AVWMULUVX:
1186 return &inst{0x57, 0x6, 0x0, 0x0, -512, 0x70}
1187 case AVWREDSUMVS:
1188 return &inst{0x57, 0x0, 0x0, 0x0, -960, 0x62}
1189 case AVWREDSUMUVS:
1190 return &inst{0x57, 0x0, 0x0, 0x0, -1024, 0x60}
1191 case AVWSUBVV:
1192 return &inst{0x57, 0x2, 0x0, 0x0, -832, 0x66}
1193 case AVWSUBVX:
1194 return &inst{0x57, 0x6, 0x0, 0x0, -832, 0x66}
1195 case AVWSUBWV:
1196 return &inst{0x57, 0x2, 0x0, 0x0, -576, 0x6e}
1197 case AVWSUBWX:
1198 return &inst{0x57, 0x6, 0x0, 0x0, -576, 0x6e}
1199 case AVWSUBUVV:
1200 return &inst{0x57, 0x2, 0x0, 0x0, -896, 0x64}
1201 case AVWSUBUVX:
1202 return &inst{0x57, 0x6, 0x0, 0x0, -896, 0x64}
1203 case AVWSUBUWV:
1204 return &inst{0x57, 0x2, 0x0, 0x0, -640, 0x6c}
1205 case AVWSUBUWX:
1206 return &inst{0x57, 0x6, 0x0, 0x0, -640, 0x6c}
1207 case AVXORVI:
1208 return &inst{0x57, 0x3, 0x0, 0x0, 704, 0x16}
1209 case AVXORVV:
1210 return &inst{0x57, 0x0, 0x0, 0x0, 704, 0x16}
1211 case AVXORVX:
1212 return &inst{0x57, 0x4, 0x0, 0x0, 704, 0x16}
1213 case AVZEXTVF2:
1214 return &inst{0x57, 0x2, 0x6, 0x0, 1152, 0x24}
1215 case AVZEXTVF4:
1216 return &inst{0x57, 0x2, 0x4, 0x0, 1152, 0x24}
1217 case AVZEXTVF8:
1218 return &inst{0x57, 0x2, 0x2, 0x0, 1152, 0x24}
1219 case AWFI:
1220 return &inst{0x73, 0x0, 0x0, 0x5, 261, 0x8}
1221 case AXNOR:
1222 return &inst{0x33, 0x4, 0x0, 0x0, 1024, 0x20}
1223 case AXOR:
1224 return &inst{0x33, 0x4, 0x0, 0x0, 0, 0x0}
1225 case AXORI:
1226 return &inst{0x13, 0x4, 0x0, 0x0, 0, 0x0}
1227 case AZEXTH:
1228 return &inst{0x3b, 0x4, 0x0, 0x0, 128, 0x4}
1229 }
1230 return nil
1231 }
1232
View as plain text