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
1233 var csrs = map[uint16]string{
1234 0x1: "FFLAGS",
1235 0x2: "FRM",
1236 0x3: "FCSR",
1237 0x7: "UTVT",
1238 0x8: "VSTART",
1239 0x9: "VXSAT",
1240 0xa: "VXRM",
1241 0xf: "VCSR",
1242 0x11: "SSP",
1243 0x15: "SEED",
1244 0x17: "JVT",
1245 0x45: "UNXTI",
1246 0x46: "UINTSTATUS",
1247 0x48: "USCRATCHCSW",
1248 0x49: "USCRATCHCSWL",
1249 0x100: "SSTATUS",
1250 0x102: "SEDELEG",
1251 0x103: "SIDELEG",
1252 0x104: "SIE",
1253 0x105: "STVEC",
1254 0x106: "SCOUNTEREN",
1255 0x107: "STVT",
1256 0x10a: "SENVCFG",
1257 0x10c: "SSTATEEN0",
1258 0x10d: "SSTATEEN1",
1259 0x10e: "SSTATEEN2",
1260 0x10f: "SSTATEEN3",
1261 0x120: "SCOUNTINHIBIT",
1262 0x140: "SSCRATCH",
1263 0x141: "SEPC",
1264 0x142: "SCAUSE",
1265 0x143: "STVAL",
1266 0x144: "SIP",
1267 0x145: "SNXTI",
1268 0x146: "SINTSTATUS",
1269 0x148: "SSCRATCHCSW",
1270 0x149: "SSCRATCHCSWL",
1271 0x14d: "STIMECMP",
1272 0x14e: "SCTRCTL",
1273 0x14f: "SCTRSTATUS",
1274 0x150: "SISELECT",
1275 0x151: "SIREG",
1276 0x152: "SIREG2",
1277 0x153: "SIREG3",
1278 0x155: "SIREG4",
1279 0x156: "SIREG5",
1280 0x157: "SIREG6",
1281 0x15c: "STOPEI",
1282 0x15f: "SCTRDEPTH",
1283 0x180: "SATP",
1284 0x181: "SRMCFG",
1285 0x200: "VSSTATUS",
1286 0x204: "VSIE",
1287 0x205: "VSTVEC",
1288 0x240: "VSSCRATCH",
1289 0x241: "VSEPC",
1290 0x242: "VSCAUSE",
1291 0x243: "VSTVAL",
1292 0x244: "VSIP",
1293 0x24d: "VSTIMECMP",
1294 0x24e: "VSCTRCTL",
1295 0x250: "VSISELECT",
1296 0x251: "VSIREG",
1297 0x252: "VSIREG2",
1298 0x253: "VSIREG3",
1299 0x255: "VSIREG4",
1300 0x256: "VSIREG5",
1301 0x257: "VSIREG6",
1302 0x25c: "VSTOPEI",
1303 0x280: "VSATP",
1304 0x300: "MSTATUS",
1305 0x301: "MISA",
1306 0x302: "MEDELEG",
1307 0x303: "MIDELEG",
1308 0x304: "MIE",
1309 0x305: "MTVEC",
1310 0x306: "MCOUNTEREN",
1311 0x307: "MTVT",
1312 0x308: "MVIEN",
1313 0x309: "MVIP",
1314 0x30a: "MENVCFG",
1315 0x30c: "MSTATEEN0",
1316 0x30d: "MSTATEEN1",
1317 0x30e: "MSTATEEN2",
1318 0x30f: "MSTATEEN3",
1319 0x320: "MCOUNTINHIBIT",
1320 0x321: "MCYCLECFG",
1321 0x322: "MINSTRETCFG",
1322 0x323: "MHPMEVENT3",
1323 0x324: "MHPMEVENT4",
1324 0x325: "MHPMEVENT5",
1325 0x326: "MHPMEVENT6",
1326 0x327: "MHPMEVENT7",
1327 0x328: "MHPMEVENT8",
1328 0x329: "MHPMEVENT9",
1329 0x32a: "MHPMEVENT10",
1330 0x32b: "MHPMEVENT11",
1331 0x32c: "MHPMEVENT12",
1332 0x32d: "MHPMEVENT13",
1333 0x32e: "MHPMEVENT14",
1334 0x32f: "MHPMEVENT15",
1335 0x330: "MHPMEVENT16",
1336 0x331: "MHPMEVENT17",
1337 0x332: "MHPMEVENT18",
1338 0x333: "MHPMEVENT19",
1339 0x334: "MHPMEVENT20",
1340 0x335: "MHPMEVENT21",
1341 0x336: "MHPMEVENT22",
1342 0x337: "MHPMEVENT23",
1343 0x338: "MHPMEVENT24",
1344 0x339: "MHPMEVENT25",
1345 0x33a: "MHPMEVENT26",
1346 0x33b: "MHPMEVENT27",
1347 0x33c: "MHPMEVENT28",
1348 0x33d: "MHPMEVENT29",
1349 0x33e: "MHPMEVENT30",
1350 0x33f: "MHPMEVENT31",
1351 0x340: "MSCRATCH",
1352 0x341: "MEPC",
1353 0x342: "MCAUSE",
1354 0x343: "MTVAL",
1355 0x344: "MIP",
1356 0x345: "MNXTI",
1357 0x346: "MINTSTATUS",
1358 0x348: "MSCRATCHCSW",
1359 0x349: "MSCRATCHCSWL",
1360 0x34a: "MTINST",
1361 0x34b: "MTVAL2",
1362 0x34e: "MCTRCTL",
1363 0x350: "MISELECT",
1364 0x351: "MIREG",
1365 0x352: "MIREG2",
1366 0x353: "MIREG3",
1367 0x355: "MIREG4",
1368 0x356: "MIREG5",
1369 0x357: "MIREG6",
1370 0x35c: "MTOPEI",
1371 0x3a0: "PMPCFG0",
1372 0x3a1: "PMPCFG1",
1373 0x3a2: "PMPCFG2",
1374 0x3a3: "PMPCFG3",
1375 0x3a4: "PMPCFG4",
1376 0x3a5: "PMPCFG5",
1377 0x3a6: "PMPCFG6",
1378 0x3a7: "PMPCFG7",
1379 0x3a8: "PMPCFG8",
1380 0x3a9: "PMPCFG9",
1381 0x3aa: "PMPCFG10",
1382 0x3ab: "PMPCFG11",
1383 0x3ac: "PMPCFG12",
1384 0x3ad: "PMPCFG13",
1385 0x3ae: "PMPCFG14",
1386 0x3af: "PMPCFG15",
1387 0x3b0: "PMPADDR0",
1388 0x3b1: "PMPADDR1",
1389 0x3b2: "PMPADDR2",
1390 0x3b3: "PMPADDR3",
1391 0x3b4: "PMPADDR4",
1392 0x3b5: "PMPADDR5",
1393 0x3b6: "PMPADDR6",
1394 0x3b7: "PMPADDR7",
1395 0x3b8: "PMPADDR8",
1396 0x3b9: "PMPADDR9",
1397 0x3ba: "PMPADDR10",
1398 0x3bb: "PMPADDR11",
1399 0x3bc: "PMPADDR12",
1400 0x3bd: "PMPADDR13",
1401 0x3be: "PMPADDR14",
1402 0x3bf: "PMPADDR15",
1403 0x3c0: "PMPADDR16",
1404 0x3c1: "PMPADDR17",
1405 0x3c2: "PMPADDR18",
1406 0x3c3: "PMPADDR19",
1407 0x3c4: "PMPADDR20",
1408 0x3c5: "PMPADDR21",
1409 0x3c6: "PMPADDR22",
1410 0x3c7: "PMPADDR23",
1411 0x3c8: "PMPADDR24",
1412 0x3c9: "PMPADDR25",
1413 0x3ca: "PMPADDR26",
1414 0x3cb: "PMPADDR27",
1415 0x3cc: "PMPADDR28",
1416 0x3cd: "PMPADDR29",
1417 0x3ce: "PMPADDR30",
1418 0x3cf: "PMPADDR31",
1419 0x3d0: "PMPADDR32",
1420 0x3d1: "PMPADDR33",
1421 0x3d2: "PMPADDR34",
1422 0x3d3: "PMPADDR35",
1423 0x3d4: "PMPADDR36",
1424 0x3d5: "PMPADDR37",
1425 0x3d6: "PMPADDR38",
1426 0x3d7: "PMPADDR39",
1427 0x3d8: "PMPADDR40",
1428 0x3d9: "PMPADDR41",
1429 0x3da: "PMPADDR42",
1430 0x3db: "PMPADDR43",
1431 0x3dc: "PMPADDR44",
1432 0x3dd: "PMPADDR45",
1433 0x3de: "PMPADDR46",
1434 0x3df: "PMPADDR47",
1435 0x3e0: "PMPADDR48",
1436 0x3e1: "PMPADDR49",
1437 0x3e2: "PMPADDR50",
1438 0x3e3: "PMPADDR51",
1439 0x3e4: "PMPADDR52",
1440 0x3e5: "PMPADDR53",
1441 0x3e6: "PMPADDR54",
1442 0x3e7: "PMPADDR55",
1443 0x3e8: "PMPADDR56",
1444 0x3e9: "PMPADDR57",
1445 0x3ea: "PMPADDR58",
1446 0x3eb: "PMPADDR59",
1447 0x3ec: "PMPADDR60",
1448 0x3ed: "PMPADDR61",
1449 0x3ee: "PMPADDR62",
1450 0x3ef: "PMPADDR63",
1451 0x5a8: "SCONTEXT",
1452 0x600: "HSTATUS",
1453 0x602: "HEDELEG",
1454 0x603: "HIDELEG",
1455 0x604: "HIE",
1456 0x605: "HTIMEDELTA",
1457 0x606: "HCOUNTEREN",
1458 0x607: "HGEIE",
1459 0x608: "HVIEN",
1460 0x609: "HVICTL",
1461 0x60a: "HENVCFG",
1462 0x60c: "HSTATEEN0",
1463 0x60d: "HSTATEEN1",
1464 0x60e: "HSTATEEN2",
1465 0x60f: "HSTATEEN3",
1466 0x643: "HTVAL",
1467 0x644: "HIP",
1468 0x645: "HVIP",
1469 0x646: "HVIPRIO1",
1470 0x647: "HVIPRIO2",
1471 0x64a: "HTINST",
1472 0x680: "HGATP",
1473 0x6a8: "HCONTEXT",
1474 0x747: "MSECCFG",
1475 0x7a0: "TSELECT",
1476 0x7a1: "TDATA1",
1477 0x7a2: "TDATA2",
1478 0x7a3: "TDATA3",
1479 0x7a4: "TINFO",
1480 0x7a5: "TCONTROL",
1481 0x7a8: "MCONTEXT",
1482 0x7aa: "MSCONTEXT",
1483 0x7b0: "DCSR",
1484 0x7b1: "DPC",
1485 0x7b2: "DSCRATCH0",
1486 0x7b3: "DSCRATCH1",
1487 0xb00: "MCYCLE",
1488 0xb02: "MINSTRET",
1489 0xb03: "MHPMCOUNTER3",
1490 0xb04: "MHPMCOUNTER4",
1491 0xb05: "MHPMCOUNTER5",
1492 0xb06: "MHPMCOUNTER6",
1493 0xb07: "MHPMCOUNTER7",
1494 0xb08: "MHPMCOUNTER8",
1495 0xb09: "MHPMCOUNTER9",
1496 0xb0a: "MHPMCOUNTER10",
1497 0xb0b: "MHPMCOUNTER11",
1498 0xb0c: "MHPMCOUNTER12",
1499 0xb0d: "MHPMCOUNTER13",
1500 0xb0e: "MHPMCOUNTER14",
1501 0xb0f: "MHPMCOUNTER15",
1502 0xb10: "MHPMCOUNTER16",
1503 0xb11: "MHPMCOUNTER17",
1504 0xb12: "MHPMCOUNTER18",
1505 0xb13: "MHPMCOUNTER19",
1506 0xb14: "MHPMCOUNTER20",
1507 0xb15: "MHPMCOUNTER21",
1508 0xb16: "MHPMCOUNTER22",
1509 0xb17: "MHPMCOUNTER23",
1510 0xb18: "MHPMCOUNTER24",
1511 0xb19: "MHPMCOUNTER25",
1512 0xb1a: "MHPMCOUNTER26",
1513 0xb1b: "MHPMCOUNTER27",
1514 0xb1c: "MHPMCOUNTER28",
1515 0xb1d: "MHPMCOUNTER29",
1516 0xb1e: "MHPMCOUNTER30",
1517 0xb1f: "MHPMCOUNTER31",
1518 0xc00: "CYCLE",
1519 0xc01: "TIME",
1520 0xc02: "INSTRET",
1521 0xc03: "HPMCOUNTER3",
1522 0xc04: "HPMCOUNTER4",
1523 0xc05: "HPMCOUNTER5",
1524 0xc06: "HPMCOUNTER6",
1525 0xc07: "HPMCOUNTER7",
1526 0xc08: "HPMCOUNTER8",
1527 0xc09: "HPMCOUNTER9",
1528 0xc0a: "HPMCOUNTER10",
1529 0xc0b: "HPMCOUNTER11",
1530 0xc0c: "HPMCOUNTER12",
1531 0xc0d: "HPMCOUNTER13",
1532 0xc0e: "HPMCOUNTER14",
1533 0xc0f: "HPMCOUNTER15",
1534 0xc10: "HPMCOUNTER16",
1535 0xc11: "HPMCOUNTER17",
1536 0xc12: "HPMCOUNTER18",
1537 0xc13: "HPMCOUNTER19",
1538 0xc14: "HPMCOUNTER20",
1539 0xc15: "HPMCOUNTER21",
1540 0xc16: "HPMCOUNTER22",
1541 0xc17: "HPMCOUNTER23",
1542 0xc18: "HPMCOUNTER24",
1543 0xc19: "HPMCOUNTER25",
1544 0xc1a: "HPMCOUNTER26",
1545 0xc1b: "HPMCOUNTER27",
1546 0xc1c: "HPMCOUNTER28",
1547 0xc1d: "HPMCOUNTER29",
1548 0xc1e: "HPMCOUNTER30",
1549 0xc1f: "HPMCOUNTER31",
1550 0xc20: "VL",
1551 0xc21: "VTYPE",
1552 0xc22: "VLENB",
1553 0xda0: "SCOUNTOVF",
1554 0xdb0: "STOPI",
1555 0xe12: "HGEIP",
1556 0xeb0: "VSTOPI",
1557 0xf11: "MVENDORID",
1558 0xf12: "MARCHID",
1559 0xf13: "MIMPID",
1560 0xf14: "MHARTID",
1561 0xf15: "MCONFIGPTR",
1562 0xfb0: "MTOPI",
1563 }
1564
View as plain text