10 #ifndef RISCV_CSR_ENCODING_H
11 #define RISCV_CSR_ENCODING_H
13 #define MSTATUS_UIE 0x00000001
14 #define MSTATUS_SIE 0x00000002
15 #define MSTATUS_HIE 0x00000004
16 #define MSTATUS_MIE 0x00000008
17 #define MSTATUS_UPIE 0x00000010
18 #define MSTATUS_SPIE 0x00000020
19 #define MSTATUS_UBE 0x00000040
20 #define MSTATUS_MPIE 0x00000080
21 #define MSTATUS_SPP 0x00000100
22 #define MSTATUS_VS 0x00000600
23 #define MSTATUS_MPP 0x00001800
24 #define MSTATUS_FS 0x00006000
25 #define MSTATUS_XS 0x00018000
26 #define MSTATUS_MPRV 0x00020000
27 #define MSTATUS_SUM 0x00040000
28 #define MSTATUS_MXR 0x00080000
29 #define MSTATUS_TVM 0x00100000
30 #define MSTATUS_TW 0x00200000
31 #define MSTATUS_TSR 0x00400000
32 #define MSTATUS32_SD 0x80000000
33 #define MSTATUS_UXL 0x0000000300000000
34 #define MSTATUS_SXL 0x0000000C00000000
35 #define MSTATUS_SBE 0x0000001000000000
36 #define MSTATUS_MBE 0x0000002000000000
37 #define MSTATUS_GVA 0x0000004000000000
38 #define MSTATUS_MPV 0x0000008000000000
39 #define MSTATUS64_SD 0x8000000000000000
41 #define MSTATUSH_SBE 0x00000010
42 #define MSTATUSH_MBE 0x00000020
43 #define MSTATUSH_GVA 0x00000040
44 #define MSTATUSH_MPV 0x00000080
46 #define SSTATUS_UIE 0x00000001
47 #define SSTATUS_SIE 0x00000002
48 #define SSTATUS_UPIE 0x00000010
49 #define SSTATUS_SPIE 0x00000020
50 #define SSTATUS_UBE 0x00000040
51 #define SSTATUS_SPP 0x00000100
52 #define SSTATUS_VS 0x00000600
53 #define SSTATUS_FS 0x00006000
54 #define SSTATUS_XS 0x00018000
55 #define SSTATUS_SUM 0x00040000
56 #define SSTATUS_MXR 0x00080000
57 #define SSTATUS32_SD 0x80000000
58 #define SSTATUS_UXL 0x0000000300000000
59 #define SSTATUS64_SD 0x8000000000000000
61 #define HSTATUS_VSXL 0x300000000
62 #define HSTATUS_VTSR 0x00400000
63 #define HSTATUS_VTW 0x00200000
64 #define HSTATUS_VTVM 0x00100000
65 #define HSTATUS_VGEIN 0x0003f000
66 #define HSTATUS_HU 0x00000200
67 #define HSTATUS_SPVP 0x00000100
68 #define HSTATUS_SPV 0x00000080
69 #define HSTATUS_GVA 0x00000040
70 #define HSTATUS_VSBE 0x00000020
72 #define USTATUS_UIE 0x00000001
73 #define USTATUS_UPIE 0x00000010
75 #define DCSR_XDEBUGVER (3U<<30)
76 #define DCSR_NDRESET (1<<29)
77 #define DCSR_FULLRESET (1<<28)
78 #define DCSR_EBREAKM (1<<15)
79 #define DCSR_EBREAKH (1<<14)
80 #define DCSR_EBREAKS (1<<13)
81 #define DCSR_EBREAKU (1<<12)
82 #define DCSR_STOPCYCLE (1<<10)
83 #define DCSR_STOPTIME (1<<9)
84 #define DCSR_CAUSE (7<<6)
85 #define DCSR_DEBUGINT (1<<5)
86 #define DCSR_HALT (1<<3)
87 #define DCSR_STEP (1<<2)
88 #define DCSR_PRV (3<<0)
90 #define DCSR_CAUSE_NONE 0
91 #define DCSR_CAUSE_SWBP 1
92 #define DCSR_CAUSE_HWBP 2
93 #define DCSR_CAUSE_DEBUGINT 3
94 #define DCSR_CAUSE_STEP 4
95 #define DCSR_CAUSE_HALT 5
96 #define DCSR_CAUSE_GROUP 6
98 #define MCONTROL_TYPE(xlen) (0xfULL<<((xlen)-4))
99 #define MCONTROL_DMODE(xlen) (1ULL<<((xlen)-5))
100 #define MCONTROL_MASKMAX(xlen) (0x3fULL<<((xlen)-11))
102 #define MCONTROL_SELECT (1<<19)
103 #define MCONTROL_TIMING (1<<18)
104 #define MCONTROL_ACTION (0x3f<<12)
105 #define MCONTROL_CHAIN (1<<11)
106 #define MCONTROL_MATCH (0xf<<7)
107 #define MCONTROL_M (1<<6)
108 #define MCONTROL_H (1<<5)
109 #define MCONTROL_S (1<<4)
110 #define MCONTROL_U (1<<3)
111 #define MCONTROL_EXECUTE (1<<2)
112 #define MCONTROL_STORE (1<<1)
113 #define MCONTROL_LOAD (1<<0)
115 #define MCONTROL_TYPE_NONE 0
116 #define MCONTROL_TYPE_MATCH 2
118 #define MCONTROL_ACTION_DEBUG_EXCEPTION 0
119 #define MCONTROL_ACTION_DEBUG_MODE 1
120 #define MCONTROL_ACTION_TRACE_START 2
121 #define MCONTROL_ACTION_TRACE_STOP 3
122 #define MCONTROL_ACTION_TRACE_EMIT 4
124 #define MCONTROL_MATCH_EQUAL 0
125 #define MCONTROL_MATCH_NAPOT 1
126 #define MCONTROL_MATCH_GE 2
127 #define MCONTROL_MATCH_LT 3
128 #define MCONTROL_MATCH_MASK_LOW 4
129 #define MCONTROL_MATCH_MASK_HIGH 5
131 #define MIP_USIP (1 << IRQ_U_SOFT)
132 #define MIP_SSIP (1 << IRQ_S_SOFT)
133 #define MIP_VSSIP (1 << IRQ_VS_SOFT)
134 #define MIP_MSIP (1 << IRQ_M_SOFT)
135 #define MIP_UTIP (1 << IRQ_U_TIMER)
136 #define MIP_STIP (1 << IRQ_S_TIMER)
137 #define MIP_VSTIP (1 << IRQ_VS_TIMER)
138 #define MIP_MTIP (1 << IRQ_M_TIMER)
139 #define MIP_UEIP (1 << IRQ_U_EXT)
140 #define MIP_SEIP (1 << IRQ_S_EXT)
141 #define MIP_VSEIP (1 << IRQ_VS_EXT)
142 #define MIP_MEIP (1 << IRQ_M_EXT)
143 #define MIP_SGEIP (1 << IRQ_S_GEXT)
144 #define MIP_LCOFIP (1 << IRQ_LCOF)
146 #define MIP_S_MASK (MIP_SSIP | MIP_STIP | MIP_SEIP)
147 #define MIP_VS_MASK (MIP_VSSIP | MIP_VSTIP | MIP_VSEIP)
148 #define MIP_HS_MASK (MIP_VS_MASK | MIP_SGEIP)
150 #define MIDELEG_FORCED_MASK MIP_HS_MASK
152 #define SIP_SSIP MIP_SSIP
153 #define SIP_STIP MIP_STIP
155 #define MENVCFG_FIOM 0x00000001
156 #define MENVCFG_CBIE 0x00000030
157 #define MENVCFG_CBCFE 0x00000040
158 #define MENVCFG_CBZE 0x00000080
159 #define MENVCFG_PBMTE 0x4000000000000000
160 #define MENVCFG_STCE 0x8000000000000000
162 #define MENVCFGH_PBMTE 0x40000000
163 #define MENVCFGH_STCE 0x80000000
165 #define MSTATEEN0_CS 0x00000001
166 #define MSTATEEN0_FCSR 0x00000002
167 #define MSTATEEN0_HCONTEXT 0x0200000000000000
168 #define MSTATEEN0_HENVCFG 0x4000000000000000
169 #define MSTATEEN_HSTATEEN 0x8000000000000000
171 #define MSTATEEN0H_HCONTEXT 0x02000000
172 #define MSTATEEN0H_HENVCFG 0x40000000
173 #define MSTATEENH_HSTATEEN 0x80000000
175 #define MHPMEVENT_VUINH 0x0400000000000000
176 #define MHPMEVENT_VSINH 0x0800000000000000
177 #define MHPMEVENT_UINH 0x1000000000000000
178 #define MHPMEVENT_SINH 0x2000000000000000
179 #define MHPMEVENT_MINH 0x4000000000000000
180 #define MHPMEVENT_OF 0x8000000000000000
182 #define MHPMEVENTH_VUINH 0x04000000
183 #define MHPMEVENTH_VSINH 0x08000000
184 #define MHPMEVENTH_UINH 0x10000000
185 #define MHPMEVENTH_SINH 0x20000000
186 #define MHPMEVENTH_MINH 0x40000000
187 #define MHPMEVENTH_OF 0x80000000
189 #define HENVCFG_FIOM 0x00000001
190 #define HENVCFG_CBIE 0x00000030
191 #define HENVCFG_CBCFE 0x00000040
192 #define HENVCFG_CBZE 0x00000080
193 #define HENVCFG_PBMTE 0x4000000000000000
194 #define HENVCFG_STCE 0x8000000000000000
196 #define HENVCFGH_PBMTE 0x40000000
197 #define HENVCFGH_STCE 0x80000000
199 #define HSTATEEN0_CS 0x00000001
200 #define HSTATEEN0_FCSR 0x00000002
201 #define HSTATEEN0_SCONTEXT 0x0200000000000000
202 #define HSTATEEN0_SENVCFG 0x4000000000000000
203 #define HSTATEEN_SSTATEEN 0x8000000000000000
205 #define HSTATEEN0H_SCONTEXT 0x02000000
206 #define HSTATEEN0H_SENVCFG 0x40000000
207 #define HSTATEENH_SSTATEEN 0x80000000
209 #define SENVCFG_FIOM 0x00000001
210 #define SENVCFG_CBIE 0x00000030
211 #define SENVCFG_CBCFE 0x00000040
212 #define SENVCFG_CBZE 0x00000080
214 #define SSTATEEN0_CS 0x00000001
215 #define SSTATEEN0_FCSR 0x00000002
217 #define MSECCFG_MML 0x00000001
218 #define MSECCFG_MMWP 0x00000002
219 #define MSECCFG_RLB 0x00000004
220 #define MSECCFG_USEED 0x00000100
221 #define MSECCFG_SSEED 0x00000200
227 #define PRV_HS (PRV_S + 1)
229 #define SATP32_MODE 0x80000000
230 #define SATP32_ASID 0x7FC00000
231 #define SATP32_PPN 0x003FFFFF
232 #define SATP64_MODE 0xF000000000000000
233 #define SATP64_ASID 0x0FFFF00000000000
234 #define SATP64_PPN 0x00000FFFFFFFFFFF
236 #define SATP_MODE_OFF 0
237 #define SATP_MODE_SV32 1
238 #define SATP_MODE_SV39 8
239 #define SATP_MODE_SV48 9
240 #define SATP_MODE_SV57 10
241 #define SATP_MODE_SV64 11
243 #define HGATP32_MODE 0x80000000
244 #define HGATP32_VMID 0x1FC00000
245 #define HGATP32_PPN 0x003FFFFF
247 #define HGATP64_MODE 0xF000000000000000
248 #define HGATP64_VMID 0x03FFF00000000000
249 #define HGATP64_PPN 0x00000FFFFFFFFFFF
251 #define HGATP_MODE_OFF 0
252 #define HGATP_MODE_SV32X4 1
253 #define HGATP_MODE_SV39X4 8
254 #define HGATP_MODE_SV48X4 9
255 #define HGATP_MODE_SV57X4 10
266 #define PMP_NAPOT 0x18
270 #define IRQ_VS_SOFT 2
272 #define IRQ_U_TIMER 4
273 #define IRQ_S_TIMER 5
274 #define IRQ_VS_TIMER 6
275 #define IRQ_M_TIMER 7
278 #define IRQ_VS_EXT 10
280 #define IRQ_S_GEXT 12
293 #define PTE_SOFT 0x300
294 #define PTE_RSVD 0x1FC0000000000000
295 #define PTE_PBMT 0x6000000000000000
296 #define PTE_N 0x8000000000000000
297 #define PTE_ATTR 0xFFC0000000000000
299 #define PTE_PPN_SHIFT 10
301 #define PTE_TABLE(PTE) (((PTE) & (PTE_V | PTE_R | PTE_W | PTE_X)) == PTE_V)
305 #if __riscv_xlen == 64
306 # define MSTATUS_SD MSTATUS64_SD
307 # define SSTATUS_SD SSTATUS64_SD
308 # define RISCV_PGLEVEL_BITS 9
309 # define SATP_MODE SATP64_MODE
311 # define MSTATUS_SD MSTATUS32_SD
312 # define SSTATUS_SD SSTATUS32_SD
313 # define RISCV_PGLEVEL_BITS 10
314 # define SATP_MODE SATP32_MODE
316 #define RISCV_PGSHIFT 12
317 #define RISCV_PGSIZE (1 << RISCV_PGSHIFT)
319 #ifndef __ASSEMBLER__
323 #define read_csr(reg) ({ unsigned long __tmp; \
324 asm volatile ("csrr %0, " #reg : "=r"(__tmp)); \
327 #define write_csr(reg, val) ({ \
328 asm volatile ("csrw " #reg ", %0" :: "rK"(val)); })
330 #define swap_csr(reg, val) ({ unsigned long __tmp; \
331 asm volatile ("csrrw %0, " #reg ", %1" : "=r"(__tmp) : "rK"(val)); \
334 #define set_csr(reg, bit) ({ unsigned long __tmp; \
335 asm volatile ("csrrs %0, " #reg ", %1" : "=r"(__tmp) : "rK"(bit)); \
338 #define clear_csr(reg, bit) ({ unsigned long __tmp; \
339 asm volatile ("csrrc %0, " #reg ", %1" : "=r"(__tmp) : "rK"(bit)); \
342 #define rdtime() read_csr(time)
343 #define rdcycle() read_csr(cycle)
344 #define rdinstret() read_csr(instret)
355 #ifndef RISCV_ENCODING_H
356 #define RISCV_ENCODING_H
357 #define MATCH_ADD 0x33
358 #define MASK_ADD 0xfe00707f
359 #define MATCH_ADD16 0x40000077
360 #define MASK_ADD16 0xfe00707f
361 #define MATCH_ADD32 0x40002077
362 #define MASK_ADD32 0xfe00707f
363 #define MATCH_ADD64 0xc0001077
364 #define MASK_ADD64 0xfe00707f
365 #define MATCH_ADD8 0x48000077
366 #define MASK_ADD8 0xfe00707f
367 #define MATCH_ADD_UW 0x800003b
368 #define MASK_ADD_UW 0xfe00707f
369 #define MATCH_ADDD 0x7b
370 #define MASK_ADDD 0xfe00707f
371 #define MATCH_ADDI 0x13
372 #define MASK_ADDI 0x707f
373 #define MATCH_ADDID 0x5b
374 #define MASK_ADDID 0x707f
375 #define MATCH_ADDIW 0x1b
376 #define MASK_ADDIW 0x707f
377 #define MATCH_ADDW 0x3b
378 #define MASK_ADDW 0xfe00707f
379 #define MATCH_AES32DSI 0x2a000033
380 #define MASK_AES32DSI 0x3e00707f
381 #define MATCH_AES32DSMI 0x2e000033
382 #define MASK_AES32DSMI 0x3e00707f
383 #define MATCH_AES32ESI 0x22000033
384 #define MASK_AES32ESI 0x3e00707f
385 #define MATCH_AES32ESMI 0x26000033
386 #define MASK_AES32ESMI 0x3e00707f
387 #define MATCH_AES64DS 0x3a000033
388 #define MASK_AES64DS 0xfe00707f
389 #define MATCH_AES64DSM 0x3e000033
390 #define MASK_AES64DSM 0xfe00707f
391 #define MATCH_AES64ES 0x32000033
392 #define MASK_AES64ES 0xfe00707f
393 #define MATCH_AES64ESM 0x36000033
394 #define MASK_AES64ESM 0xfe00707f
395 #define MATCH_AES64IM 0x30001013
396 #define MASK_AES64IM 0xfff0707f
397 #define MATCH_AES64KS1I 0x31001013
398 #define MASK_AES64KS1I 0xff00707f
399 #define MATCH_AES64KS2 0x7e000033
400 #define MASK_AES64KS2 0xfe00707f
401 #define MATCH_AMOADD_D 0x302f
402 #define MASK_AMOADD_D 0xf800707f
403 #define MATCH_AMOADD_W 0x202f
404 #define MASK_AMOADD_W 0xf800707f
405 #define MATCH_AMOAND_D 0x6000302f
406 #define MASK_AMOAND_D 0xf800707f
407 #define MATCH_AMOAND_W 0x6000202f
408 #define MASK_AMOAND_W 0xf800707f
409 #define MATCH_AMOMAX_D 0xa000302f
410 #define MASK_AMOMAX_D 0xf800707f
411 #define MATCH_AMOMAX_W 0xa000202f
412 #define MASK_AMOMAX_W 0xf800707f
413 #define MATCH_AMOMAXU_D 0xe000302f
414 #define MASK_AMOMAXU_D 0xf800707f
415 #define MATCH_AMOMAXU_W 0xe000202f
416 #define MASK_AMOMAXU_W 0xf800707f
417 #define MATCH_AMOMIN_D 0x8000302f
418 #define MASK_AMOMIN_D 0xf800707f
419 #define MATCH_AMOMIN_W 0x8000202f
420 #define MASK_AMOMIN_W 0xf800707f
421 #define MATCH_AMOMINU_D 0xc000302f
422 #define MASK_AMOMINU_D 0xf800707f
423 #define MATCH_AMOMINU_W 0xc000202f
424 #define MASK_AMOMINU_W 0xf800707f
425 #define MATCH_AMOOR_D 0x4000302f
426 #define MASK_AMOOR_D 0xf800707f
427 #define MATCH_AMOOR_W 0x4000202f
428 #define MASK_AMOOR_W 0xf800707f
429 #define MATCH_AMOSWAP_D 0x800302f
430 #define MASK_AMOSWAP_D 0xf800707f
431 #define MATCH_AMOSWAP_W 0x800202f
432 #define MASK_AMOSWAP_W 0xf800707f
433 #define MATCH_AMOXOR_D 0x2000302f
434 #define MASK_AMOXOR_D 0xf800707f
435 #define MATCH_AMOXOR_W 0x2000202f
436 #define MASK_AMOXOR_W 0xf800707f
437 #define MATCH_AND 0x7033
438 #define MASK_AND 0xfe00707f
439 #define MATCH_ANDI 0x7013
440 #define MASK_ANDI 0x707f
441 #define MATCH_ANDN 0x40007033
442 #define MASK_ANDN 0xfe00707f
443 #define MATCH_AUIPC 0x17
444 #define MASK_AUIPC 0x7f
445 #define MATCH_AVE 0xe0000077
446 #define MASK_AVE 0xfe00707f
447 #define MATCH_BCLR 0x48001033
448 #define MASK_BCLR 0xfe00707f
449 #define MATCH_BCLRI 0x48001013
450 #define MASK_BCLRI 0xfc00707f
451 #define MATCH_BCOMPRESS 0x8006033
452 #define MASK_BCOMPRESS 0xfe00707f
453 #define MATCH_BCOMPRESSW 0x800603b
454 #define MASK_BCOMPRESSW 0xfe00707f
455 #define MATCH_BDECOMPRESS 0x48006033
456 #define MASK_BDECOMPRESS 0xfe00707f
457 #define MATCH_BDECOMPRESSW 0x4800603b
458 #define MASK_BDECOMPRESSW 0xfe00707f
459 #define MATCH_BEQ 0x63
460 #define MASK_BEQ 0x707f
461 #define MATCH_BEXT 0x48005033
462 #define MASK_BEXT 0xfe00707f
463 #define MATCH_BEXTI 0x48005013
464 #define MASK_BEXTI 0xfc00707f
465 #define MATCH_BFP 0x48007033
466 #define MASK_BFP 0xfe00707f
467 #define MATCH_BFPW 0x4800703b
468 #define MASK_BFPW 0xfe00707f
469 #define MATCH_BGE 0x5063
470 #define MASK_BGE 0x707f
471 #define MATCH_BGEU 0x7063
472 #define MASK_BGEU 0x707f
473 #define MATCH_BINV 0x68001033
474 #define MASK_BINV 0xfe00707f
475 #define MATCH_BINVI 0x68001013
476 #define MASK_BINVI 0xfc00707f
477 #define MATCH_BITREV 0xe6000077
478 #define MASK_BITREV 0xfe00707f
479 #define MATCH_BITREVI 0xe8000077
480 #define MASK_BITREVI 0xfc00707f
481 #define MATCH_BLT 0x4063
482 #define MASK_BLT 0x707f
483 #define MATCH_BLTU 0x6063
484 #define MASK_BLTU 0x707f
485 #define MATCH_BMATFLIP 0x60301013
486 #define MASK_BMATFLIP 0xfff0707f
487 #define MATCH_BMATOR 0x8003033
488 #define MASK_BMATOR 0xfe00707f
489 #define MATCH_BMATXOR 0x48003033
490 #define MASK_BMATXOR 0xfe00707f
491 #define MATCH_BNE 0x1063
492 #define MASK_BNE 0x707f
493 #define MATCH_BPICK 0x3077
494 #define MASK_BPICK 0x600707f
495 #define MATCH_BSET 0x28001033
496 #define MASK_BSET 0xfe00707f
497 #define MATCH_BSETI 0x28001013
498 #define MASK_BSETI 0xfc00707f
499 #define MATCH_C_ADD 0x9002
500 #define MASK_C_ADD 0xf003
501 #define MATCH_C_ADDI 0x1
502 #define MASK_C_ADDI 0xe003
503 #define MATCH_C_ADDI16SP 0x6101
504 #define MASK_C_ADDI16SP 0xef83
505 #define MATCH_C_ADDI4SPN 0x0
506 #define MASK_C_ADDI4SPN 0xe003
507 #define MATCH_C_ADDIW 0x2001
508 #define MASK_C_ADDIW 0xe003
509 #define MATCH_C_ADDW 0x9c21
510 #define MASK_C_ADDW 0xfc63
511 #define MATCH_C_AND 0x8c61
512 #define MASK_C_AND 0xfc63
513 #define MATCH_C_ANDI 0x8801
514 #define MASK_C_ANDI 0xec03
515 #define MATCH_C_BEQZ 0xc001
516 #define MASK_C_BEQZ 0xe003
517 #define MATCH_C_BNEZ 0xe001
518 #define MASK_C_BNEZ 0xe003
519 #define MATCH_C_EBREAK 0x9002
520 #define MASK_C_EBREAK 0xffff
521 #define MATCH_C_FLD 0x2000
522 #define MASK_C_FLD 0xe003
523 #define MATCH_C_FLDSP 0x2002
524 #define MASK_C_FLDSP 0xe003
525 #define MATCH_C_FLW 0x6000
526 #define MASK_C_FLW 0xe003
527 #define MATCH_C_FLWSP 0x6002
528 #define MASK_C_FLWSP 0xe003
529 #define MATCH_C_FSD 0xa000
530 #define MASK_C_FSD 0xe003
531 #define MATCH_C_FSDSP 0xa002
532 #define MASK_C_FSDSP 0xe003
533 #define MATCH_C_FSW 0xe000
534 #define MASK_C_FSW 0xe003
535 #define MATCH_C_FSWSP 0xe002
536 #define MASK_C_FSWSP 0xe003
537 #define MATCH_C_J 0xa001
538 #define MASK_C_J 0xe003
539 #define MATCH_C_JAL 0x2001
540 #define MASK_C_JAL 0xe003
541 #define MATCH_C_JALR 0x9002
542 #define MASK_C_JALR 0xf07f
543 #define MATCH_C_JR 0x8002
544 #define MASK_C_JR 0xf07f
545 #define MATCH_C_LD 0x6000
546 #define MASK_C_LD 0xe003
547 #define MATCH_C_LDSP 0x6002
548 #define MASK_C_LDSP 0xe003
549 #define MATCH_C_LI 0x4001
550 #define MASK_C_LI 0xe003
551 #define MATCH_C_LQ 0x2000
552 #define MASK_C_LQ 0xe003
553 #define MATCH_C_LQSP 0x2002
554 #define MASK_C_LQSP 0xe003
555 #define MATCH_C_LUI 0x6001
556 #define MASK_C_LUI 0xe003
557 #define MATCH_C_LW 0x4000
558 #define MASK_C_LW 0xe003
559 #define MATCH_C_LWSP 0x4002
560 #define MASK_C_LWSP 0xe003
561 #define MATCH_C_MV 0x8002
562 #define MASK_C_MV 0xf003
563 #define MATCH_C_NOP 0x1
564 #define MASK_C_NOP 0xef83
565 #define MATCH_C_OR 0x8c41
566 #define MASK_C_OR 0xfc63
567 #define MATCH_C_SD 0xe000
568 #define MASK_C_SD 0xe003
569 #define MATCH_C_SDSP 0xe002
570 #define MASK_C_SDSP 0xe003
571 #define MATCH_C_SLLI 0x2
572 #define MASK_C_SLLI 0xe003
573 #define MATCH_C_SQ 0xa000
574 #define MASK_C_SQ 0xe003
575 #define MATCH_C_SQSP 0xa002
576 #define MASK_C_SQSP 0xe003
577 #define MATCH_C_SRAI 0x8401
578 #define MASK_C_SRAI 0xec03
579 #define MATCH_C_SRLI 0x8001
580 #define MASK_C_SRLI 0xec03
581 #define MATCH_C_SUB 0x8c01
582 #define MASK_C_SUB 0xfc63
583 #define MATCH_C_SUBW 0x9c01
584 #define MASK_C_SUBW 0xfc63
585 #define MATCH_C_SW 0xc000
586 #define MASK_C_SW 0xe003
587 #define MATCH_C_SWSP 0xc002
588 #define MASK_C_SWSP 0xe003
589 #define MATCH_C_XOR 0x8c21
590 #define MASK_C_XOR 0xfc63
591 #define MATCH_CBO_CLEAN 0x10200f
592 #define MASK_CBO_CLEAN 0xfff07fff
593 #define MATCH_CBO_FLUSH 0x20200f
594 #define MASK_CBO_FLUSH 0xfff07fff
595 #define MATCH_CBO_INVAL 0x200f
596 #define MASK_CBO_INVAL 0xfff07fff
597 #define MATCH_CBO_ZERO 0x40200f
598 #define MASK_CBO_ZERO 0xfff07fff
599 #define MATCH_CLMUL 0xa001033
600 #define MASK_CLMUL 0xfe00707f
601 #define MATCH_CLMULH 0xa003033
602 #define MASK_CLMULH 0xfe00707f
603 #define MATCH_CLMULR 0xa002033
604 #define MASK_CLMULR 0xfe00707f
605 #define MATCH_CLO16 0xaeb00077
606 #define MASK_CLO16 0xfff0707f
607 #define MATCH_CLO32 0xafb00077
608 #define MASK_CLO32 0xfff0707f
609 #define MATCH_CLO8 0xae300077
610 #define MASK_CLO8 0xfff0707f
611 #define MATCH_CLRS16 0xae800077
612 #define MASK_CLRS16 0xfff0707f
613 #define MATCH_CLRS32 0xaf800077
614 #define MASK_CLRS32 0xfff0707f
615 #define MATCH_CLRS8 0xae000077
616 #define MASK_CLRS8 0xfff0707f
617 #define MATCH_CLZ 0x60001013
618 #define MASK_CLZ 0xfff0707f
619 #define MATCH_CLZ16 0xae900077
620 #define MASK_CLZ16 0xfff0707f
621 #define MATCH_CLZ32 0xaf900077
622 #define MASK_CLZ32 0xfff0707f
623 #define MATCH_CLZ8 0xae100077
624 #define MASK_CLZ8 0xfff0707f
625 #define MATCH_CLZW 0x6000101b
626 #define MASK_CLZW 0xfff0707f
627 #define MATCH_CMIX 0x6001033
628 #define MASK_CMIX 0x600707f
629 #define MATCH_CMOV 0x6005033
630 #define MASK_CMOV 0x600707f
631 #define MATCH_CMPEQ16 0x4c000077
632 #define MASK_CMPEQ16 0xfe00707f
633 #define MATCH_CMPEQ8 0x4e000077
634 #define MASK_CMPEQ8 0xfe00707f
635 #define MATCH_CPOP 0x60201013
636 #define MASK_CPOP 0xfff0707f
637 #define MATCH_CPOPW 0x6020101b
638 #define MASK_CPOPW 0xfff0707f
639 #define MATCH_CRAS16 0x44000077
640 #define MASK_CRAS16 0xfe00707f
641 #define MATCH_CRAS32 0x44002077
642 #define MASK_CRAS32 0xfe00707f
643 #define MATCH_CRC32_B 0x61001013
644 #define MASK_CRC32_B 0xfff0707f
645 #define MATCH_CRC32_D 0x61301013
646 #define MASK_CRC32_D 0xfff0707f
647 #define MATCH_CRC32_H 0x61101013
648 #define MASK_CRC32_H 0xfff0707f
649 #define MATCH_CRC32_W 0x61201013
650 #define MASK_CRC32_W 0xfff0707f
651 #define MATCH_CRC32C_B 0x61801013
652 #define MASK_CRC32C_B 0xfff0707f
653 #define MATCH_CRC32C_D 0x61b01013
654 #define MASK_CRC32C_D 0xfff0707f
655 #define MATCH_CRC32C_H 0x61901013
656 #define MASK_CRC32C_H 0xfff0707f
657 #define MATCH_CRC32C_W 0x61a01013
658 #define MASK_CRC32C_W 0xfff0707f
659 #define MATCH_CRSA16 0x46000077
660 #define MASK_CRSA16 0xfe00707f
661 #define MATCH_CRSA32 0x46002077
662 #define MASK_CRSA32 0xfe00707f
663 #define MATCH_CSRRC 0x3073
664 #define MASK_CSRRC 0x707f
665 #define MATCH_CSRRCI 0x7073
666 #define MASK_CSRRCI 0x707f
667 #define MATCH_CSRRS 0x2073
668 #define MASK_CSRRS 0x707f
669 #define MATCH_CSRRSI 0x6073
670 #define MASK_CSRRSI 0x707f
671 #define MATCH_CSRRW 0x1073
672 #define MASK_CSRRW 0x707f
673 #define MATCH_CSRRWI 0x5073
674 #define MASK_CSRRWI 0x707f
675 #define MATCH_CTZ 0x60101013
676 #define MASK_CTZ 0xfff0707f
677 #define MATCH_CTZW 0x6010101b
678 #define MASK_CTZW 0xfff0707f
679 #define MATCH_DIV 0x2004033
680 #define MASK_DIV 0xfe00707f
681 #define MATCH_DIVU 0x2005033
682 #define MASK_DIVU 0xfe00707f
683 #define MATCH_DIVUW 0x200503b
684 #define MASK_DIVUW 0xfe00707f
685 #define MATCH_DIVW 0x200403b
686 #define MASK_DIVW 0xfe00707f
687 #define MATCH_DRET 0x7b200073
688 #define MASK_DRET 0xffffffff
689 #define MATCH_EBREAK 0x100073
690 #define MASK_EBREAK 0xffffffff
691 #define MATCH_ECALL 0x73
692 #define MASK_ECALL 0xffffffff
693 #define MATCH_FADD_D 0x2000053
694 #define MASK_FADD_D 0xfe00007f
695 #define MATCH_FADD_H 0x4000053
696 #define MASK_FADD_H 0xfe00007f
697 #define MATCH_FADD_Q 0x6000053
698 #define MASK_FADD_Q 0xfe00007f
699 #define MATCH_FADD_S 0x53
700 #define MASK_FADD_S 0xfe00007f
701 #define MATCH_FCLASS_D 0xe2001053
702 #define MASK_FCLASS_D 0xfff0707f
703 #define MATCH_FCLASS_H 0xe4001053
704 #define MASK_FCLASS_H 0xfff0707f
705 #define MATCH_FCLASS_Q 0xe6001053
706 #define MASK_FCLASS_Q 0xfff0707f
707 #define MATCH_FCLASS_S 0xe0001053
708 #define MASK_FCLASS_S 0xfff0707f
709 #define MATCH_FCVT_D_H 0x42200053
710 #define MASK_FCVT_D_H 0xfff0007f
711 #define MATCH_FCVT_D_L 0xd2200053
712 #define MASK_FCVT_D_L 0xfff0007f
713 #define MATCH_FCVT_D_LU 0xd2300053
714 #define MASK_FCVT_D_LU 0xfff0007f
715 #define MATCH_FCVT_D_Q 0x42300053
716 #define MASK_FCVT_D_Q 0xfff0007f
717 #define MATCH_FCVT_D_S 0x42000053
718 #define MASK_FCVT_D_S 0xfff0007f
719 #define MATCH_FCVT_D_W 0xd2000053
720 #define MASK_FCVT_D_W 0xfff0007f
721 #define MATCH_FCVT_D_WU 0xd2100053
722 #define MASK_FCVT_D_WU 0xfff0007f
723 #define MATCH_FCVT_H_D 0x44100053
724 #define MASK_FCVT_H_D 0xfff0007f
725 #define MATCH_FCVT_H_L 0xd4200053
726 #define MASK_FCVT_H_L 0xfff0007f
727 #define MATCH_FCVT_H_LU 0xd4300053
728 #define MASK_FCVT_H_LU 0xfff0007f
729 #define MATCH_FCVT_H_Q 0x44300053
730 #define MASK_FCVT_H_Q 0xfff0007f
731 #define MATCH_FCVT_H_S 0x44000053
732 #define MASK_FCVT_H_S 0xfff0007f
733 #define MATCH_FCVT_H_W 0xd4000053
734 #define MASK_FCVT_H_W 0xfff0007f
735 #define MATCH_FCVT_H_WU 0xd4100053
736 #define MASK_FCVT_H_WU 0xfff0007f
737 #define MATCH_FCVT_L_D 0xc2200053
738 #define MASK_FCVT_L_D 0xfff0007f
739 #define MATCH_FCVT_L_H 0xc4200053
740 #define MASK_FCVT_L_H 0xfff0007f
741 #define MATCH_FCVT_L_Q 0xc6200053
742 #define MASK_FCVT_L_Q 0xfff0007f
743 #define MATCH_FCVT_L_S 0xc0200053
744 #define MASK_FCVT_L_S 0xfff0007f
745 #define MATCH_FCVT_LU_D 0xc2300053
746 #define MASK_FCVT_LU_D 0xfff0007f
747 #define MATCH_FCVT_LU_H 0xc4300053
748 #define MASK_FCVT_LU_H 0xfff0007f
749 #define MATCH_FCVT_LU_Q 0xc6300053
750 #define MASK_FCVT_LU_Q 0xfff0007f
751 #define MATCH_FCVT_LU_S 0xc0300053
752 #define MASK_FCVT_LU_S 0xfff0007f
753 #define MATCH_FCVT_Q_D 0x46100053
754 #define MASK_FCVT_Q_D 0xfff0007f
755 #define MATCH_FCVT_Q_H 0x46200053
756 #define MASK_FCVT_Q_H 0xfff0007f
757 #define MATCH_FCVT_Q_L 0xd6200053
758 #define MASK_FCVT_Q_L 0xfff0007f
759 #define MATCH_FCVT_Q_LU 0xd6300053
760 #define MASK_FCVT_Q_LU 0xfff0007f
761 #define MATCH_FCVT_Q_S 0x46000053
762 #define MASK_FCVT_Q_S 0xfff0007f
763 #define MATCH_FCVT_Q_W 0xd6000053
764 #define MASK_FCVT_Q_W 0xfff0007f
765 #define MATCH_FCVT_Q_WU 0xd6100053
766 #define MASK_FCVT_Q_WU 0xfff0007f
767 #define MATCH_FCVT_S_D 0x40100053
768 #define MASK_FCVT_S_D 0xfff0007f
769 #define MATCH_FCVT_S_H 0x40200053
770 #define MASK_FCVT_S_H 0xfff0007f
771 #define MATCH_FCVT_S_L 0xd0200053
772 #define MASK_FCVT_S_L 0xfff0007f
773 #define MATCH_FCVT_S_LU 0xd0300053
774 #define MASK_FCVT_S_LU 0xfff0007f
775 #define MATCH_FCVT_S_Q 0x40300053
776 #define MASK_FCVT_S_Q 0xfff0007f
777 #define MATCH_FCVT_S_W 0xd0000053
778 #define MASK_FCVT_S_W 0xfff0007f
779 #define MATCH_FCVT_S_WU 0xd0100053
780 #define MASK_FCVT_S_WU 0xfff0007f
781 #define MATCH_FCVT_W_D 0xc2000053
782 #define MASK_FCVT_W_D 0xfff0007f
783 #define MATCH_FCVT_W_H 0xc4000053
784 #define MASK_FCVT_W_H 0xfff0007f
785 #define MATCH_FCVT_W_Q 0xc6000053
786 #define MASK_FCVT_W_Q 0xfff0007f
787 #define MATCH_FCVT_W_S 0xc0000053
788 #define MASK_FCVT_W_S 0xfff0007f
789 #define MATCH_FCVT_WU_D 0xc2100053
790 #define MASK_FCVT_WU_D 0xfff0007f
791 #define MATCH_FCVT_WU_H 0xc4100053
792 #define MASK_FCVT_WU_H 0xfff0007f
793 #define MATCH_FCVT_WU_Q 0xc6100053
794 #define MASK_FCVT_WU_Q 0xfff0007f
795 #define MATCH_FCVT_WU_S 0xc0100053
796 #define MASK_FCVT_WU_S 0xfff0007f
797 #define MATCH_FDIV_D 0x1a000053
798 #define MASK_FDIV_D 0xfe00007f
799 #define MATCH_FDIV_H 0x1c000053
800 #define MASK_FDIV_H 0xfe00007f
801 #define MATCH_FDIV_Q 0x1e000053
802 #define MASK_FDIV_Q 0xfe00007f
803 #define MATCH_FDIV_S 0x18000053
804 #define MASK_FDIV_S 0xfe00007f
805 #define MATCH_FENCE 0xf
806 #define MASK_FENCE 0x707f
807 #define MATCH_FENCE_I 0x100f
808 #define MASK_FENCE_I 0x707f
809 #define MATCH_FEQ_D 0xa2002053
810 #define MASK_FEQ_D 0xfe00707f
811 #define MATCH_FEQ_H 0xa4002053
812 #define MASK_FEQ_H 0xfe00707f
813 #define MATCH_FEQ_Q 0xa6002053
814 #define MASK_FEQ_Q 0xfe00707f
815 #define MATCH_FEQ_S 0xa0002053
816 #define MASK_FEQ_S 0xfe00707f
817 #define MATCH_FLD 0x3007
818 #define MASK_FLD 0x707f
819 #define MATCH_FLE_D 0xa2000053
820 #define MASK_FLE_D 0xfe00707f
821 #define MATCH_FLE_H 0xa4000053
822 #define MASK_FLE_H 0xfe00707f
823 #define MATCH_FLE_Q 0xa6000053
824 #define MASK_FLE_Q 0xfe00707f
825 #define MATCH_FLE_S 0xa0000053
826 #define MASK_FLE_S 0xfe00707f
827 #define MATCH_FLH 0x1007
828 #define MASK_FLH 0x707f
829 #define MATCH_FLQ 0x4007
830 #define MASK_FLQ 0x707f
831 #define MATCH_FLT_D 0xa2001053
832 #define MASK_FLT_D 0xfe00707f
833 #define MATCH_FLT_H 0xa4001053
834 #define MASK_FLT_H 0xfe00707f
835 #define MATCH_FLT_Q 0xa6001053
836 #define MASK_FLT_Q 0xfe00707f
837 #define MATCH_FLT_S 0xa0001053
838 #define MASK_FLT_S 0xfe00707f
839 #define MATCH_FLW 0x2007
840 #define MASK_FLW 0x707f
841 #define MATCH_FMADD_D 0x2000043
842 #define MASK_FMADD_D 0x600007f
843 #define MATCH_FMADD_H 0x4000043
844 #define MASK_FMADD_H 0x600007f
845 #define MATCH_FMADD_Q 0x6000043
846 #define MASK_FMADD_Q 0x600007f
847 #define MATCH_FMADD_S 0x43
848 #define MASK_FMADD_S 0x600007f
849 #define MATCH_FMAX_D 0x2a001053
850 #define MASK_FMAX_D 0xfe00707f
851 #define MATCH_FMAX_H 0x2c001053
852 #define MASK_FMAX_H 0xfe00707f
853 #define MATCH_FMAX_Q 0x2e001053
854 #define MASK_FMAX_Q 0xfe00707f
855 #define MATCH_FMAX_S 0x28001053
856 #define MASK_FMAX_S 0xfe00707f
857 #define MATCH_FMIN_D 0x2a000053
858 #define MASK_FMIN_D 0xfe00707f
859 #define MATCH_FMIN_H 0x2c000053
860 #define MASK_FMIN_H 0xfe00707f
861 #define MATCH_FMIN_Q 0x2e000053
862 #define MASK_FMIN_Q 0xfe00707f
863 #define MATCH_FMIN_S 0x28000053
864 #define MASK_FMIN_S 0xfe00707f
865 #define MATCH_FMSUB_D 0x2000047
866 #define MASK_FMSUB_D 0x600007f
867 #define MATCH_FMSUB_H 0x4000047
868 #define MASK_FMSUB_H 0x600007f
869 #define MATCH_FMSUB_Q 0x6000047
870 #define MASK_FMSUB_Q 0x600007f
871 #define MATCH_FMSUB_S 0x47
872 #define MASK_FMSUB_S 0x600007f
873 #define MATCH_FMUL_D 0x12000053
874 #define MASK_FMUL_D 0xfe00007f
875 #define MATCH_FMUL_H 0x14000053
876 #define MASK_FMUL_H 0xfe00007f
877 #define MATCH_FMUL_Q 0x16000053
878 #define MASK_FMUL_Q 0xfe00007f
879 #define MATCH_FMUL_S 0x10000053
880 #define MASK_FMUL_S 0xfe00007f
881 #define MATCH_FMV_D_X 0xf2000053
882 #define MASK_FMV_D_X 0xfff0707f
883 #define MATCH_FMV_H_X 0xf4000053
884 #define MASK_FMV_H_X 0xfff0707f
885 #define MATCH_FMV_W_X 0xf0000053
886 #define MASK_FMV_W_X 0xfff0707f
887 #define MATCH_FMV_X_D 0xe2000053
888 #define MASK_FMV_X_D 0xfff0707f
889 #define MATCH_FMV_X_H 0xe4000053
890 #define MASK_FMV_X_H 0xfff0707f
891 #define MATCH_FMV_X_W 0xe0000053
892 #define MASK_FMV_X_W 0xfff0707f
893 #define MATCH_FNMADD_D 0x200004f
894 #define MASK_FNMADD_D 0x600007f
895 #define MATCH_FNMADD_H 0x400004f
896 #define MASK_FNMADD_H 0x600007f
897 #define MATCH_FNMADD_Q 0x600004f
898 #define MASK_FNMADD_Q 0x600007f
899 #define MATCH_FNMADD_S 0x4f
900 #define MASK_FNMADD_S 0x600007f
901 #define MATCH_FNMSUB_D 0x200004b
902 #define MASK_FNMSUB_D 0x600007f
903 #define MATCH_FNMSUB_H 0x400004b
904 #define MASK_FNMSUB_H 0x600007f
905 #define MATCH_FNMSUB_Q 0x600004b
906 #define MASK_FNMSUB_Q 0x600007f
907 #define MATCH_FNMSUB_S 0x4b
908 #define MASK_FNMSUB_S 0x600007f
909 #define MATCH_FSD 0x3027
910 #define MASK_FSD 0x707f
911 #define MATCH_FSGNJ_D 0x22000053
912 #define MASK_FSGNJ_D 0xfe00707f
913 #define MATCH_FSGNJ_H 0x24000053
914 #define MASK_FSGNJ_H 0xfe00707f
915 #define MATCH_FSGNJ_Q 0x26000053
916 #define MASK_FSGNJ_Q 0xfe00707f
917 #define MATCH_FSGNJ_S 0x20000053
918 #define MASK_FSGNJ_S 0xfe00707f
919 #define MATCH_FSGNJN_D 0x22001053
920 #define MASK_FSGNJN_D 0xfe00707f
921 #define MATCH_FSGNJN_H 0x24001053
922 #define MASK_FSGNJN_H 0xfe00707f
923 #define MATCH_FSGNJN_Q 0x26001053
924 #define MASK_FSGNJN_Q 0xfe00707f
925 #define MATCH_FSGNJN_S 0x20001053
926 #define MASK_FSGNJN_S 0xfe00707f
927 #define MATCH_FSGNJX_D 0x22002053
928 #define MASK_FSGNJX_D 0xfe00707f
929 #define MATCH_FSGNJX_H 0x24002053
930 #define MASK_FSGNJX_H 0xfe00707f
931 #define MATCH_FSGNJX_Q 0x26002053
932 #define MASK_FSGNJX_Q 0xfe00707f
933 #define MATCH_FSGNJX_S 0x20002053
934 #define MASK_FSGNJX_S 0xfe00707f
935 #define MATCH_FSH 0x1027
936 #define MASK_FSH 0x707f
937 #define MATCH_FSL 0x4001033
938 #define MASK_FSL 0x600707f
939 #define MATCH_FSLW 0x400103b
940 #define MASK_FSLW 0x600707f
941 #define MATCH_FSQ 0x4027
942 #define MASK_FSQ 0x707f
943 #define MATCH_FSQRT_D 0x5a000053
944 #define MASK_FSQRT_D 0xfff0007f
945 #define MATCH_FSQRT_H 0x5c000053
946 #define MASK_FSQRT_H 0xfff0007f
947 #define MATCH_FSQRT_Q 0x5e000053
948 #define MASK_FSQRT_Q 0xfff0007f
949 #define MATCH_FSQRT_S 0x58000053
950 #define MASK_FSQRT_S 0xfff0007f
951 #define MATCH_FSR 0x4005033
952 #define MASK_FSR 0x600707f
953 #define MATCH_FSRI 0x4005013
954 #define MASK_FSRI 0x400707f
955 #define MATCH_FSRIW 0x400501b
956 #define MASK_FSRIW 0x600707f
957 #define MATCH_FSRW 0x400503b
958 #define MASK_FSRW 0x600707f
959 #define MATCH_FSUB_D 0xa000053
960 #define MASK_FSUB_D 0xfe00007f
961 #define MATCH_FSUB_H 0xc000053
962 #define MASK_FSUB_H 0xfe00007f
963 #define MATCH_FSUB_Q 0xe000053
964 #define MASK_FSUB_Q 0xfe00007f
965 #define MATCH_FSUB_S 0x8000053
966 #define MASK_FSUB_S 0xfe00007f
967 #define MATCH_FSW 0x2027
968 #define MASK_FSW 0x707f
969 #define MATCH_GORC 0x28005033
970 #define MASK_GORC 0xfe00707f
971 #define MATCH_GORCI 0x28005013
972 #define MASK_GORCI 0xfc00707f
973 #define MATCH_GORCIW 0x2800501b
974 #define MASK_GORCIW 0xfe00707f
975 #define MATCH_GORCW 0x2800503b
976 #define MASK_GORCW 0xfe00707f
977 #define MATCH_GREV 0x68005033
978 #define MASK_GREV 0xfe00707f
979 #define MATCH_GREVI 0x68005013
980 #define MASK_GREVI 0xfc00707f
981 #define MATCH_GREVIW 0x6800501b
982 #define MASK_GREVIW 0xfe00707f
983 #define MATCH_GREVW 0x6800503b
984 #define MASK_GREVW 0xfe00707f
985 #define MATCH_HFENCE_GVMA 0x62000073
986 #define MASK_HFENCE_GVMA 0xfe007fff
987 #define MATCH_HFENCE_VVMA 0x22000073
988 #define MASK_HFENCE_VVMA 0xfe007fff
989 #define MATCH_HINVAL_GVMA 0x66000073
990 #define MASK_HINVAL_GVMA 0xfe007fff
991 #define MATCH_HINVAL_VVMA 0x26000073
992 #define MASK_HINVAL_VVMA 0xfe007fff
993 #define MATCH_HLV_B 0x60004073
994 #define MASK_HLV_B 0xfff0707f
995 #define MATCH_HLV_BU 0x60104073
996 #define MASK_HLV_BU 0xfff0707f
997 #define MATCH_HLV_D 0x6c004073
998 #define MASK_HLV_D 0xfff0707f
999 #define MATCH_HLV_H 0x64004073
1000 #define MASK_HLV_H 0xfff0707f
1001 #define MATCH_HLV_HU 0x64104073
1002 #define MASK_HLV_HU 0xfff0707f
1003 #define MATCH_HLV_W 0x68004073
1004 #define MASK_HLV_W 0xfff0707f
1005 #define MATCH_HLV_WU 0x68104073
1006 #define MASK_HLV_WU 0xfff0707f
1007 #define MATCH_HLVX_HU 0x64304073
1008 #define MASK_HLVX_HU 0xfff0707f
1009 #define MATCH_HLVX_WU 0x68304073
1010 #define MASK_HLVX_WU 0xfff0707f
1011 #define MATCH_HSV_B 0x62004073
1012 #define MASK_HSV_B 0xfe007fff
1013 #define MATCH_HSV_D 0x6e004073
1014 #define MASK_HSV_D 0xfe007fff
1015 #define MATCH_HSV_H 0x66004073
1016 #define MASK_HSV_H 0xfe007fff
1017 #define MATCH_HSV_W 0x6a004073
1018 #define MASK_HSV_W 0xfe007fff
1019 #define MATCH_INSB 0xac000077
1020 #define MASK_INSB 0xff80707f
1021 #define MATCH_JAL 0x6f
1022 #define MASK_JAL 0x7f
1023 #define MATCH_JALR 0x67
1024 #define MASK_JALR 0x707f
1025 #define MATCH_KABS16 0xad100077
1026 #define MASK_KABS16 0xfff0707f
1027 #define MATCH_KABS32 0xad200077
1028 #define MASK_KABS32 0xfff0707f
1029 #define MATCH_KABS8 0xad000077
1030 #define MASK_KABS8 0xfff0707f
1031 #define MATCH_KABSW 0xad400077
1032 #define MASK_KABSW 0xfff0707f
1033 #define MATCH_KADD16 0x10000077
1034 #define MASK_KADD16 0xfe00707f
1035 #define MATCH_KADD32 0x10002077
1036 #define MASK_KADD32 0xfe00707f
1037 #define MATCH_KADD64 0x90001077
1038 #define MASK_KADD64 0xfe00707f
1039 #define MATCH_KADD8 0x18000077
1040 #define MASK_KADD8 0xfe00707f
1041 #define MATCH_KADDH 0x4001077
1042 #define MASK_KADDH 0xfe00707f
1043 #define MATCH_KADDW 0x1077
1044 #define MASK_KADDW 0xfe00707f
1045 #define MATCH_KCRAS16 0x14000077
1046 #define MASK_KCRAS16 0xfe00707f
1047 #define MATCH_KCRAS32 0x14002077
1048 #define MASK_KCRAS32 0xfe00707f
1049 #define MATCH_KCRSA16 0x16000077
1050 #define MASK_KCRSA16 0xfe00707f
1051 #define MATCH_KCRSA32 0x16002077
1052 #define MASK_KCRSA32 0xfe00707f
1053 #define MATCH_KDMABB 0xd2001077
1054 #define MASK_KDMABB 0xfe00707f
1055 #define MATCH_KDMABB16 0xd8001077
1056 #define MASK_KDMABB16 0xfe00707f
1057 #define MATCH_KDMABT 0xe2001077
1058 #define MASK_KDMABT 0xfe00707f
1059 #define MATCH_KDMABT16 0xe8001077
1060 #define MASK_KDMABT16 0xfe00707f
1061 #define MATCH_KDMATT 0xf2001077
1062 #define MASK_KDMATT 0xfe00707f
1063 #define MATCH_KDMATT16 0xf8001077
1064 #define MASK_KDMATT16 0xfe00707f
1065 #define MATCH_KDMBB 0xa001077
1066 #define MASK_KDMBB 0xfe00707f
1067 #define MATCH_KDMBB16 0xda001077
1068 #define MASK_KDMBB16 0xfe00707f
1069 #define MATCH_KDMBT 0x1a001077
1070 #define MASK_KDMBT 0xfe00707f
1071 #define MATCH_KDMBT16 0xea001077
1072 #define MASK_KDMBT16 0xfe00707f
1073 #define MATCH_KDMTT 0x2a001077
1074 #define MASK_KDMTT 0xfe00707f
1075 #define MATCH_KDMTT16 0xfa001077
1076 #define MASK_KDMTT16 0xfe00707f
1077 #define MATCH_KHM16 0x86000077
1078 #define MASK_KHM16 0xfe00707f
1079 #define MATCH_KHM8 0x8e000077
1080 #define MASK_KHM8 0xfe00707f
1081 #define MATCH_KHMBB 0xc001077
1082 #define MASK_KHMBB 0xfe00707f
1083 #define MATCH_KHMBB16 0xdc001077
1084 #define MASK_KHMBB16 0xfe00707f
1085 #define MATCH_KHMBT 0x1c001077
1086 #define MASK_KHMBT 0xfe00707f
1087 #define MATCH_KHMBT16 0xec001077
1088 #define MASK_KHMBT16 0xfe00707f
1089 #define MATCH_KHMTT 0x2c001077
1090 #define MASK_KHMTT 0xfe00707f
1091 #define MATCH_KHMTT16 0xfc001077
1092 #define MASK_KHMTT16 0xfe00707f
1093 #define MATCH_KHMX16 0x96000077
1094 #define MASK_KHMX16 0xfe00707f
1095 #define MATCH_KHMX8 0x9e000077
1096 #define MASK_KHMX8 0xfe00707f
1097 #define MATCH_KMABB 0x5a001077
1098 #define MASK_KMABB 0xfe00707f
1099 #define MATCH_KMABB32 0x5a002077
1100 #define MASK_KMABB32 0xfe00707f
1101 #define MATCH_KMABT 0x6a001077
1102 #define MASK_KMABT 0xfe00707f
1103 #define MATCH_KMABT32 0x6a002077
1104 #define MASK_KMABT32 0xfe00707f
1105 #define MATCH_KMADA 0x48001077
1106 #define MASK_KMADA 0xfe00707f
1107 #define MATCH_KMADRS 0x6c001077
1108 #define MASK_KMADRS 0xfe00707f
1109 #define MATCH_KMADRS32 0x6c002077
1110 #define MASK_KMADRS32 0xfe00707f
1111 #define MATCH_KMADS 0x5c001077
1112 #define MASK_KMADS 0xfe00707f
1113 #define MATCH_KMADS32 0x5c002077
1114 #define MASK_KMADS32 0xfe00707f
1115 #define MATCH_KMAR64 0x94001077
1116 #define MASK_KMAR64 0xfe00707f
1117 #define MATCH_KMATT 0x7a001077
1118 #define MASK_KMATT 0xfe00707f
1119 #define MATCH_KMATT32 0x7a002077
1120 #define MASK_KMATT32 0xfe00707f
1121 #define MATCH_KMAXDA 0x4a001077
1122 #define MASK_KMAXDA 0xfe00707f
1123 #define MATCH_KMAXDA32 0x4a002077
1124 #define MASK_KMAXDA32 0xfe00707f
1125 #define MATCH_KMAXDS 0x7c001077
1126 #define MASK_KMAXDS 0xfe00707f
1127 #define MATCH_KMAXDS32 0x7c002077
1128 #define MASK_KMAXDS32 0xfe00707f
1129 #define MATCH_KMDA 0x38001077
1130 #define MASK_KMDA 0xfe00707f
1131 #define MATCH_KMDA32 0x38002077
1132 #define MASK_KMDA32 0xfe00707f
1133 #define MATCH_KMMAC 0x60001077
1134 #define MASK_KMMAC 0xfe00707f
1135 #define MATCH_KMMAC_U 0x70001077
1136 #define MASK_KMMAC_U 0xfe00707f
1137 #define MATCH_KMMAWB 0x46001077
1138 #define MASK_KMMAWB 0xfe00707f
1139 #define MATCH_KMMAWB2 0xce001077
1140 #define MASK_KMMAWB2 0xfe00707f
1141 #define MATCH_KMMAWB2_U 0xde001077
1142 #define MASK_KMMAWB2_U 0xfe00707f
1143 #define MATCH_KMMAWB_U 0x56001077
1144 #define MASK_KMMAWB_U 0xfe00707f
1145 #define MATCH_KMMAWT 0x66001077
1146 #define MASK_KMMAWT 0xfe00707f
1147 #define MATCH_KMMAWT2 0xee001077
1148 #define MASK_KMMAWT2 0xfe00707f
1149 #define MATCH_KMMAWT2_U 0xfe001077
1150 #define MASK_KMMAWT2_U 0xfe00707f
1151 #define MATCH_KMMAWT_U 0x76001077
1152 #define MASK_KMMAWT_U 0xfe00707f
1153 #define MATCH_KMMSB 0x42001077
1154 #define MASK_KMMSB 0xfe00707f
1155 #define MATCH_KMMSB_U 0x52001077
1156 #define MASK_KMMSB_U 0xfe00707f
1157 #define MATCH_KMMWB2 0x8e001077
1158 #define MASK_KMMWB2 0xfe00707f
1159 #define MATCH_KMMWB2_U 0x9e001077
1160 #define MASK_KMMWB2_U 0xfe00707f
1161 #define MATCH_KMMWT2 0xae001077
1162 #define MASK_KMMWT2 0xfe00707f
1163 #define MATCH_KMMWT2_U 0xbe001077
1164 #define MASK_KMMWT2_U 0xfe00707f
1165 #define MATCH_KMSDA 0x4c001077
1166 #define MASK_KMSDA 0xfe00707f
1167 #define MATCH_KMSDA32 0x4c002077
1168 #define MASK_KMSDA32 0xfe00707f
1169 #define MATCH_KMSR64 0x96001077
1170 #define MASK_KMSR64 0xfe00707f
1171 #define MATCH_KMSXDA 0x4e001077
1172 #define MASK_KMSXDA 0xfe00707f
1173 #define MATCH_KMSXDA32 0x4e002077
1174 #define MASK_KMSXDA32 0xfe00707f
1175 #define MATCH_KMXDA 0x3a001077
1176 #define MASK_KMXDA 0xfe00707f
1177 #define MATCH_KMXDA32 0x3a002077
1178 #define MASK_KMXDA32 0xfe00707f
1179 #define MATCH_KSLL16 0x64000077
1180 #define MASK_KSLL16 0xfe00707f
1181 #define MATCH_KSLL32 0x64002077
1182 #define MASK_KSLL32 0xfe00707f
1183 #define MATCH_KSLL8 0x6c000077
1184 #define MASK_KSLL8 0xfe00707f
1185 #define MATCH_KSLLI16 0x75000077
1186 #define MASK_KSLLI16 0xff00707f
1187 #define MATCH_KSLLI32 0x84002077
1188 #define MASK_KSLLI32 0xfe00707f
1189 #define MATCH_KSLLI8 0x7c800077
1190 #define MASK_KSLLI8 0xff80707f
1191 #define MATCH_KSLLIW 0x36001077
1192 #define MASK_KSLLIW 0xfe00707f
1193 #define MATCH_KSLLW 0x26001077
1194 #define MASK_KSLLW 0xfe00707f
1195 #define MATCH_KSLRA16 0x56000077
1196 #define MASK_KSLRA16 0xfe00707f
1197 #define MATCH_KSLRA16_U 0x66000077
1198 #define MASK_KSLRA16_U 0xfe00707f
1199 #define MATCH_KSLRA32 0x56002077
1200 #define MASK_KSLRA32 0xfe00707f
1201 #define MATCH_KSLRA32_U 0x66002077
1202 #define MASK_KSLRA32_U 0xfe00707f
1203 #define MATCH_KSLRA8 0x5e000077
1204 #define MASK_KSLRA8 0xfe00707f
1205 #define MATCH_KSLRA8_U 0x6e000077
1206 #define MASK_KSLRA8_U 0xfe00707f
1207 #define MATCH_KSLRAW 0x6e001077
1208 #define MASK_KSLRAW 0xfe00707f
1209 #define MATCH_KSLRAW_U 0x7e001077
1210 #define MASK_KSLRAW_U 0xfe00707f
1211 #define MATCH_KSTAS16 0xc4002077
1212 #define MASK_KSTAS16 0xfe00707f
1213 #define MATCH_KSTAS32 0xc0002077
1214 #define MASK_KSTAS32 0xfe00707f
1215 #define MATCH_KSTSA16 0xc6002077
1216 #define MASK_KSTSA16 0xfe00707f
1217 #define MATCH_KSTSA32 0xc2002077
1218 #define MASK_KSTSA32 0xfe00707f
1219 #define MATCH_KSUB16 0x12000077
1220 #define MASK_KSUB16 0xfe00707f
1221 #define MATCH_KSUB32 0x12002077
1222 #define MASK_KSUB32 0xfe00707f
1223 #define MATCH_KSUB64 0x92001077
1224 #define MASK_KSUB64 0xfe00707f
1225 #define MATCH_KSUB8 0x1a000077
1226 #define MASK_KSUB8 0xfe00707f
1227 #define MATCH_KSUBH 0x6001077
1228 #define MASK_KSUBH 0xfe00707f
1229 #define MATCH_KSUBW 0x2001077
1230 #define MASK_KSUBW 0xfe00707f
1231 #define MATCH_KWMMUL 0x62001077
1232 #define MASK_KWMMUL 0xfe00707f
1233 #define MATCH_KWMMUL_U 0x72001077
1234 #define MASK_KWMMUL_U 0xfe00707f
1235 #define MATCH_LB 0x3
1236 #define MASK_LB 0x707f
1237 #define MATCH_LBU 0x4003
1238 #define MASK_LBU 0x707f
1239 #define MATCH_LD 0x3003
1240 #define MASK_LD 0x707f
1241 #define MATCH_LDU 0x7003
1242 #define MASK_LDU 0x707f
1243 #define MATCH_LH 0x1003
1244 #define MASK_LH 0x707f
1245 #define MATCH_LHU 0x5003
1246 #define MASK_LHU 0x707f
1247 #define MATCH_LQ 0x300f
1248 #define MASK_LQ 0x707f
1249 #define MATCH_LR_D 0x1000302f
1250 #define MASK_LR_D 0xf9f0707f
1251 #define MATCH_LR_W 0x1000202f
1252 #define MASK_LR_W 0xf9f0707f
1253 #define MATCH_LUI 0x37
1254 #define MASK_LUI 0x7f
1255 #define MATCH_LW 0x2003
1256 #define MASK_LW 0x707f
1257 #define MATCH_LWU 0x6003
1258 #define MASK_LWU 0x707f
1259 #define MATCH_MADDR32 0xc4001077
1260 #define MASK_MADDR32 0xfe00707f
1261 #define MATCH_MAX 0xa006033
1262 #define MASK_MAX 0xfe00707f
1263 #define MATCH_MAXU 0xa007033
1264 #define MASK_MAXU 0xfe00707f
1265 #define MATCH_MAXW 0xf2000077
1266 #define MASK_MAXW 0xfe00707f
1267 #define MATCH_MIN 0xa004033
1268 #define MASK_MIN 0xfe00707f
1269 #define MATCH_MINU 0xa005033
1270 #define MASK_MINU 0xfe00707f
1271 #define MATCH_MINW 0xf0000077
1272 #define MASK_MINW 0xfe00707f
1273 #define MATCH_MRET 0x30200073
1274 #define MASK_MRET 0xffffffff
1275 #define MATCH_MSUBR32 0xc6001077
1276 #define MASK_MSUBR32 0xfe00707f
1277 #define MATCH_MUL 0x2000033
1278 #define MASK_MUL 0xfe00707f
1279 #define MATCH_MULH 0x2001033
1280 #define MASK_MULH 0xfe00707f
1281 #define MATCH_MULHSU 0x2002033
1282 #define MASK_MULHSU 0xfe00707f
1283 #define MATCH_MULHU 0x2003033
1284 #define MASK_MULHU 0xfe00707f
1285 #define MATCH_MULR64 0xf0001077
1286 #define MASK_MULR64 0xfe00707f
1287 #define MATCH_MULSR64 0xe0001077
1288 #define MASK_MULSR64 0xfe00707f
1289 #define MATCH_MULW 0x200003b
1290 #define MASK_MULW 0xfe00707f
1291 #define MATCH_OR 0x6033
1292 #define MASK_OR 0xfe00707f
1293 #define MATCH_ORI 0x6013
1294 #define MASK_ORI 0x707f
1295 #define MATCH_ORN 0x40006033
1296 #define MASK_ORN 0xfe00707f
1297 #define MATCH_PACK 0x8004033
1298 #define MASK_PACK 0xfe00707f
1299 #define MATCH_PACKH 0x8007033
1300 #define MASK_PACKH 0xfe00707f
1301 #define MATCH_PACKU 0x48004033
1302 #define MASK_PACKU 0xfe00707f
1303 #define MATCH_PACKUW 0x4800403b
1304 #define MASK_PACKUW 0xfe00707f
1305 #define MATCH_PACKW 0x800403b
1306 #define MASK_PACKW 0xfe00707f
1307 #define MATCH_PAUSE 0x100000f
1308 #define MASK_PAUSE 0xffffffff
1309 #define MATCH_PBSAD 0xfc000077
1310 #define MASK_PBSAD 0xfe00707f
1311 #define MATCH_PBSADA 0xfe000077
1312 #define MASK_PBSADA 0xfe00707f
1313 #define MATCH_PKBB16 0xe001077
1314 #define MASK_PKBB16 0xfe00707f
1315 #define MATCH_PKBB32 0xe002077
1316 #define MASK_PKBB32 0xfe00707f
1317 #define MATCH_PKBT16 0x1e001077
1318 #define MASK_PKBT16 0xfe00707f
1319 #define MATCH_PKBT32 0x1e002077
1320 #define MASK_PKBT32 0xfe00707f
1321 #define MATCH_PKTB16 0x3e001077
1322 #define MASK_PKTB16 0xfe00707f
1323 #define MATCH_PKTB32 0x3e002077
1324 #define MASK_PKTB32 0xfe00707f
1325 #define MATCH_PKTT16 0x2e001077
1326 #define MASK_PKTT16 0xfe00707f
1327 #define MATCH_PKTT32 0x2e002077
1328 #define MASK_PKTT32 0xfe00707f
1329 #define MATCH_PREFETCH_I 0x6013
1330 #define MASK_PREFETCH_I 0x1f07fff
1331 #define MATCH_PREFETCH_R 0x106013
1332 #define MASK_PREFETCH_R 0x1f07fff
1333 #define MATCH_PREFETCH_W 0x306013
1334 #define MASK_PREFETCH_W 0x1f07fff
1335 #define MATCH_RADD16 0x77
1336 #define MASK_RADD16 0xfe00707f
1337 #define MATCH_RADD32 0x2077
1338 #define MASK_RADD32 0xfe00707f
1339 #define MATCH_RADD64 0x80001077
1340 #define MASK_RADD64 0xfe00707f
1341 #define MATCH_RADD8 0x8000077
1342 #define MASK_RADD8 0xfe00707f
1343 #define MATCH_RADDW 0x20001077
1344 #define MASK_RADDW 0xfe00707f
1345 #define MATCH_RCRAS16 0x4000077
1346 #define MASK_RCRAS16 0xfe00707f
1347 #define MATCH_RCRAS32 0x4002077
1348 #define MASK_RCRAS32 0xfe00707f
1349 #define MATCH_RCRSA16 0x6000077
1350 #define MASK_RCRSA16 0xfe00707f
1351 #define MATCH_RCRSA32 0x6002077
1352 #define MASK_RCRSA32 0xfe00707f
1353 #define MATCH_REM 0x2006033
1354 #define MASK_REM 0xfe00707f
1355 #define MATCH_REMU 0x2007033
1356 #define MASK_REMU 0xfe00707f
1357 #define MATCH_REMUW 0x200703b
1358 #define MASK_REMUW 0xfe00707f
1359 #define MATCH_REMW 0x200603b
1360 #define MASK_REMW 0xfe00707f
1361 #define MATCH_ROL 0x60001033
1362 #define MASK_ROL 0xfe00707f
1363 #define MATCH_ROLW 0x6000103b
1364 #define MASK_ROLW 0xfe00707f
1365 #define MATCH_ROR 0x60005033
1366 #define MASK_ROR 0xfe00707f
1367 #define MATCH_RORI 0x60005013
1368 #define MASK_RORI 0xfc00707f
1369 #define MATCH_RORIW 0x6000501b
1370 #define MASK_RORIW 0xfe00707f
1371 #define MATCH_RORW 0x6000503b
1372 #define MASK_RORW 0xfe00707f
1373 #define MATCH_RSTAS16 0xb4002077
1374 #define MASK_RSTAS16 0xfe00707f
1375 #define MATCH_RSTAS32 0xb0002077
1376 #define MASK_RSTAS32 0xfe00707f
1377 #define MATCH_RSTSA16 0xb6002077
1378 #define MASK_RSTSA16 0xfe00707f
1379 #define MATCH_RSTSA32 0xb2002077
1380 #define MASK_RSTSA32 0xfe00707f
1381 #define MATCH_RSUB16 0x2000077
1382 #define MASK_RSUB16 0xfe00707f
1383 #define MATCH_RSUB32 0x2002077
1384 #define MASK_RSUB32 0xfe00707f
1385 #define MATCH_RSUB64 0x82001077
1386 #define MASK_RSUB64 0xfe00707f
1387 #define MATCH_RSUB8 0xa000077
1388 #define MASK_RSUB8 0xfe00707f
1389 #define MATCH_RSUBW 0x22001077
1390 #define MASK_RSUBW 0xfe00707f
1391 #define MATCH_SB 0x23
1392 #define MASK_SB 0x707f
1393 #define MATCH_SC_D 0x1800302f
1394 #define MASK_SC_D 0xf800707f
1395 #define MATCH_SC_W 0x1800202f
1396 #define MASK_SC_W 0xf800707f
1397 #define MATCH_SCLIP16 0x84000077
1398 #define MASK_SCLIP16 0xff00707f
1399 #define MATCH_SCLIP32 0xe4000077
1400 #define MASK_SCLIP32 0xfe00707f
1401 #define MATCH_SCLIP8 0x8c000077
1402 #define MASK_SCLIP8 0xff80707f
1403 #define MATCH_SCMPLE16 0x1c000077
1404 #define MASK_SCMPLE16 0xfe00707f
1405 #define MATCH_SCMPLE8 0x1e000077
1406 #define MASK_SCMPLE8 0xfe00707f
1407 #define MATCH_SCMPLT16 0xc000077
1408 #define MASK_SCMPLT16 0xfe00707f
1409 #define MATCH_SCMPLT8 0xe000077
1410 #define MASK_SCMPLT8 0xfe00707f
1411 #define MATCH_SD 0x3023
1412 #define MASK_SD 0x707f
1413 #define MATCH_SEXT_B 0x60401013
1414 #define MASK_SEXT_B 0xfff0707f
1415 #define MATCH_SEXT_H 0x60501013
1416 #define MASK_SEXT_H 0xfff0707f
1417 #define MATCH_SFENCE_INVAL_IR 0x18100073
1418 #define MASK_SFENCE_INVAL_IR 0xffffffff
1419 #define MATCH_SFENCE_VMA 0x12000073
1420 #define MASK_SFENCE_VMA 0xfe007fff
1421 #define MATCH_SFENCE_W_INVAL 0x18000073
1422 #define MASK_SFENCE_W_INVAL 0xffffffff
1423 #define MATCH_SH 0x1023
1424 #define MASK_SH 0x707f
1425 #define MATCH_SH1ADD 0x20002033
1426 #define MASK_SH1ADD 0xfe00707f
1427 #define MATCH_SH1ADD_UW 0x2000203b
1428 #define MASK_SH1ADD_UW 0xfe00707f
1429 #define MATCH_SH2ADD 0x20004033
1430 #define MASK_SH2ADD 0xfe00707f
1431 #define MATCH_SH2ADD_UW 0x2000403b
1432 #define MASK_SH2ADD_UW 0xfe00707f
1433 #define MATCH_SH3ADD 0x20006033
1434 #define MASK_SH3ADD 0xfe00707f
1435 #define MATCH_SH3ADD_UW 0x2000603b
1436 #define MASK_SH3ADD_UW 0xfe00707f
1437 #define MATCH_SHA256SIG0 0x10201013
1438 #define MASK_SHA256SIG0 0xfff0707f
1439 #define MATCH_SHA256SIG1 0x10301013
1440 #define MASK_SHA256SIG1 0xfff0707f
1441 #define MATCH_SHA256SUM0 0x10001013
1442 #define MASK_SHA256SUM0 0xfff0707f
1443 #define MATCH_SHA256SUM1 0x10101013
1444 #define MASK_SHA256SUM1 0xfff0707f
1445 #define MATCH_SHA512SIG0 0x10601013
1446 #define MASK_SHA512SIG0 0xfff0707f
1447 #define MATCH_SHA512SIG0H 0x5c000033
1448 #define MASK_SHA512SIG0H 0xfe00707f
1449 #define MATCH_SHA512SIG0L 0x54000033
1450 #define MASK_SHA512SIG0L 0xfe00707f
1451 #define MATCH_SHA512SIG1 0x10701013
1452 #define MASK_SHA512SIG1 0xfff0707f
1453 #define MATCH_SHA512SIG1H 0x5e000033
1454 #define MASK_SHA512SIG1H 0xfe00707f
1455 #define MATCH_SHA512SIG1L 0x56000033
1456 #define MASK_SHA512SIG1L 0xfe00707f
1457 #define MATCH_SHA512SUM0 0x10401013
1458 #define MASK_SHA512SUM0 0xfff0707f
1459 #define MATCH_SHA512SUM0R 0x50000033
1460 #define MASK_SHA512SUM0R 0xfe00707f
1461 #define MATCH_SHA512SUM1 0x10501013
1462 #define MASK_SHA512SUM1 0xfff0707f
1463 #define MATCH_SHA512SUM1R 0x52000033
1464 #define MASK_SHA512SUM1R 0xfe00707f
1465 #define MATCH_SHFL 0x8001033
1466 #define MASK_SHFL 0xfe00707f
1467 #define MATCH_SHFLI 0x8001013
1468 #define MASK_SHFLI 0xfe00707f
1469 #define MATCH_SHFLW 0x800103b
1470 #define MASK_SHFLW 0xfe00707f
1471 #define MATCH_SINVAL_VMA 0x16000073
1472 #define MASK_SINVAL_VMA 0xfe007fff
1473 #define MATCH_SLL 0x1033
1474 #define MASK_SLL 0xfe00707f
1475 #define MATCH_SLL16 0x54000077
1476 #define MASK_SLL16 0xfe00707f
1477 #define MATCH_SLL32 0x54002077
1478 #define MASK_SLL32 0xfe00707f
1479 #define MATCH_SLL8 0x5c000077
1480 #define MASK_SLL8 0xfe00707f
1481 #define MATCH_SLLD 0x107b
1482 #define MASK_SLLD 0xfe00707f
1483 #define MATCH_SLLI 0x1013
1484 #define MASK_SLLI 0xf800707f
1485 #define MATCH_SLLI16 0x74000077
1486 #define MASK_SLLI16 0xff00707f
1487 #define MATCH_SLLI32 0x74002077
1488 #define MASK_SLLI32 0xfe00707f
1489 #define MATCH_SLLI8 0x7c000077
1490 #define MASK_SLLI8 0xff80707f
1491 #define MATCH_SLLI_UW 0x800101b
1492 #define MASK_SLLI_UW 0xfc00707f
1493 #define MATCH_SLLID 0x105b
1494 #define MASK_SLLID 0xfc00707f
1495 #define MATCH_SLLIW 0x101b
1496 #define MASK_SLLIW 0xfe00707f
1497 #define MATCH_SLLW 0x103b
1498 #define MASK_SLLW 0xfe00707f
1499 #define MATCH_SLO 0x20001033
1500 #define MASK_SLO 0xfe00707f
1501 #define MATCH_SLOI 0x20001013
1502 #define MASK_SLOI 0xfc00707f
1503 #define MATCH_SLOIW 0x2000101b
1504 #define MASK_SLOIW 0xfe00707f
1505 #define MATCH_SLOW 0x2000103b
1506 #define MASK_SLOW 0xfe00707f
1507 #define MATCH_SLT 0x2033
1508 #define MASK_SLT 0xfe00707f
1509 #define MATCH_SLTI 0x2013
1510 #define MASK_SLTI 0x707f
1511 #define MATCH_SLTIU 0x3013
1512 #define MASK_SLTIU 0x707f
1513 #define MATCH_SLTU 0x3033
1514 #define MASK_SLTU 0xfe00707f
1515 #define MATCH_SM3P0 0x10801013
1516 #define MASK_SM3P0 0xfff0707f
1517 #define MATCH_SM3P1 0x10901013
1518 #define MASK_SM3P1 0xfff0707f
1519 #define MATCH_SM4ED 0x30000033
1520 #define MASK_SM4ED 0x3e00707f
1521 #define MATCH_SM4KS 0x34000033
1522 #define MASK_SM4KS 0x3e00707f
1523 #define MATCH_SMAL 0x5e001077
1524 #define MASK_SMAL 0xfe00707f
1525 #define MATCH_SMALBB 0x88001077
1526 #define MASK_SMALBB 0xfe00707f
1527 #define MATCH_SMALBT 0x98001077
1528 #define MASK_SMALBT 0xfe00707f
1529 #define MATCH_SMALDA 0x8c001077
1530 #define MASK_SMALDA 0xfe00707f
1531 #define MATCH_SMALDRS 0x9a001077
1532 #define MASK_SMALDRS 0xfe00707f
1533 #define MATCH_SMALDS 0x8a001077
1534 #define MASK_SMALDS 0xfe00707f
1535 #define MATCH_SMALTT 0xa8001077
1536 #define MASK_SMALTT 0xfe00707f
1537 #define MATCH_SMALXDA 0x9c001077
1538 #define MASK_SMALXDA 0xfe00707f
1539 #define MATCH_SMALXDS 0xaa001077
1540 #define MASK_SMALXDS 0xfe00707f
1541 #define MATCH_SMAQA 0xc8000077
1542 #define MASK_SMAQA 0xfe00707f
1543 #define MATCH_SMAQA_SU 0xca000077
1544 #define MASK_SMAQA_SU 0xfe00707f
1545 #define MATCH_SMAR64 0x84001077
1546 #define MASK_SMAR64 0xfe00707f
1547 #define MATCH_SMAX16 0x82000077
1548 #define MASK_SMAX16 0xfe00707f
1549 #define MATCH_SMAX32 0x92002077
1550 #define MASK_SMAX32 0xfe00707f
1551 #define MATCH_SMAX8 0x8a000077
1552 #define MASK_SMAX8 0xfe00707f
1553 #define MATCH_SMBB16 0x8001077
1554 #define MASK_SMBB16 0xfe00707f
1555 #define MATCH_SMBT16 0x18001077
1556 #define MASK_SMBT16 0xfe00707f
1557 #define MATCH_SMBT32 0x18002077
1558 #define MASK_SMBT32 0xfe00707f
1559 #define MATCH_SMDRS 0x68001077
1560 #define MASK_SMDRS 0xfe00707f
1561 #define MATCH_SMDRS32 0x68002077
1562 #define MASK_SMDRS32 0xfe00707f
1563 #define MATCH_SMDS 0x58001077
1564 #define MASK_SMDS 0xfe00707f
1565 #define MATCH_SMDS32 0x58002077
1566 #define MASK_SMDS32 0xfe00707f
1567 #define MATCH_SMIN16 0x80000077
1568 #define MASK_SMIN16 0xfe00707f
1569 #define MATCH_SMIN32 0x90002077
1570 #define MASK_SMIN32 0xfe00707f
1571 #define MATCH_SMIN8 0x88000077
1572 #define MASK_SMIN8 0xfe00707f
1573 #define MATCH_SMMUL 0x40001077
1574 #define MASK_SMMUL 0xfe00707f
1575 #define MATCH_SMMUL_U 0x50001077
1576 #define MASK_SMMUL_U 0xfe00707f
1577 #define MATCH_SMMWB 0x44001077
1578 #define MASK_SMMWB 0xfe00707f
1579 #define MATCH_SMMWB_U 0x54001077
1580 #define MASK_SMMWB_U 0xfe00707f
1581 #define MATCH_SMMWT 0x64001077
1582 #define MASK_SMMWT 0xfe00707f
1583 #define MATCH_SMMWT_U 0x74001077
1584 #define MASK_SMMWT_U 0xfe00707f
1585 #define MATCH_SMSLDA 0xac001077
1586 #define MASK_SMSLDA 0xfe00707f
1587 #define MATCH_SMSLXDA 0xbc001077
1588 #define MASK_SMSLXDA 0xfe00707f
1589 #define MATCH_SMSR64 0x86001077
1590 #define MASK_SMSR64 0xfe00707f
1591 #define MATCH_SMTT16 0x28001077
1592 #define MASK_SMTT16 0xfe00707f
1593 #define MATCH_SMTT32 0x28002077
1594 #define MASK_SMTT32 0xfe00707f
1595 #define MATCH_SMUL16 0xa0000077
1596 #define MASK_SMUL16 0xfe00707f
1597 #define MATCH_SMUL8 0xa8000077
1598 #define MASK_SMUL8 0xfe00707f
1599 #define MATCH_SMULX16 0xa2000077
1600 #define MASK_SMULX16 0xfe00707f
1601 #define MATCH_SMULX8 0xaa000077
1602 #define MASK_SMULX8 0xfe00707f
1603 #define MATCH_SMXDS 0x78001077
1604 #define MASK_SMXDS 0xfe00707f
1605 #define MATCH_SMXDS32 0x78002077
1606 #define MASK_SMXDS32 0xfe00707f
1607 #define MATCH_SQ 0x4023
1608 #define MASK_SQ 0x707f
1609 #define MATCH_SRA 0x40005033
1610 #define MASK_SRA 0xfe00707f
1611 #define MATCH_SRA16 0x50000077
1612 #define MASK_SRA16 0xfe00707f
1613 #define MATCH_SRA16_U 0x60000077
1614 #define MASK_SRA16_U 0xfe00707f
1615 #define MATCH_SRA32 0x50002077
1616 #define MASK_SRA32 0xfe00707f
1617 #define MATCH_SRA32_U 0x60002077
1618 #define MASK_SRA32_U 0xfe00707f
1619 #define MATCH_SRA8 0x58000077
1620 #define MASK_SRA8 0xfe00707f
1621 #define MATCH_SRA8_U 0x68000077
1622 #define MASK_SRA8_U 0xfe00707f
1623 #define MATCH_SRA_U 0x24001077
1624 #define MASK_SRA_U 0xfe00707f
1625 #define MATCH_SRAD 0x4000507b
1626 #define MASK_SRAD 0xfe00707f
1627 #define MATCH_SRAI 0x40005013
1628 #define MASK_SRAI 0xf800707f
1629 #define MATCH_SRAI16 0x70000077
1630 #define MASK_SRAI16 0xff00707f
1631 #define MATCH_SRAI16_U 0x71000077
1632 #define MASK_SRAI16_U 0xff00707f
1633 #define MATCH_SRAI32 0x70002077
1634 #define MASK_SRAI32 0xfe00707f
1635 #define MATCH_SRAI32_U 0x80002077
1636 #define MASK_SRAI32_U 0xfe00707f
1637 #define MATCH_SRAI8 0x78000077
1638 #define MASK_SRAI8 0xff80707f
1639 #define MATCH_SRAI8_U 0x78800077
1640 #define MASK_SRAI8_U 0xff80707f
1641 #define MATCH_SRAI_U 0xd4001077
1642 #define MASK_SRAI_U 0xfc00707f
1643 #define MATCH_SRAID 0x4000505b
1644 #define MASK_SRAID 0xfc00707f
1645 #define MATCH_SRAIW 0x4000501b
1646 #define MASK_SRAIW 0xfe00707f
1647 #define MATCH_SRAIW_U 0x34001077
1648 #define MASK_SRAIW_U 0xfe00707f
1649 #define MATCH_SRAW 0x4000503b
1650 #define MASK_SRAW 0xfe00707f
1651 #define MATCH_SRET 0x10200073
1652 #define MASK_SRET 0xffffffff
1653 #define MATCH_SRL 0x5033
1654 #define MASK_SRL 0xfe00707f
1655 #define MATCH_SRL16 0x52000077
1656 #define MASK_SRL16 0xfe00707f
1657 #define MATCH_SRL16_U 0x62000077
1658 #define MASK_SRL16_U 0xfe00707f
1659 #define MATCH_SRL32 0x52002077
1660 #define MASK_SRL32 0xfe00707f
1661 #define MATCH_SRL32_U 0x62002077
1662 #define MASK_SRL32_U 0xfe00707f
1663 #define MATCH_SRL8 0x5a000077
1664 #define MASK_SRL8 0xfe00707f
1665 #define MATCH_SRL8_U 0x6a000077
1666 #define MASK_SRL8_U 0xfe00707f
1667 #define MATCH_SRLD 0x507b
1668 #define MASK_SRLD 0xfe00707f
1669 #define MATCH_SRLI 0x5013
1670 #define MASK_SRLI 0xf800707f
1671 #define MATCH_SRLI16 0x72000077
1672 #define MASK_SRLI16 0xff00707f
1673 #define MATCH_SRLI16_U 0x73000077
1674 #define MASK_SRLI16_U 0xff00707f
1675 #define MATCH_SRLI32 0x72002077
1676 #define MASK_SRLI32 0xfe00707f
1677 #define MATCH_SRLI32_U 0x82002077
1678 #define MASK_SRLI32_U 0xfe00707f
1679 #define MATCH_SRLI8 0x7a000077
1680 #define MASK_SRLI8 0xff80707f
1681 #define MATCH_SRLI8_U 0x7a800077
1682 #define MASK_SRLI8_U 0xff80707f
1683 #define MATCH_SRLID 0x505b
1684 #define MASK_SRLID 0xfc00707f
1685 #define MATCH_SRLIW 0x501b
1686 #define MASK_SRLIW 0xfe00707f
1687 #define MATCH_SRLW 0x503b
1688 #define MASK_SRLW 0xfe00707f
1689 #define MATCH_SRO 0x20005033
1690 #define MASK_SRO 0xfe00707f
1691 #define MATCH_SROI 0x20005013
1692 #define MASK_SROI 0xfc00707f
1693 #define MATCH_SROIW 0x2000501b
1694 #define MASK_SROIW 0xfe00707f
1695 #define MATCH_SROW 0x2000503b
1696 #define MASK_SROW 0xfe00707f
1697 #define MATCH_STAS16 0xf4002077
1698 #define MASK_STAS16 0xfe00707f
1699 #define MATCH_STAS32 0xf0002077
1700 #define MASK_STAS32 0xfe00707f
1701 #define MATCH_STSA16 0xf6002077
1702 #define MASK_STSA16 0xfe00707f
1703 #define MATCH_STSA32 0xf2002077
1704 #define MASK_STSA32 0xfe00707f
1705 #define MATCH_SUB 0x40000033
1706 #define MASK_SUB 0xfe00707f
1707 #define MATCH_SUB16 0x42000077
1708 #define MASK_SUB16 0xfe00707f
1709 #define MATCH_SUB32 0x42002077
1710 #define MASK_SUB32 0xfe00707f
1711 #define MATCH_SUB64 0xc2001077
1712 #define MASK_SUB64 0xfe00707f
1713 #define MATCH_SUB8 0x4a000077
1714 #define MASK_SUB8 0xfe00707f
1715 #define MATCH_SUBD 0x4000007b
1716 #define MASK_SUBD 0xfe00707f
1717 #define MATCH_SUBW 0x4000003b
1718 #define MASK_SUBW 0xfe00707f
1719 #define MATCH_SUNPKD810 0xac800077
1720 #define MASK_SUNPKD810 0xfff0707f
1721 #define MATCH_SUNPKD820 0xac900077
1722 #define MASK_SUNPKD820 0xfff0707f
1723 #define MATCH_SUNPKD830 0xaca00077
1724 #define MASK_SUNPKD830 0xfff0707f
1725 #define MATCH_SUNPKD831 0xacb00077
1726 #define MASK_SUNPKD831 0xfff0707f
1727 #define MATCH_SUNPKD832 0xad300077
1728 #define MASK_SUNPKD832 0xfff0707f
1729 #define MATCH_SW 0x2023
1730 #define MASK_SW 0x707f
1731 #define MATCH_SWAP8 0xad800077
1732 #define MASK_SWAP8 0xfff0707f
1733 #define MATCH_UCLIP16 0x85000077
1734 #define MASK_UCLIP16 0xff00707f
1735 #define MATCH_UCLIP32 0xf4000077
1736 #define MASK_UCLIP32 0xfe00707f
1737 #define MATCH_UCLIP8 0x8d000077
1738 #define MASK_UCLIP8 0xff80707f
1739 #define MATCH_UCMPLE16 0x3c000077
1740 #define MASK_UCMPLE16 0xfe00707f
1741 #define MATCH_UCMPLE8 0x3e000077
1742 #define MASK_UCMPLE8 0xfe00707f
1743 #define MATCH_UCMPLT16 0x2c000077
1744 #define MASK_UCMPLT16 0xfe00707f
1745 #define MATCH_UCMPLT8 0x2e000077
1746 #define MASK_UCMPLT8 0xfe00707f
1747 #define MATCH_UKADD16 0x30000077
1748 #define MASK_UKADD16 0xfe00707f
1749 #define MATCH_UKADD32 0x30002077
1750 #define MASK_UKADD32 0xfe00707f
1751 #define MATCH_UKADD64 0xb0001077
1752 #define MASK_UKADD64 0xfe00707f
1753 #define MATCH_UKADD8 0x38000077
1754 #define MASK_UKADD8 0xfe00707f
1755 #define MATCH_UKADDH 0x14001077
1756 #define MASK_UKADDH 0xfe00707f
1757 #define MATCH_UKADDW 0x10001077
1758 #define MASK_UKADDW 0xfe00707f
1759 #define MATCH_UKCRAS16 0x34000077
1760 #define MASK_UKCRAS16 0xfe00707f
1761 #define MATCH_UKCRAS32 0x34002077
1762 #define MASK_UKCRAS32 0xfe00707f
1763 #define MATCH_UKCRSA16 0x36000077
1764 #define MASK_UKCRSA16 0xfe00707f
1765 #define MATCH_UKCRSA32 0x36002077
1766 #define MASK_UKCRSA32 0xfe00707f
1767 #define MATCH_UKMAR64 0xb4001077
1768 #define MASK_UKMAR64 0xfe00707f
1769 #define MATCH_UKMSR64 0xb6001077
1770 #define MASK_UKMSR64 0xfe00707f
1771 #define MATCH_UKSTAS16 0xe4002077
1772 #define MASK_UKSTAS16 0xfe00707f
1773 #define MATCH_UKSTAS32 0xe0002077
1774 #define MASK_UKSTAS32 0xfe00707f
1775 #define MATCH_UKSTSA16 0xe6002077
1776 #define MASK_UKSTSA16 0xfe00707f
1777 #define MATCH_UKSTSA32 0xe2002077
1778 #define MASK_UKSTSA32 0xfe00707f
1779 #define MATCH_UKSUB16 0x32000077
1780 #define MASK_UKSUB16 0xfe00707f
1781 #define MATCH_UKSUB32 0x32002077
1782 #define MASK_UKSUB32 0xfe00707f
1783 #define MATCH_UKSUB64 0xb2001077
1784 #define MASK_UKSUB64 0xfe00707f
1785 #define MATCH_UKSUB8 0x3a000077
1786 #define MASK_UKSUB8 0xfe00707f
1787 #define MATCH_UKSUBH 0x16001077
1788 #define MASK_UKSUBH 0xfe00707f
1789 #define MATCH_UKSUBW 0x12001077
1790 #define MASK_UKSUBW 0xfe00707f
1791 #define MATCH_UMAQA 0xcc000077
1792 #define MASK_UMAQA 0xfe00707f
1793 #define MATCH_UMAR64 0xa4001077
1794 #define MASK_UMAR64 0xfe00707f
1795 #define MATCH_UMAX16 0x92000077
1796 #define MASK_UMAX16 0xfe00707f
1797 #define MATCH_UMAX32 0xa2002077
1798 #define MASK_UMAX32 0xfe00707f
1799 #define MATCH_UMAX8 0x9a000077
1800 #define MASK_UMAX8 0xfe00707f
1801 #define MATCH_UMIN16 0x90000077
1802 #define MASK_UMIN16 0xfe00707f
1803 #define MATCH_UMIN32 0xa0002077
1804 #define MASK_UMIN32 0xfe00707f
1805 #define MATCH_UMIN8 0x98000077
1806 #define MASK_UMIN8 0xfe00707f
1807 #define MATCH_UMSR64 0xa6001077
1808 #define MASK_UMSR64 0xfe00707f
1809 #define MATCH_UMUL16 0xb0000077
1810 #define MASK_UMUL16 0xfe00707f
1811 #define MATCH_UMUL8 0xb8000077
1812 #define MASK_UMUL8 0xfe00707f
1813 #define MATCH_UMULX16 0xb2000077
1814 #define MASK_UMULX16 0xfe00707f
1815 #define MATCH_UMULX8 0xba000077
1816 #define MASK_UMULX8 0xfe00707f
1817 #define MATCH_UNSHFL 0x8005033
1818 #define MASK_UNSHFL 0xfe00707f
1819 #define MATCH_UNSHFLI 0x8005013
1820 #define MASK_UNSHFLI 0xfe00707f
1821 #define MATCH_UNSHFLW 0x800503b
1822 #define MASK_UNSHFLW 0xfe00707f
1823 #define MATCH_URADD16 0x20000077
1824 #define MASK_URADD16 0xfe00707f
1825 #define MATCH_URADD32 0x20002077
1826 #define MASK_URADD32 0xfe00707f
1827 #define MATCH_URADD64 0xa0001077
1828 #define MASK_URADD64 0xfe00707f
1829 #define MATCH_URADD8 0x28000077
1830 #define MASK_URADD8 0xfe00707f
1831 #define MATCH_URADDW 0x30001077
1832 #define MASK_URADDW 0xfe00707f
1833 #define MATCH_URCRAS16 0x24000077
1834 #define MASK_URCRAS16 0xfe00707f
1835 #define MATCH_URCRAS32 0x24002077
1836 #define MASK_URCRAS32 0xfe00707f
1837 #define MATCH_URCRSA16 0x26000077
1838 #define MASK_URCRSA16 0xfe00707f
1839 #define MATCH_URCRSA32 0x26002077
1840 #define MASK_URCRSA32 0xfe00707f
1841 #define MATCH_URSTAS16 0xd4002077
1842 #define MASK_URSTAS16 0xfe00707f
1843 #define MATCH_URSTAS32 0xd0002077
1844 #define MASK_URSTAS32 0xfe00707f
1845 #define MATCH_URSTSA16 0xd6002077
1846 #define MASK_URSTSA16 0xfe00707f
1847 #define MATCH_URSTSA32 0xd2002077
1848 #define MASK_URSTSA32 0xfe00707f
1849 #define MATCH_URSUB16 0x22000077
1850 #define MASK_URSUB16 0xfe00707f
1851 #define MATCH_URSUB32 0x22002077
1852 #define MASK_URSUB32 0xfe00707f
1853 #define MATCH_URSUB64 0xa2001077
1854 #define MASK_URSUB64 0xfe00707f
1855 #define MATCH_URSUB8 0x2a000077
1856 #define MASK_URSUB8 0xfe00707f
1857 #define MATCH_URSUBW 0x32001077
1858 #define MASK_URSUBW 0xfe00707f
1859 #define MATCH_VAADD_VV 0x24002057
1860 #define MASK_VAADD_VV 0xfc00707f
1861 #define MATCH_VAADD_VX 0x24006057
1862 #define MASK_VAADD_VX 0xfc00707f
1863 #define MATCH_VAADDU_VV 0x20002057
1864 #define MASK_VAADDU_VV 0xfc00707f
1865 #define MATCH_VAADDU_VX 0x20006057
1866 #define MASK_VAADDU_VX 0xfc00707f
1867 #define MATCH_VADC_VIM 0x40003057
1868 #define MASK_VADC_VIM 0xfe00707f
1869 #define MATCH_VADC_VVM 0x40000057
1870 #define MASK_VADC_VVM 0xfe00707f
1871 #define MATCH_VADC_VXM 0x40004057
1872 #define MASK_VADC_VXM 0xfe00707f
1873 #define MATCH_VADD_VI 0x3057
1874 #define MASK_VADD_VI 0xfc00707f
1875 #define MATCH_VADD_VV 0x57
1876 #define MASK_VADD_VV 0xfc00707f
1877 #define MATCH_VADD_VX 0x4057
1878 #define MASK_VADD_VX 0xfc00707f
1879 #define MATCH_VAMOADDEI16_V 0x502f
1880 #define MASK_VAMOADDEI16_V 0xf800707f
1881 #define MATCH_VAMOADDEI32_V 0x602f
1882 #define MASK_VAMOADDEI32_V 0xf800707f
1883 #define MATCH_VAMOADDEI64_V 0x702f
1884 #define MASK_VAMOADDEI64_V 0xf800707f
1885 #define MATCH_VAMOADDEI8_V 0x2f
1886 #define MASK_VAMOADDEI8_V 0xf800707f
1887 #define MATCH_VAMOANDEI16_V 0x6000502f
1888 #define MASK_VAMOANDEI16_V 0xf800707f
1889 #define MATCH_VAMOANDEI32_V 0x6000602f
1890 #define MASK_VAMOANDEI32_V 0xf800707f
1891 #define MATCH_VAMOANDEI64_V 0x6000702f
1892 #define MASK_VAMOANDEI64_V 0xf800707f
1893 #define MATCH_VAMOANDEI8_V 0x6000002f
1894 #define MASK_VAMOANDEI8_V 0xf800707f
1895 #define MATCH_VAMOMAXEI16_V 0xa000502f
1896 #define MASK_VAMOMAXEI16_V 0xf800707f
1897 #define MATCH_VAMOMAXEI32_V 0xa000602f
1898 #define MASK_VAMOMAXEI32_V 0xf800707f
1899 #define MATCH_VAMOMAXEI64_V 0xa000702f
1900 #define MASK_VAMOMAXEI64_V 0xf800707f
1901 #define MATCH_VAMOMAXEI8_V 0xa000002f
1902 #define MASK_VAMOMAXEI8_V 0xf800707f
1903 #define MATCH_VAMOMAXUEI16_V 0xe000502f
1904 #define MASK_VAMOMAXUEI16_V 0xf800707f
1905 #define MATCH_VAMOMAXUEI32_V 0xe000602f
1906 #define MASK_VAMOMAXUEI32_V 0xf800707f
1907 #define MATCH_VAMOMAXUEI64_V 0xe000702f
1908 #define MASK_VAMOMAXUEI64_V 0xf800707f
1909 #define MATCH_VAMOMAXUEI8_V 0xe000002f
1910 #define MASK_VAMOMAXUEI8_V 0xf800707f
1911 #define MATCH_VAMOMINEI16_V 0x8000502f
1912 #define MASK_VAMOMINEI16_V 0xf800707f
1913 #define MATCH_VAMOMINEI32_V 0x8000602f
1914 #define MASK_VAMOMINEI32_V 0xf800707f
1915 #define MATCH_VAMOMINEI64_V 0x8000702f
1916 #define MASK_VAMOMINEI64_V 0xf800707f
1917 #define MATCH_VAMOMINEI8_V 0x8000002f
1918 #define MASK_VAMOMINEI8_V 0xf800707f
1919 #define MATCH_VAMOMINUEI16_V 0xc000502f
1920 #define MASK_VAMOMINUEI16_V 0xf800707f
1921 #define MATCH_VAMOMINUEI32_V 0xc000602f
1922 #define MASK_VAMOMINUEI32_V 0xf800707f
1923 #define MATCH_VAMOMINUEI64_V 0xc000702f
1924 #define MASK_VAMOMINUEI64_V 0xf800707f
1925 #define MATCH_VAMOMINUEI8_V 0xc000002f
1926 #define MASK_VAMOMINUEI8_V 0xf800707f
1927 #define MATCH_VAMOOREI16_V 0x4000502f
1928 #define MASK_VAMOOREI16_V 0xf800707f
1929 #define MATCH_VAMOOREI32_V 0x4000602f
1930 #define MASK_VAMOOREI32_V 0xf800707f
1931 #define MATCH_VAMOOREI64_V 0x4000702f
1932 #define MASK_VAMOOREI64_V 0xf800707f
1933 #define MATCH_VAMOOREI8_V 0x4000002f
1934 #define MASK_VAMOOREI8_V 0xf800707f
1935 #define MATCH_VAMOSWAPEI16_V 0x800502f
1936 #define MASK_VAMOSWAPEI16_V 0xf800707f
1937 #define MATCH_VAMOSWAPEI32_V 0x800602f
1938 #define MASK_VAMOSWAPEI32_V 0xf800707f
1939 #define MATCH_VAMOSWAPEI64_V 0x800702f
1940 #define MASK_VAMOSWAPEI64_V 0xf800707f
1941 #define MATCH_VAMOSWAPEI8_V 0x800002f
1942 #define MASK_VAMOSWAPEI8_V 0xf800707f
1943 #define MATCH_VAMOXOREI16_V 0x2000502f
1944 #define MASK_VAMOXOREI16_V 0xf800707f
1945 #define MATCH_VAMOXOREI32_V 0x2000602f
1946 #define MASK_VAMOXOREI32_V 0xf800707f
1947 #define MATCH_VAMOXOREI64_V 0x2000702f
1948 #define MASK_VAMOXOREI64_V 0xf800707f
1949 #define MATCH_VAMOXOREI8_V 0x2000002f
1950 #define MASK_VAMOXOREI8_V 0xf800707f
1951 #define MATCH_VAND_VI 0x24003057
1952 #define MASK_VAND_VI 0xfc00707f
1953 #define MATCH_VAND_VV 0x24000057
1954 #define MASK_VAND_VV 0xfc00707f
1955 #define MATCH_VAND_VX 0x24004057
1956 #define MASK_VAND_VX 0xfc00707f
1957 #define MATCH_VASUB_VV 0x2c002057
1958 #define MASK_VASUB_VV 0xfc00707f
1959 #define MATCH_VASUB_VX 0x2c006057
1960 #define MASK_VASUB_VX 0xfc00707f
1961 #define MATCH_VASUBU_VV 0x28002057
1962 #define MASK_VASUBU_VV 0xfc00707f
1963 #define MATCH_VASUBU_VX 0x28006057
1964 #define MASK_VASUBU_VX 0xfc00707f
1965 #define MATCH_VCOMPRESS_VM 0x5e002057
1966 #define MASK_VCOMPRESS_VM 0xfe00707f
1967 #define MATCH_VCPOP_M 0x40082057
1968 #define MASK_VCPOP_M 0xfc0ff07f
1969 #define MATCH_VDIV_VV 0x84002057
1970 #define MASK_VDIV_VV 0xfc00707f
1971 #define MATCH_VDIV_VX 0x84006057
1972 #define MASK_VDIV_VX 0xfc00707f
1973 #define MATCH_VDIVU_VV 0x80002057
1974 #define MASK_VDIVU_VV 0xfc00707f
1975 #define MATCH_VDIVU_VX 0x80006057
1976 #define MASK_VDIVU_VX 0xfc00707f
1977 #define MATCH_VFADD_VF 0x5057
1978 #define MASK_VFADD_VF 0xfc00707f
1979 #define MATCH_VFADD_VV 0x1057
1980 #define MASK_VFADD_VV 0xfc00707f
1981 #define MATCH_VFCLASS_V 0x4c081057
1982 #define MASK_VFCLASS_V 0xfc0ff07f
1983 #define MATCH_VFCVT_F_X_V 0x48019057
1984 #define MASK_VFCVT_F_X_V 0xfc0ff07f
1985 #define MATCH_VFCVT_F_XU_V 0x48011057
1986 #define MASK_VFCVT_F_XU_V 0xfc0ff07f
1987 #define MATCH_VFCVT_RTZ_X_F_V 0x48039057
1988 #define MASK_VFCVT_RTZ_X_F_V 0xfc0ff07f
1989 #define MATCH_VFCVT_RTZ_XU_F_V 0x48031057
1990 #define MASK_VFCVT_RTZ_XU_F_V 0xfc0ff07f
1991 #define MATCH_VFCVT_X_F_V 0x48009057
1992 #define MASK_VFCVT_X_F_V 0xfc0ff07f
1993 #define MATCH_VFCVT_XU_F_V 0x48001057
1994 #define MASK_VFCVT_XU_F_V 0xfc0ff07f
1995 #define MATCH_VFDIV_VF 0x80005057
1996 #define MASK_VFDIV_VF 0xfc00707f
1997 #define MATCH_VFDIV_VV 0x80001057
1998 #define MASK_VFDIV_VV 0xfc00707f
1999 #define MATCH_VFIRST_M 0x4008a057
2000 #define MASK_VFIRST_M 0xfc0ff07f
2001 #define MATCH_VFMACC_VF 0xb0005057
2002 #define MASK_VFMACC_VF 0xfc00707f
2003 #define MATCH_VFMACC_VV 0xb0001057
2004 #define MASK_VFMACC_VV 0xfc00707f
2005 #define MATCH_VFMADD_VF 0xa0005057
2006 #define MASK_VFMADD_VF 0xfc00707f
2007 #define MATCH_VFMADD_VV 0xa0001057
2008 #define MASK_VFMADD_VV 0xfc00707f
2009 #define MATCH_VFMAX_VF 0x18005057
2010 #define MASK_VFMAX_VF 0xfc00707f
2011 #define MATCH_VFMAX_VV 0x18001057
2012 #define MASK_VFMAX_VV 0xfc00707f
2013 #define MATCH_VFMERGE_VFM 0x5c005057
2014 #define MASK_VFMERGE_VFM 0xfe00707f
2015 #define MATCH_VFMIN_VF 0x10005057
2016 #define MASK_VFMIN_VF 0xfc00707f
2017 #define MATCH_VFMIN_VV 0x10001057
2018 #define MASK_VFMIN_VV 0xfc00707f
2019 #define MATCH_VFMSAC_VF 0xb8005057
2020 #define MASK_VFMSAC_VF 0xfc00707f
2021 #define MATCH_VFMSAC_VV 0xb8001057
2022 #define MASK_VFMSAC_VV 0xfc00707f
2023 #define MATCH_VFMSUB_VF 0xa8005057
2024 #define MASK_VFMSUB_VF 0xfc00707f
2025 #define MATCH_VFMSUB_VV 0xa8001057
2026 #define MASK_VFMSUB_VV 0xfc00707f
2027 #define MATCH_VFMUL_VF 0x90005057
2028 #define MASK_VFMUL_VF 0xfc00707f
2029 #define MATCH_VFMUL_VV 0x90001057
2030 #define MASK_VFMUL_VV 0xfc00707f
2031 #define MATCH_VFMV_F_S 0x42001057
2032 #define MASK_VFMV_F_S 0xfe0ff07f
2033 #define MATCH_VFMV_S_F 0x42005057
2034 #define MASK_VFMV_S_F 0xfff0707f
2035 #define MATCH_VFMV_V_F 0x5e005057
2036 #define MASK_VFMV_V_F 0xfff0707f
2037 #define MATCH_VFNCVT_F_F_W 0x480a1057
2038 #define MASK_VFNCVT_F_F_W 0xfc0ff07f
2039 #define MATCH_VFNCVT_F_X_W 0x48099057
2040 #define MASK_VFNCVT_F_X_W 0xfc0ff07f
2041 #define MATCH_VFNCVT_F_XU_W 0x48091057
2042 #define MASK_VFNCVT_F_XU_W 0xfc0ff07f
2043 #define MATCH_VFNCVT_ROD_F_F_W 0x480a9057
2044 #define MASK_VFNCVT_ROD_F_F_W 0xfc0ff07f
2045 #define MATCH_VFNCVT_RTZ_X_F_W 0x480b9057
2046 #define MASK_VFNCVT_RTZ_X_F_W 0xfc0ff07f
2047 #define MATCH_VFNCVT_RTZ_XU_F_W 0x480b1057
2048 #define MASK_VFNCVT_RTZ_XU_F_W 0xfc0ff07f
2049 #define MATCH_VFNCVT_X_F_W 0x48089057
2050 #define MASK_VFNCVT_X_F_W 0xfc0ff07f
2051 #define MATCH_VFNCVT_XU_F_W 0x48081057
2052 #define MASK_VFNCVT_XU_F_W 0xfc0ff07f
2053 #define MATCH_VFNMACC_VF 0xb4005057
2054 #define MASK_VFNMACC_VF 0xfc00707f
2055 #define MATCH_VFNMACC_VV 0xb4001057
2056 #define MASK_VFNMACC_VV 0xfc00707f
2057 #define MATCH_VFNMADD_VF 0xa4005057
2058 #define MASK_VFNMADD_VF 0xfc00707f
2059 #define MATCH_VFNMADD_VV 0xa4001057
2060 #define MASK_VFNMADD_VV 0xfc00707f
2061 #define MATCH_VFNMSAC_VF 0xbc005057
2062 #define MASK_VFNMSAC_VF 0xfc00707f
2063 #define MATCH_VFNMSAC_VV 0xbc001057
2064 #define MASK_VFNMSAC_VV 0xfc00707f
2065 #define MATCH_VFNMSUB_VF 0xac005057
2066 #define MASK_VFNMSUB_VF 0xfc00707f
2067 #define MATCH_VFNMSUB_VV 0xac001057
2068 #define MASK_VFNMSUB_VV 0xfc00707f
2069 #define MATCH_VFRDIV_VF 0x84005057
2070 #define MASK_VFRDIV_VF 0xfc00707f
2071 #define MATCH_VFREC7_V 0x4c029057
2072 #define MASK_VFREC7_V 0xfc0ff07f
2073 #define MATCH_VFREDMAX_VS 0x1c001057
2074 #define MASK_VFREDMAX_VS 0xfc00707f
2075 #define MATCH_VFREDMIN_VS 0x14001057
2076 #define MASK_VFREDMIN_VS 0xfc00707f
2077 #define MATCH_VFREDOSUM_VS 0xc001057
2078 #define MASK_VFREDOSUM_VS 0xfc00707f
2079 #define MATCH_VFREDUSUM_VS 0x4001057
2080 #define MASK_VFREDUSUM_VS 0xfc00707f
2081 #define MATCH_VFRSQRT7_V 0x4c021057
2082 #define MASK_VFRSQRT7_V 0xfc0ff07f
2083 #define MATCH_VFRSUB_VF 0x9c005057
2084 #define MASK_VFRSUB_VF 0xfc00707f
2085 #define MATCH_VFSGNJ_VF 0x20005057
2086 #define MASK_VFSGNJ_VF 0xfc00707f
2087 #define MATCH_VFSGNJ_VV 0x20001057
2088 #define MASK_VFSGNJ_VV 0xfc00707f
2089 #define MATCH_VFSGNJN_VF 0x24005057
2090 #define MASK_VFSGNJN_VF 0xfc00707f
2091 #define MATCH_VFSGNJN_VV 0x24001057
2092 #define MASK_VFSGNJN_VV 0xfc00707f
2093 #define MATCH_VFSGNJX_VF 0x28005057
2094 #define MASK_VFSGNJX_VF 0xfc00707f
2095 #define MATCH_VFSGNJX_VV 0x28001057
2096 #define MASK_VFSGNJX_VV 0xfc00707f
2097 #define MATCH_VFSLIDE1DOWN_VF 0x3c005057
2098 #define MASK_VFSLIDE1DOWN_VF 0xfc00707f
2099 #define MATCH_VFSLIDE1UP_VF 0x38005057
2100 #define MASK_VFSLIDE1UP_VF 0xfc00707f
2101 #define MATCH_VFSQRT_V 0x4c001057
2102 #define MASK_VFSQRT_V 0xfc0ff07f
2103 #define MATCH_VFSUB_VF 0x8005057
2104 #define MASK_VFSUB_VF 0xfc00707f
2105 #define MATCH_VFSUB_VV 0x8001057
2106 #define MASK_VFSUB_VV 0xfc00707f
2107 #define MATCH_VFWADD_VF 0xc0005057
2108 #define MASK_VFWADD_VF 0xfc00707f
2109 #define MATCH_VFWADD_VV 0xc0001057
2110 #define MASK_VFWADD_VV 0xfc00707f
2111 #define MATCH_VFWADD_WF 0xd0005057
2112 #define MASK_VFWADD_WF 0xfc00707f
2113 #define MATCH_VFWADD_WV 0xd0001057
2114 #define MASK_VFWADD_WV 0xfc00707f
2115 #define MATCH_VFWCVT_F_F_V 0x48061057
2116 #define MASK_VFWCVT_F_F_V 0xfc0ff07f
2117 #define MATCH_VFWCVT_F_X_V 0x48059057
2118 #define MASK_VFWCVT_F_X_V 0xfc0ff07f
2119 #define MATCH_VFWCVT_F_XU_V 0x48051057
2120 #define MASK_VFWCVT_F_XU_V 0xfc0ff07f
2121 #define MATCH_VFWCVT_RTZ_X_F_V 0x48079057
2122 #define MASK_VFWCVT_RTZ_X_F_V 0xfc0ff07f
2123 #define MATCH_VFWCVT_RTZ_XU_F_V 0x48071057
2124 #define MASK_VFWCVT_RTZ_XU_F_V 0xfc0ff07f
2125 #define MATCH_VFWCVT_X_F_V 0x48049057
2126 #define MASK_VFWCVT_X_F_V 0xfc0ff07f
2127 #define MATCH_VFWCVT_XU_F_V 0x48041057
2128 #define MASK_VFWCVT_XU_F_V 0xfc0ff07f
2129 #define MATCH_VFWMACC_VF 0xf0005057
2130 #define MASK_VFWMACC_VF 0xfc00707f
2131 #define MATCH_VFWMACC_VV 0xf0001057
2132 #define MASK_VFWMACC_VV 0xfc00707f
2133 #define MATCH_VFWMSAC_VF 0xf8005057
2134 #define MASK_VFWMSAC_VF 0xfc00707f
2135 #define MATCH_VFWMSAC_VV 0xf8001057
2136 #define MASK_VFWMSAC_VV 0xfc00707f
2137 #define MATCH_VFWMUL_VF 0xe0005057
2138 #define MASK_VFWMUL_VF 0xfc00707f
2139 #define MATCH_VFWMUL_VV 0xe0001057
2140 #define MASK_VFWMUL_VV 0xfc00707f
2141 #define MATCH_VFWNMACC_VF 0xf4005057
2142 #define MASK_VFWNMACC_VF 0xfc00707f
2143 #define MATCH_VFWNMACC_VV 0xf4001057
2144 #define MASK_VFWNMACC_VV 0xfc00707f
2145 #define MATCH_VFWNMSAC_VF 0xfc005057
2146 #define MASK_VFWNMSAC_VF 0xfc00707f
2147 #define MATCH_VFWNMSAC_VV 0xfc001057
2148 #define MASK_VFWNMSAC_VV 0xfc00707f
2149 #define MATCH_VFWREDOSUM_VS 0xcc001057
2150 #define MASK_VFWREDOSUM_VS 0xfc00707f
2151 #define MATCH_VFWREDUSUM_VS 0xc4001057
2152 #define MASK_VFWREDUSUM_VS 0xfc00707f
2153 #define MATCH_VFWSUB_VF 0xc8005057
2154 #define MASK_VFWSUB_VF 0xfc00707f
2155 #define MATCH_VFWSUB_VV 0xc8001057
2156 #define MASK_VFWSUB_VV 0xfc00707f
2157 #define MATCH_VFWSUB_WF 0xd8005057
2158 #define MASK_VFWSUB_WF 0xfc00707f
2159 #define MATCH_VFWSUB_WV 0xd8001057
2160 #define MASK_VFWSUB_WV 0xfc00707f
2161 #define MATCH_VID_V 0x5008a057
2162 #define MASK_VID_V 0xfdfff07f
2163 #define MATCH_VIOTA_M 0x50082057
2164 #define MASK_VIOTA_M 0xfc0ff07f
2165 #define MATCH_VL1RE16_V 0x2805007
2166 #define MASK_VL1RE16_V 0xfff0707f
2167 #define MATCH_VL1RE32_V 0x2806007
2168 #define MASK_VL1RE32_V 0xfff0707f
2169 #define MATCH_VL1RE64_V 0x2807007
2170 #define MASK_VL1RE64_V 0xfff0707f
2171 #define MATCH_VL1RE8_V 0x2800007
2172 #define MASK_VL1RE8_V 0xfff0707f
2173 #define MATCH_VL2RE16_V 0x22805007
2174 #define MASK_VL2RE16_V 0xfff0707f
2175 #define MATCH_VL2RE32_V 0x22806007
2176 #define MASK_VL2RE32_V 0xfff0707f
2177 #define MATCH_VL2RE64_V 0x22807007
2178 #define MASK_VL2RE64_V 0xfff0707f
2179 #define MATCH_VL2RE8_V 0x22800007
2180 #define MASK_VL2RE8_V 0xfff0707f
2181 #define MATCH_VL4RE16_V 0x62805007
2182 #define MASK_VL4RE16_V 0xfff0707f
2183 #define MATCH_VL4RE32_V 0x62806007
2184 #define MASK_VL4RE32_V 0xfff0707f
2185 #define MATCH_VL4RE64_V 0x62807007
2186 #define MASK_VL4RE64_V 0xfff0707f
2187 #define MATCH_VL4RE8_V 0x62800007
2188 #define MASK_VL4RE8_V 0xfff0707f
2189 #define MATCH_VL8RE16_V 0xe2805007
2190 #define MASK_VL8RE16_V 0xfff0707f
2191 #define MATCH_VL8RE32_V 0xe2806007
2192 #define MASK_VL8RE32_V 0xfff0707f
2193 #define MATCH_VL8RE64_V 0xe2807007
2194 #define MASK_VL8RE64_V 0xfff0707f
2195 #define MATCH_VL8RE8_V 0xe2800007
2196 #define MASK_VL8RE8_V 0xfff0707f
2197 #define MATCH_VLE1024_V 0x10007007
2198 #define MASK_VLE1024_V 0x1df0707f
2199 #define MATCH_VLE1024FF_V 0x11007007
2200 #define MASK_VLE1024FF_V 0x1df0707f
2201 #define MATCH_VLE128_V 0x10000007
2202 #define MASK_VLE128_V 0x1df0707f
2203 #define MATCH_VLE128FF_V 0x11000007
2204 #define MASK_VLE128FF_V 0x1df0707f
2205 #define MATCH_VLE16_V 0x5007
2206 #define MASK_VLE16_V 0x1df0707f
2207 #define MATCH_VLE16FF_V 0x1005007
2208 #define MASK_VLE16FF_V 0x1df0707f
2209 #define MATCH_VLE256_V 0x10005007
2210 #define MASK_VLE256_V 0x1df0707f
2211 #define MATCH_VLE256FF_V 0x11005007
2212 #define MASK_VLE256FF_V 0x1df0707f
2213 #define MATCH_VLE32_V 0x6007
2214 #define MASK_VLE32_V 0x1df0707f
2215 #define MATCH_VLE32FF_V 0x1006007
2216 #define MASK_VLE32FF_V 0x1df0707f
2217 #define MATCH_VLE512_V 0x10006007
2218 #define MASK_VLE512_V 0x1df0707f
2219 #define MATCH_VLE512FF_V 0x11006007
2220 #define MASK_VLE512FF_V 0x1df0707f
2221 #define MATCH_VLE64_V 0x7007
2222 #define MASK_VLE64_V 0x1df0707f
2223 #define MATCH_VLE64FF_V 0x1007007
2224 #define MASK_VLE64FF_V 0x1df0707f
2225 #define MATCH_VLE8_V 0x7
2226 #define MASK_VLE8_V 0x1df0707f
2227 #define MATCH_VLE8FF_V 0x1000007
2228 #define MASK_VLE8FF_V 0x1df0707f
2229 #define MATCH_VLM_V 0x2b00007
2230 #define MASK_VLM_V 0xfff0707f
2231 #define MATCH_VLOXEI1024_V 0x1c007007
2232 #define MASK_VLOXEI1024_V 0x1c00707f
2233 #define MATCH_VLOXEI128_V 0x1c000007
2234 #define MASK_VLOXEI128_V 0x1c00707f
2235 #define MATCH_VLOXEI16_V 0xc005007
2236 #define MASK_VLOXEI16_V 0x1c00707f
2237 #define MATCH_VLOXEI256_V 0x1c005007
2238 #define MASK_VLOXEI256_V 0x1c00707f
2239 #define MATCH_VLOXEI32_V 0xc006007
2240 #define MASK_VLOXEI32_V 0x1c00707f
2241 #define MATCH_VLOXEI512_V 0x1c006007
2242 #define MASK_VLOXEI512_V 0x1c00707f
2243 #define MATCH_VLOXEI64_V 0xc007007
2244 #define MASK_VLOXEI64_V 0x1c00707f
2245 #define MATCH_VLOXEI8_V 0xc000007
2246 #define MASK_VLOXEI8_V 0x1c00707f
2247 #define MATCH_VLSE1024_V 0x18007007
2248 #define MASK_VLSE1024_V 0x1c00707f
2249 #define MATCH_VLSE128_V 0x18000007
2250 #define MASK_VLSE128_V 0x1c00707f
2251 #define MATCH_VLSE16_V 0x8005007
2252 #define MASK_VLSE16_V 0x1c00707f
2253 #define MATCH_VLSE256_V 0x18005007
2254 #define MASK_VLSE256_V 0x1c00707f
2255 #define MATCH_VLSE32_V 0x8006007
2256 #define MASK_VLSE32_V 0x1c00707f
2257 #define MATCH_VLSE512_V 0x18006007
2258 #define MASK_VLSE512_V 0x1c00707f
2259 #define MATCH_VLSE64_V 0x8007007
2260 #define MASK_VLSE64_V 0x1c00707f
2261 #define MATCH_VLSE8_V 0x8000007
2262 #define MASK_VLSE8_V 0x1c00707f
2263 #define MATCH_VLUXEI1024_V 0x14007007
2264 #define MASK_VLUXEI1024_V 0x1c00707f
2265 #define MATCH_VLUXEI128_V 0x14000007
2266 #define MASK_VLUXEI128_V 0x1c00707f
2267 #define MATCH_VLUXEI16_V 0x4005007
2268 #define MASK_VLUXEI16_V 0x1c00707f
2269 #define MATCH_VLUXEI256_V 0x14005007
2270 #define MASK_VLUXEI256_V 0x1c00707f
2271 #define MATCH_VLUXEI32_V 0x4006007
2272 #define MASK_VLUXEI32_V 0x1c00707f
2273 #define MATCH_VLUXEI512_V 0x14006007
2274 #define MASK_VLUXEI512_V 0x1c00707f
2275 #define MATCH_VLUXEI64_V 0x4007007
2276 #define MASK_VLUXEI64_V 0x1c00707f
2277 #define MATCH_VLUXEI8_V 0x4000007
2278 #define MASK_VLUXEI8_V 0x1c00707f
2279 #define MATCH_VMACC_VV 0xb4002057
2280 #define MASK_VMACC_VV 0xfc00707f
2281 #define MATCH_VMACC_VX 0xb4006057
2282 #define MASK_VMACC_VX 0xfc00707f
2283 #define MATCH_VMADC_VI 0x46003057
2284 #define MASK_VMADC_VI 0xfe00707f
2285 #define MATCH_VMADC_VIM 0x44003057
2286 #define MASK_VMADC_VIM 0xfe00707f
2287 #define MATCH_VMADC_VV 0x46000057
2288 #define MASK_VMADC_VV 0xfe00707f
2289 #define MATCH_VMADC_VVM 0x44000057
2290 #define MASK_VMADC_VVM 0xfe00707f
2291 #define MATCH_VMADC_VX 0x46004057
2292 #define MASK_VMADC_VX 0xfe00707f
2293 #define MATCH_VMADC_VXM 0x44004057
2294 #define MASK_VMADC_VXM 0xfe00707f
2295 #define MATCH_VMADD_VV 0xa4002057
2296 #define MASK_VMADD_VV 0xfc00707f
2297 #define MATCH_VMADD_VX 0xa4006057
2298 #define MASK_VMADD_VX 0xfc00707f
2299 #define MATCH_VMAND_MM 0x64002057
2300 #define MASK_VMAND_MM 0xfc00707f
2301 #define MATCH_VMANDN_MM 0x60002057
2302 #define MASK_VMANDN_MM 0xfc00707f
2303 #define MATCH_VMAX_VV 0x1c000057
2304 #define MASK_VMAX_VV 0xfc00707f
2305 #define MATCH_VMAX_VX 0x1c004057
2306 #define MASK_VMAX_VX 0xfc00707f
2307 #define MATCH_VMAXU_VV 0x18000057
2308 #define MASK_VMAXU_VV 0xfc00707f
2309 #define MATCH_VMAXU_VX 0x18004057
2310 #define MASK_VMAXU_VX 0xfc00707f
2311 #define MATCH_VMERGE_VIM 0x5c003057
2312 #define MASK_VMERGE_VIM 0xfe00707f
2313 #define MATCH_VMERGE_VVM 0x5c000057
2314 #define MASK_VMERGE_VVM 0xfe00707f
2315 #define MATCH_VMERGE_VXM 0x5c004057
2316 #define MASK_VMERGE_VXM 0xfe00707f
2317 #define MATCH_VMFEQ_VF 0x60005057
2318 #define MASK_VMFEQ_VF 0xfc00707f
2319 #define MATCH_VMFEQ_VV 0x60001057
2320 #define MASK_VMFEQ_VV 0xfc00707f
2321 #define MATCH_VMFGE_VF 0x7c005057
2322 #define MASK_VMFGE_VF 0xfc00707f
2323 #define MATCH_VMFGT_VF 0x74005057
2324 #define MASK_VMFGT_VF 0xfc00707f
2325 #define MATCH_VMFLE_VF 0x64005057
2326 #define MASK_VMFLE_VF 0xfc00707f
2327 #define MATCH_VMFLE_VV 0x64001057
2328 #define MASK_VMFLE_VV 0xfc00707f
2329 #define MATCH_VMFLT_VF 0x6c005057
2330 #define MASK_VMFLT_VF 0xfc00707f
2331 #define MATCH_VMFLT_VV 0x6c001057
2332 #define MASK_VMFLT_VV 0xfc00707f
2333 #define MATCH_VMFNE_VF 0x70005057
2334 #define MASK_VMFNE_VF 0xfc00707f
2335 #define MATCH_VMFNE_VV 0x70001057
2336 #define MASK_VMFNE_VV 0xfc00707f
2337 #define MATCH_VMIN_VV 0x14000057
2338 #define MASK_VMIN_VV 0xfc00707f
2339 #define MATCH_VMIN_VX 0x14004057
2340 #define MASK_VMIN_VX 0xfc00707f
2341 #define MATCH_VMINU_VV 0x10000057
2342 #define MASK_VMINU_VV 0xfc00707f
2343 #define MATCH_VMINU_VX 0x10004057
2344 #define MASK_VMINU_VX 0xfc00707f
2345 #define MATCH_VMNAND_MM 0x74002057
2346 #define MASK_VMNAND_MM 0xfc00707f
2347 #define MATCH_VMNOR_MM 0x78002057
2348 #define MASK_VMNOR_MM 0xfc00707f
2349 #define MATCH_VMOR_MM 0x68002057
2350 #define MASK_VMOR_MM 0xfc00707f
2351 #define MATCH_VMORN_MM 0x70002057
2352 #define MASK_VMORN_MM 0xfc00707f
2353 #define MATCH_VMSBC_VV 0x4e000057
2354 #define MASK_VMSBC_VV 0xfe00707f
2355 #define MATCH_VMSBC_VVM 0x4c000057
2356 #define MASK_VMSBC_VVM 0xfe00707f
2357 #define MATCH_VMSBC_VX 0x4e004057
2358 #define MASK_VMSBC_VX 0xfe00707f
2359 #define MATCH_VMSBC_VXM 0x4c004057
2360 #define MASK_VMSBC_VXM 0xfe00707f
2361 #define MATCH_VMSBF_M 0x5000a057
2362 #define MASK_VMSBF_M 0xfc0ff07f
2363 #define MATCH_VMSEQ_VI 0x60003057
2364 #define MASK_VMSEQ_VI 0xfc00707f
2365 #define MATCH_VMSEQ_VV 0x60000057
2366 #define MASK_VMSEQ_VV 0xfc00707f
2367 #define MATCH_VMSEQ_VX 0x60004057
2368 #define MASK_VMSEQ_VX 0xfc00707f
2369 #define MATCH_VMSGT_VI 0x7c003057
2370 #define MASK_VMSGT_VI 0xfc00707f
2371 #define MATCH_VMSGT_VX 0x7c004057
2372 #define MASK_VMSGT_VX 0xfc00707f
2373 #define MATCH_VMSGTU_VI 0x78003057
2374 #define MASK_VMSGTU_VI 0xfc00707f
2375 #define MATCH_VMSGTU_VX 0x78004057
2376 #define MASK_VMSGTU_VX 0xfc00707f
2377 #define MATCH_VMSIF_M 0x5001a057
2378 #define MASK_VMSIF_M 0xfc0ff07f
2379 #define MATCH_VMSLE_VI 0x74003057
2380 #define MASK_VMSLE_VI 0xfc00707f
2381 #define MATCH_VMSLE_VV 0x74000057
2382 #define MASK_VMSLE_VV 0xfc00707f
2383 #define MATCH_VMSLE_VX 0x74004057
2384 #define MASK_VMSLE_VX 0xfc00707f
2385 #define MATCH_VMSLEU_VI 0x70003057
2386 #define MASK_VMSLEU_VI 0xfc00707f
2387 #define MATCH_VMSLEU_VV 0x70000057
2388 #define MASK_VMSLEU_VV 0xfc00707f
2389 #define MATCH_VMSLEU_VX 0x70004057
2390 #define MASK_VMSLEU_VX 0xfc00707f
2391 #define MATCH_VMSLT_VV 0x6c000057
2392 #define MASK_VMSLT_VV 0xfc00707f
2393 #define MATCH_VMSLT_VX 0x6c004057
2394 #define MASK_VMSLT_VX 0xfc00707f
2395 #define MATCH_VMSLTU_VV 0x68000057
2396 #define MASK_VMSLTU_VV 0xfc00707f
2397 #define MATCH_VMSLTU_VX 0x68004057
2398 #define MASK_VMSLTU_VX 0xfc00707f
2399 #define MATCH_VMSNE_VI 0x64003057
2400 #define MASK_VMSNE_VI 0xfc00707f
2401 #define MATCH_VMSNE_VV 0x64000057
2402 #define MASK_VMSNE_VV 0xfc00707f
2403 #define MATCH_VMSNE_VX 0x64004057
2404 #define MASK_VMSNE_VX 0xfc00707f
2405 #define MATCH_VMSOF_M 0x50012057
2406 #define MASK_VMSOF_M 0xfc0ff07f
2407 #define MATCH_VMUL_VV 0x94002057
2408 #define MASK_VMUL_VV 0xfc00707f
2409 #define MATCH_VMUL_VX 0x94006057
2410 #define MASK_VMUL_VX 0xfc00707f
2411 #define MATCH_VMULH_VV 0x9c002057
2412 #define MASK_VMULH_VV 0xfc00707f
2413 #define MATCH_VMULH_VX 0x9c006057
2414 #define MASK_VMULH_VX 0xfc00707f
2415 #define MATCH_VMULHSU_VV 0x98002057
2416 #define MASK_VMULHSU_VV 0xfc00707f
2417 #define MATCH_VMULHSU_VX 0x98006057
2418 #define MASK_VMULHSU_VX 0xfc00707f
2419 #define MATCH_VMULHU_VV 0x90002057
2420 #define MASK_VMULHU_VV 0xfc00707f
2421 #define MATCH_VMULHU_VX 0x90006057
2422 #define MASK_VMULHU_VX 0xfc00707f
2423 #define MATCH_VMV1R_V 0x9e003057
2424 #define MASK_VMV1R_V 0xfe0ff07f
2425 #define MATCH_VMV2R_V 0x9e00b057
2426 #define MASK_VMV2R_V 0xfe0ff07f
2427 #define MATCH_VMV4R_V 0x9e01b057
2428 #define MASK_VMV4R_V 0xfe0ff07f
2429 #define MATCH_VMV8R_V 0x9e03b057
2430 #define MASK_VMV8R_V 0xfe0ff07f
2431 #define MATCH_VMV_S_X 0x42006057
2432 #define MASK_VMV_S_X 0xfff0707f
2433 #define MATCH_VMV_V_I 0x5e003057
2434 #define MASK_VMV_V_I 0xfff0707f
2435 #define MATCH_VMV_V_V 0x5e000057
2436 #define MASK_VMV_V_V 0xfff0707f
2437 #define MATCH_VMV_V_X 0x5e004057
2438 #define MASK_VMV_V_X 0xfff0707f
2439 #define MATCH_VMV_X_S 0x42002057
2440 #define MASK_VMV_X_S 0xfe0ff07f
2441 #define MATCH_VMXNOR_MM 0x7c002057
2442 #define MASK_VMXNOR_MM 0xfc00707f
2443 #define MATCH_VMXOR_MM 0x6c002057
2444 #define MASK_VMXOR_MM 0xfc00707f
2445 #define MATCH_VNCLIP_WI 0xbc003057
2446 #define MASK_VNCLIP_WI 0xfc00707f
2447 #define MATCH_VNCLIP_WV 0xbc000057
2448 #define MASK_VNCLIP_WV 0xfc00707f
2449 #define MATCH_VNCLIP_WX 0xbc004057
2450 #define MASK_VNCLIP_WX 0xfc00707f
2451 #define MATCH_VNCLIPU_WI 0xb8003057
2452 #define MASK_VNCLIPU_WI 0xfc00707f
2453 #define MATCH_VNCLIPU_WV 0xb8000057
2454 #define MASK_VNCLIPU_WV 0xfc00707f
2455 #define MATCH_VNCLIPU_WX 0xb8004057
2456 #define MASK_VNCLIPU_WX 0xfc00707f
2457 #define MATCH_VNMSAC_VV 0xbc002057
2458 #define MASK_VNMSAC_VV 0xfc00707f
2459 #define MATCH_VNMSAC_VX 0xbc006057
2460 #define MASK_VNMSAC_VX 0xfc00707f
2461 #define MATCH_VNMSUB_VV 0xac002057
2462 #define MASK_VNMSUB_VV 0xfc00707f
2463 #define MATCH_VNMSUB_VX 0xac006057
2464 #define MASK_VNMSUB_VX 0xfc00707f
2465 #define MATCH_VNSRA_WI 0xb4003057
2466 #define MASK_VNSRA_WI 0xfc00707f
2467 #define MATCH_VNSRA_WV 0xb4000057
2468 #define MASK_VNSRA_WV 0xfc00707f
2469 #define MATCH_VNSRA_WX 0xb4004057
2470 #define MASK_VNSRA_WX 0xfc00707f
2471 #define MATCH_VNSRL_WI 0xb0003057
2472 #define MASK_VNSRL_WI 0xfc00707f
2473 #define MATCH_VNSRL_WV 0xb0000057
2474 #define MASK_VNSRL_WV 0xfc00707f
2475 #define MATCH_VNSRL_WX 0xb0004057
2476 #define MASK_VNSRL_WX 0xfc00707f
2477 #define MATCH_VOR_VI 0x28003057
2478 #define MASK_VOR_VI 0xfc00707f
2479 #define MATCH_VOR_VV 0x28000057
2480 #define MASK_VOR_VV 0xfc00707f
2481 #define MATCH_VOR_VX 0x28004057
2482 #define MASK_VOR_VX 0xfc00707f
2483 #define MATCH_VREDAND_VS 0x4002057
2484 #define MASK_VREDAND_VS 0xfc00707f
2485 #define MATCH_VREDMAX_VS 0x1c002057
2486 #define MASK_VREDMAX_VS 0xfc00707f
2487 #define MATCH_VREDMAXU_VS 0x18002057
2488 #define MASK_VREDMAXU_VS 0xfc00707f
2489 #define MATCH_VREDMIN_VS 0x14002057
2490 #define MASK_VREDMIN_VS 0xfc00707f
2491 #define MATCH_VREDMINU_VS 0x10002057
2492 #define MASK_VREDMINU_VS 0xfc00707f
2493 #define MATCH_VREDOR_VS 0x8002057
2494 #define MASK_VREDOR_VS 0xfc00707f
2495 #define MATCH_VREDSUM_VS 0x2057
2496 #define MASK_VREDSUM_VS 0xfc00707f
2497 #define MATCH_VREDXOR_VS 0xc002057
2498 #define MASK_VREDXOR_VS 0xfc00707f
2499 #define MATCH_VREM_VV 0x8c002057
2500 #define MASK_VREM_VV 0xfc00707f
2501 #define MATCH_VREM_VX 0x8c006057
2502 #define MASK_VREM_VX 0xfc00707f
2503 #define MATCH_VREMU_VV 0x88002057
2504 #define MASK_VREMU_VV 0xfc00707f
2505 #define MATCH_VREMU_VX 0x88006057
2506 #define MASK_VREMU_VX 0xfc00707f
2507 #define MATCH_VRGATHER_VI 0x30003057
2508 #define MASK_VRGATHER_VI 0xfc00707f
2509 #define MATCH_VRGATHER_VV 0x30000057
2510 #define MASK_VRGATHER_VV 0xfc00707f
2511 #define MATCH_VRGATHER_VX 0x30004057
2512 #define MASK_VRGATHER_VX 0xfc00707f
2513 #define MATCH_VRGATHEREI16_VV 0x38000057
2514 #define MASK_VRGATHEREI16_VV 0xfc00707f
2515 #define MATCH_VRSUB_VI 0xc003057
2516 #define MASK_VRSUB_VI 0xfc00707f
2517 #define MATCH_VRSUB_VX 0xc004057
2518 #define MASK_VRSUB_VX 0xfc00707f
2519 #define MATCH_VS1R_V 0x2800027
2520 #define MASK_VS1R_V 0xfff0707f
2521 #define MATCH_VS2R_V 0x22800027
2522 #define MASK_VS2R_V 0xfff0707f
2523 #define MATCH_VS4R_V 0x62800027
2524 #define MASK_VS4R_V 0xfff0707f
2525 #define MATCH_VS8R_V 0xe2800027
2526 #define MASK_VS8R_V 0xfff0707f
2527 #define MATCH_VSADD_VI 0x84003057
2528 #define MASK_VSADD_VI 0xfc00707f
2529 #define MATCH_VSADD_VV 0x84000057
2530 #define MASK_VSADD_VV 0xfc00707f
2531 #define MATCH_VSADD_VX 0x84004057
2532 #define MASK_VSADD_VX 0xfc00707f
2533 #define MATCH_VSADDU_VI 0x80003057
2534 #define MASK_VSADDU_VI 0xfc00707f
2535 #define MATCH_VSADDU_VV 0x80000057
2536 #define MASK_VSADDU_VV 0xfc00707f
2537 #define MATCH_VSADDU_VX 0x80004057
2538 #define MASK_VSADDU_VX 0xfc00707f
2539 #define MATCH_VSBC_VVM 0x48000057
2540 #define MASK_VSBC_VVM 0xfe00707f
2541 #define MATCH_VSBC_VXM 0x48004057
2542 #define MASK_VSBC_VXM 0xfe00707f
2543 #define MATCH_VSE1024_V 0x10007027
2544 #define MASK_VSE1024_V 0x1df0707f
2545 #define MATCH_VSE128_V 0x10000027
2546 #define MASK_VSE128_V 0x1df0707f
2547 #define MATCH_VSE16_V 0x5027
2548 #define MASK_VSE16_V 0x1df0707f
2549 #define MATCH_VSE256_V 0x10005027
2550 #define MASK_VSE256_V 0x1df0707f
2551 #define MATCH_VSE32_V 0x6027
2552 #define MASK_VSE32_V 0x1df0707f
2553 #define MATCH_VSE512_V 0x10006027
2554 #define MASK_VSE512_V 0x1df0707f
2555 #define MATCH_VSE64_V 0x7027
2556 #define MASK_VSE64_V 0x1df0707f
2557 #define MATCH_VSE8_V 0x27
2558 #define MASK_VSE8_V 0x1df0707f
2559 #define MATCH_VSETIVLI 0xc0007057
2560 #define MASK_VSETIVLI 0xc000707f
2561 #define MATCH_VSETVL 0x80007057
2562 #define MASK_VSETVL 0xfe00707f
2563 #define MATCH_VSETVLI 0x7057
2564 #define MASK_VSETVLI 0x8000707f
2565 #define MATCH_VSEXT_VF2 0x4803a057
2566 #define MASK_VSEXT_VF2 0xfc0ff07f
2567 #define MATCH_VSEXT_VF4 0x4802a057
2568 #define MASK_VSEXT_VF4 0xfc0ff07f
2569 #define MATCH_VSEXT_VF8 0x4801a057
2570 #define MASK_VSEXT_VF8 0xfc0ff07f
2571 #define MATCH_VSLIDE1DOWN_VX 0x3c006057
2572 #define MASK_VSLIDE1DOWN_VX 0xfc00707f
2573 #define MATCH_VSLIDE1UP_VX 0x38006057
2574 #define MASK_VSLIDE1UP_VX 0xfc00707f
2575 #define MATCH_VSLIDEDOWN_VI 0x3c003057
2576 #define MASK_VSLIDEDOWN_VI 0xfc00707f
2577 #define MATCH_VSLIDEDOWN_VX 0x3c004057
2578 #define MASK_VSLIDEDOWN_VX 0xfc00707f
2579 #define MATCH_VSLIDEUP_VI 0x38003057
2580 #define MASK_VSLIDEUP_VI 0xfc00707f
2581 #define MATCH_VSLIDEUP_VX 0x38004057
2582 #define MASK_VSLIDEUP_VX 0xfc00707f
2583 #define MATCH_VSLL_VI 0x94003057
2584 #define MASK_VSLL_VI 0xfc00707f
2585 #define MATCH_VSLL_VV 0x94000057
2586 #define MASK_VSLL_VV 0xfc00707f
2587 #define MATCH_VSLL_VX 0x94004057
2588 #define MASK_VSLL_VX 0xfc00707f
2589 #define MATCH_VSM_V 0x2b00027
2590 #define MASK_VSM_V 0xfff0707f
2591 #define MATCH_VSMUL_VV 0x9c000057
2592 #define MASK_VSMUL_VV 0xfc00707f
2593 #define MATCH_VSMUL_VX 0x9c004057
2594 #define MASK_VSMUL_VX 0xfc00707f
2595 #define MATCH_VSOXEI1024_V 0x1c007027
2596 #define MASK_VSOXEI1024_V 0x1c00707f
2597 #define MATCH_VSOXEI128_V 0x1c000027
2598 #define MASK_VSOXEI128_V 0x1c00707f
2599 #define MATCH_VSOXEI16_V 0xc005027
2600 #define MASK_VSOXEI16_V 0x1c00707f
2601 #define MATCH_VSOXEI256_V 0x1c005027
2602 #define MASK_VSOXEI256_V 0x1c00707f
2603 #define MATCH_VSOXEI32_V 0xc006027
2604 #define MASK_VSOXEI32_V 0x1c00707f
2605 #define MATCH_VSOXEI512_V 0x1c006027
2606 #define MASK_VSOXEI512_V 0x1c00707f
2607 #define MATCH_VSOXEI64_V 0xc007027
2608 #define MASK_VSOXEI64_V 0x1c00707f
2609 #define MATCH_VSOXEI8_V 0xc000027
2610 #define MASK_VSOXEI8_V 0x1c00707f
2611 #define MATCH_VSRA_VI 0xa4003057
2612 #define MASK_VSRA_VI 0xfc00707f
2613 #define MATCH_VSRA_VV 0xa4000057
2614 #define MASK_VSRA_VV 0xfc00707f
2615 #define MATCH_VSRA_VX 0xa4004057
2616 #define MASK_VSRA_VX 0xfc00707f
2617 #define MATCH_VSRL_VI 0xa0003057
2618 #define MASK_VSRL_VI 0xfc00707f
2619 #define MATCH_VSRL_VV 0xa0000057
2620 #define MASK_VSRL_VV 0xfc00707f
2621 #define MATCH_VSRL_VX 0xa0004057
2622 #define MASK_VSRL_VX 0xfc00707f
2623 #define MATCH_VSSE1024_V 0x18007027
2624 #define MASK_VSSE1024_V 0x1c00707f
2625 #define MATCH_VSSE128_V 0x18000027
2626 #define MASK_VSSE128_V 0x1c00707f
2627 #define MATCH_VSSE16_V 0x8005027
2628 #define MASK_VSSE16_V 0x1c00707f
2629 #define MATCH_VSSE256_V 0x18005027
2630 #define MASK_VSSE256_V 0x1c00707f
2631 #define MATCH_VSSE32_V 0x8006027
2632 #define MASK_VSSE32_V 0x1c00707f
2633 #define MATCH_VSSE512_V 0x18006027
2634 #define MASK_VSSE512_V 0x1c00707f
2635 #define MATCH_VSSE64_V 0x8007027
2636 #define MASK_VSSE64_V 0x1c00707f
2637 #define MATCH_VSSE8_V 0x8000027
2638 #define MASK_VSSE8_V 0x1c00707f
2639 #define MATCH_VSSRA_VI 0xac003057
2640 #define MASK_VSSRA_VI 0xfc00707f
2641 #define MATCH_VSSRA_VV 0xac000057
2642 #define MASK_VSSRA_VV 0xfc00707f
2643 #define MATCH_VSSRA_VX 0xac004057
2644 #define MASK_VSSRA_VX 0xfc00707f
2645 #define MATCH_VSSRL_VI 0xa8003057
2646 #define MASK_VSSRL_VI 0xfc00707f
2647 #define MATCH_VSSRL_VV 0xa8000057
2648 #define MASK_VSSRL_VV 0xfc00707f
2649 #define MATCH_VSSRL_VX 0xa8004057
2650 #define MASK_VSSRL_VX 0xfc00707f
2651 #define MATCH_VSSUB_VV 0x8c000057
2652 #define MASK_VSSUB_VV 0xfc00707f
2653 #define MATCH_VSSUB_VX 0x8c004057
2654 #define MASK_VSSUB_VX 0xfc00707f
2655 #define MATCH_VSSUBU_VV 0x88000057
2656 #define MASK_VSSUBU_VV 0xfc00707f
2657 #define MATCH_VSSUBU_VX 0x88004057
2658 #define MASK_VSSUBU_VX 0xfc00707f
2659 #define MATCH_VSUB_VV 0x8000057
2660 #define MASK_VSUB_VV 0xfc00707f
2661 #define MATCH_VSUB_VX 0x8004057
2662 #define MASK_VSUB_VX 0xfc00707f
2663 #define MATCH_VSUXEI1024_V 0x14007027
2664 #define MASK_VSUXEI1024_V 0x1c00707f
2665 #define MATCH_VSUXEI128_V 0x14000027
2666 #define MASK_VSUXEI128_V 0x1c00707f
2667 #define MATCH_VSUXEI16_V 0x4005027
2668 #define MASK_VSUXEI16_V 0x1c00707f
2669 #define MATCH_VSUXEI256_V 0x14005027
2670 #define MASK_VSUXEI256_V 0x1c00707f
2671 #define MATCH_VSUXEI32_V 0x4006027
2672 #define MASK_VSUXEI32_V 0x1c00707f
2673 #define MATCH_VSUXEI512_V 0x14006027
2674 #define MASK_VSUXEI512_V 0x1c00707f
2675 #define MATCH_VSUXEI64_V 0x4007027
2676 #define MASK_VSUXEI64_V 0x1c00707f
2677 #define MATCH_VSUXEI8_V 0x4000027
2678 #define MASK_VSUXEI8_V 0x1c00707f
2679 #define MATCH_VWADD_VV 0xc4002057
2680 #define MASK_VWADD_VV 0xfc00707f
2681 #define MATCH_VWADD_VX 0xc4006057
2682 #define MASK_VWADD_VX 0xfc00707f
2683 #define MATCH_VWADD_WV 0xd4002057
2684 #define MASK_VWADD_WV 0xfc00707f
2685 #define MATCH_VWADD_WX 0xd4006057
2686 #define MASK_VWADD_WX 0xfc00707f
2687 #define MATCH_VWADDU_VV 0xc0002057
2688 #define MASK_VWADDU_VV 0xfc00707f
2689 #define MATCH_VWADDU_VX 0xc0006057
2690 #define MASK_VWADDU_VX 0xfc00707f
2691 #define MATCH_VWADDU_WV 0xd0002057
2692 #define MASK_VWADDU_WV 0xfc00707f
2693 #define MATCH_VWADDU_WX 0xd0006057
2694 #define MASK_VWADDU_WX 0xfc00707f
2695 #define MATCH_VWMACC_VV 0xf4002057
2696 #define MASK_VWMACC_VV 0xfc00707f
2697 #define MATCH_VWMACC_VX 0xf4006057
2698 #define MASK_VWMACC_VX 0xfc00707f
2699 #define MATCH_VWMACCSU_VV 0xfc002057
2700 #define MASK_VWMACCSU_VV 0xfc00707f
2701 #define MATCH_VWMACCSU_VX 0xfc006057
2702 #define MASK_VWMACCSU_VX 0xfc00707f
2703 #define MATCH_VWMACCU_VV 0xf0002057
2704 #define MASK_VWMACCU_VV 0xfc00707f
2705 #define MATCH_VWMACCU_VX 0xf0006057
2706 #define MASK_VWMACCU_VX 0xfc00707f
2707 #define MATCH_VWMACCUS_VX 0xf8006057
2708 #define MASK_VWMACCUS_VX 0xfc00707f
2709 #define MATCH_VWMUL_VV 0xec002057
2710 #define MASK_VWMUL_VV 0xfc00707f
2711 #define MATCH_VWMUL_VX 0xec006057
2712 #define MASK_VWMUL_VX 0xfc00707f
2713 #define MATCH_VWMULSU_VV 0xe8002057
2714 #define MASK_VWMULSU_VV 0xfc00707f
2715 #define MATCH_VWMULSU_VX 0xe8006057
2716 #define MASK_VWMULSU_VX 0xfc00707f
2717 #define MATCH_VWMULU_VV 0xe0002057
2718 #define MASK_VWMULU_VV 0xfc00707f
2719 #define MATCH_VWMULU_VX 0xe0006057
2720 #define MASK_VWMULU_VX 0xfc00707f
2721 #define MATCH_VWREDSUM_VS 0xc4000057
2722 #define MASK_VWREDSUM_VS 0xfc00707f
2723 #define MATCH_VWREDSUMU_VS 0xc0000057
2724 #define MASK_VWREDSUMU_VS 0xfc00707f
2725 #define MATCH_VWSUB_VV 0xcc002057
2726 #define MASK_VWSUB_VV 0xfc00707f
2727 #define MATCH_VWSUB_VX 0xcc006057
2728 #define MASK_VWSUB_VX 0xfc00707f
2729 #define MATCH_VWSUB_WV 0xdc002057
2730 #define MASK_VWSUB_WV 0xfc00707f
2731 #define MATCH_VWSUB_WX 0xdc006057
2732 #define MASK_VWSUB_WX 0xfc00707f
2733 #define MATCH_VWSUBU_VV 0xc8002057
2734 #define MASK_VWSUBU_VV 0xfc00707f
2735 #define MATCH_VWSUBU_VX 0xc8006057
2736 #define MASK_VWSUBU_VX 0xfc00707f
2737 #define MATCH_VWSUBU_WV 0xd8002057
2738 #define MASK_VWSUBU_WV 0xfc00707f
2739 #define MATCH_VWSUBU_WX 0xd8006057
2740 #define MASK_VWSUBU_WX 0xfc00707f
2741 #define MATCH_VXOR_VI 0x2c003057
2742 #define MASK_VXOR_VI 0xfc00707f
2743 #define MATCH_VXOR_VV 0x2c000057
2744 #define MASK_VXOR_VV 0xfc00707f
2745 #define MATCH_VXOR_VX 0x2c004057
2746 #define MASK_VXOR_VX 0xfc00707f
2747 #define MATCH_VZEXT_VF2 0x48032057
2748 #define MASK_VZEXT_VF2 0xfc0ff07f
2749 #define MATCH_VZEXT_VF4 0x48022057
2750 #define MASK_VZEXT_VF4 0xfc0ff07f
2751 #define MATCH_VZEXT_VF8 0x48012057
2752 #define MASK_VZEXT_VF8 0xfc0ff07f
2753 #define MATCH_WEXT 0xce000077
2754 #define MASK_WEXT 0xfe00707f
2755 #define MATCH_WEXTI 0xde000077
2756 #define MASK_WEXTI 0xfe00707f
2757 #define MATCH_WFI 0x10500073
2758 #define MASK_WFI 0xffffffff
2759 #define MATCH_WRS_NTO 0xd00073
2760 #define MASK_WRS_NTO 0xffffffff
2761 #define MATCH_WRS_STO 0x1d00073
2762 #define MASK_WRS_STO 0xffffffff
2763 #define MATCH_XNOR 0x40004033
2764 #define MASK_XNOR 0xfe00707f
2765 #define MATCH_XOR 0x4033
2766 #define MASK_XOR 0xfe00707f
2767 #define MATCH_XORI 0x4013
2768 #define MASK_XORI 0x707f
2769 #define MATCH_XPERM16 0x28006033
2770 #define MASK_XPERM16 0xfe00707f
2771 #define MATCH_XPERM32 0x28000033
2772 #define MASK_XPERM32 0xfe00707f
2773 #define MATCH_XPERM4 0x28002033
2774 #define MASK_XPERM4 0xfe00707f
2775 #define MATCH_XPERM8 0x28004033
2776 #define MASK_XPERM8 0xfe00707f
2777 #define MATCH_ZUNPKD810 0xacc00077
2778 #define MASK_ZUNPKD810 0xfff0707f
2779 #define MATCH_ZUNPKD820 0xacd00077
2780 #define MASK_ZUNPKD820 0xfff0707f
2781 #define MATCH_ZUNPKD830 0xace00077
2782 #define MASK_ZUNPKD830 0xfff0707f
2783 #define MATCH_ZUNPKD831 0xacf00077
2784 #define MASK_ZUNPKD831 0xfff0707f
2785 #define MATCH_ZUNPKD832 0xad700077
2786 #define MASK_ZUNPKD832 0xfff0707f
2788 #define CSR_FFLAGS 0x1
2790 #define CSR_FCSR 0x3
2791 #define CSR_VSTART 0x8
2792 #define CSR_VXSAT 0x9
2793 #define CSR_VXRM 0xa
2794 #define CSR_VCSR 0xf
2795 #define CSR_SEED 0x15
2796 #define CSR_CYCLE 0xc00
2797 #define CSR_TIME 0xc01
2798 #define CSR_INSTRET 0xc02
2799 #define CSR_HPMCOUNTER3 0xc03
2800 #define CSR_HPMCOUNTER4 0xc04
2801 #define CSR_HPMCOUNTER5 0xc05
2802 #define CSR_HPMCOUNTER6 0xc06
2803 #define CSR_HPMCOUNTER7 0xc07
2804 #define CSR_HPMCOUNTER8 0xc08
2805 #define CSR_HPMCOUNTER9 0xc09
2806 #define CSR_HPMCOUNTER10 0xc0a
2807 #define CSR_HPMCOUNTER11 0xc0b
2808 #define CSR_HPMCOUNTER12 0xc0c
2809 #define CSR_HPMCOUNTER13 0xc0d
2810 #define CSR_HPMCOUNTER14 0xc0e
2811 #define CSR_HPMCOUNTER15 0xc0f
2812 #define CSR_HPMCOUNTER16 0xc10
2813 #define CSR_HPMCOUNTER17 0xc11
2814 #define CSR_HPMCOUNTER18 0xc12
2815 #define CSR_HPMCOUNTER19 0xc13
2816 #define CSR_HPMCOUNTER20 0xc14
2817 #define CSR_HPMCOUNTER21 0xc15
2818 #define CSR_HPMCOUNTER22 0xc16
2819 #define CSR_HPMCOUNTER23 0xc17
2820 #define CSR_HPMCOUNTER24 0xc18
2821 #define CSR_HPMCOUNTER25 0xc19
2822 #define CSR_HPMCOUNTER26 0xc1a
2823 #define CSR_HPMCOUNTER27 0xc1b
2824 #define CSR_HPMCOUNTER28 0xc1c
2825 #define CSR_HPMCOUNTER29 0xc1d
2826 #define CSR_HPMCOUNTER30 0xc1e
2827 #define CSR_HPMCOUNTER31 0xc1f
2828 #define CSR_VL 0xc20
2829 #define CSR_VTYPE 0xc21
2830 #define CSR_VLENB 0xc22
2831 #define CSR_SSTATUS 0x100
2832 #define CSR_SEDELEG 0x102
2833 #define CSR_SIDELEG 0x103
2834 #define CSR_SIE 0x104
2835 #define CSR_STVEC 0x105
2836 #define CSR_SCOUNTEREN 0x106
2837 #define CSR_SENVCFG 0x10a
2838 #define CSR_SSTATEEN0 0x10c
2839 #define CSR_SSTATEEN1 0x10d
2840 #define CSR_SSTATEEN2 0x10e
2841 #define CSR_SSTATEEN3 0x10f
2842 #define CSR_SSCRATCH 0x140
2843 #define CSR_SEPC 0x141
2844 #define CSR_SCAUSE 0x142
2845 #define CSR_STVAL 0x143
2846 #define CSR_SIP 0x144
2847 #define CSR_STIMECMP 0x14d
2848 #define CSR_SATP 0x180
2849 #define CSR_SCONTEXT 0x5a8
2850 #define CSR_VSSTATUS 0x200
2851 #define CSR_VSIE 0x204
2852 #define CSR_VSTVEC 0x205
2853 #define CSR_VSSCRATCH 0x240
2854 #define CSR_VSEPC 0x241
2855 #define CSR_VSCAUSE 0x242
2856 #define CSR_VSTVAL 0x243
2857 #define CSR_VSIP 0x244
2858 #define CSR_VSTIMECMP 0x24d
2859 #define CSR_VSATP 0x280
2860 #define CSR_HSTATUS 0x600
2861 #define CSR_HEDELEG 0x602
2862 #define CSR_HIDELEG 0x603
2863 #define CSR_HIE 0x604
2864 #define CSR_HTIMEDELTA 0x605
2865 #define CSR_HCOUNTEREN 0x606
2866 #define CSR_HGEIE 0x607
2867 #define CSR_HENVCFG 0x60a
2868 #define CSR_HSTATEEN0 0x60c
2869 #define CSR_HSTATEEN1 0x60d
2870 #define CSR_HSTATEEN2 0x60e
2871 #define CSR_HSTATEEN3 0x60f
2872 #define CSR_HTVAL 0x643
2873 #define CSR_HIP 0x644
2874 #define CSR_HVIP 0x645
2875 #define CSR_HTINST 0x64a
2876 #define CSR_HGATP 0x680
2877 #define CSR_HCONTEXT 0x6a8
2878 #define CSR_HGEIP 0xe12
2879 #define CSR_SCOUNTOVF 0xda0
2880 #define CSR_UTVT 0x7
2881 #define CSR_UNXTI 0x45
2882 #define CSR_UINTSTATUS 0x46
2883 #define CSR_USCRATCHCSW 0x48
2884 #define CSR_USCRATCHCSWL 0x49
2885 #define CSR_STVT 0x107
2886 #define CSR_SNXTI 0x145
2887 #define CSR_SINTSTATUS 0x146
2888 #define CSR_SSCRATCHCSW 0x148
2889 #define CSR_SSCRATCHCSWL 0x149
2890 #define CSR_MTVT 0x307
2891 #define CSR_MNXTI 0x345
2892 #define CSR_MINTSTATUS 0x346
2893 #define CSR_MSCRATCHCSW 0x348
2894 #define CSR_MSCRATCHCSWL 0x349
2895 #define CSR_MSTATUS 0x300
2896 #define CSR_MISA 0x301
2897 #define CSR_MEDELEG 0x302
2898 #define CSR_MIDELEG 0x303
2899 #define CSR_MIE 0x304
2900 #define CSR_MTVEC 0x305
2901 #define CSR_MCOUNTEREN 0x306
2902 #define CSR_MENVCFG 0x30a
2903 #define CSR_MSTATEEN0 0x30c
2904 #define CSR_MSTATEEN1 0x30d
2905 #define CSR_MSTATEEN2 0x30e
2906 #define CSR_MSTATEEN3 0x30f
2907 #define CSR_MCOUNTINHIBIT 0x320
2908 #define CSR_MSCRATCH 0x340
2909 #define CSR_MEPC 0x341
2910 #define CSR_MCAUSE 0x342
2911 #define CSR_MTVAL 0x343
2912 #define CSR_MIP 0x344
2913 #define CSR_MTINST 0x34a
2914 #define CSR_MTVAL2 0x34b
2915 #define CSR_PMPCFG0 0x3a0
2916 #define CSR_PMPCFG1 0x3a1
2917 #define CSR_PMPCFG2 0x3a2
2918 #define CSR_PMPCFG3 0x3a3
2919 #define CSR_PMPCFG4 0x3a4
2920 #define CSR_PMPCFG5 0x3a5
2921 #define CSR_PMPCFG6 0x3a6
2922 #define CSR_PMPCFG7 0x3a7
2923 #define CSR_PMPCFG8 0x3a8
2924 #define CSR_PMPCFG9 0x3a9
2925 #define CSR_PMPCFG10 0x3aa
2926 #define CSR_PMPCFG11 0x3ab
2927 #define CSR_PMPCFG12 0x3ac
2928 #define CSR_PMPCFG13 0x3ad
2929 #define CSR_PMPCFG14 0x3ae
2930 #define CSR_PMPCFG15 0x3af
2931 #define CSR_PMPADDR0 0x3b0
2932 #define CSR_PMPADDR1 0x3b1
2933 #define CSR_PMPADDR2 0x3b2
2934 #define CSR_PMPADDR3 0x3b3
2935 #define CSR_PMPADDR4 0x3b4
2936 #define CSR_PMPADDR5 0x3b5
2937 #define CSR_PMPADDR6 0x3b6
2938 #define CSR_PMPADDR7 0x3b7
2939 #define CSR_PMPADDR8 0x3b8
2940 #define CSR_PMPADDR9 0x3b9
2941 #define CSR_PMPADDR10 0x3ba
2942 #define CSR_PMPADDR11 0x3bb
2943 #define CSR_PMPADDR12 0x3bc
2944 #define CSR_PMPADDR13 0x3bd
2945 #define CSR_PMPADDR14 0x3be
2946 #define CSR_PMPADDR15 0x3bf
2947 #define CSR_PMPADDR16 0x3c0
2948 #define CSR_PMPADDR17 0x3c1
2949 #define CSR_PMPADDR18 0x3c2
2950 #define CSR_PMPADDR19 0x3c3
2951 #define CSR_PMPADDR20 0x3c4
2952 #define CSR_PMPADDR21 0x3c5
2953 #define CSR_PMPADDR22 0x3c6
2954 #define CSR_PMPADDR23 0x3c7
2955 #define CSR_PMPADDR24 0x3c8
2956 #define CSR_PMPADDR25 0x3c9
2957 #define CSR_PMPADDR26 0x3ca
2958 #define CSR_PMPADDR27 0x3cb
2959 #define CSR_PMPADDR28 0x3cc
2960 #define CSR_PMPADDR29 0x3cd
2961 #define CSR_PMPADDR30 0x3ce
2962 #define CSR_PMPADDR31 0x3cf
2963 #define CSR_PMPADDR32 0x3d0
2964 #define CSR_PMPADDR33 0x3d1
2965 #define CSR_PMPADDR34 0x3d2
2966 #define CSR_PMPADDR35 0x3d3
2967 #define CSR_PMPADDR36 0x3d4
2968 #define CSR_PMPADDR37 0x3d5
2969 #define CSR_PMPADDR38 0x3d6
2970 #define CSR_PMPADDR39 0x3d7
2971 #define CSR_PMPADDR40 0x3d8
2972 #define CSR_PMPADDR41 0x3d9
2973 #define CSR_PMPADDR42 0x3da
2974 #define CSR_PMPADDR43 0x3db
2975 #define CSR_PMPADDR44 0x3dc
2976 #define CSR_PMPADDR45 0x3dd
2977 #define CSR_PMPADDR46 0x3de
2978 #define CSR_PMPADDR47 0x3df
2979 #define CSR_PMPADDR48 0x3e0
2980 #define CSR_PMPADDR49 0x3e1
2981 #define CSR_PMPADDR50 0x3e2
2982 #define CSR_PMPADDR51 0x3e3
2983 #define CSR_PMPADDR52 0x3e4
2984 #define CSR_PMPADDR53 0x3e5
2985 #define CSR_PMPADDR54 0x3e6
2986 #define CSR_PMPADDR55 0x3e7
2987 #define CSR_PMPADDR56 0x3e8
2988 #define CSR_PMPADDR57 0x3e9
2989 #define CSR_PMPADDR58 0x3ea
2990 #define CSR_PMPADDR59 0x3eb
2991 #define CSR_PMPADDR60 0x3ec
2992 #define CSR_PMPADDR61 0x3ed
2993 #define CSR_PMPADDR62 0x3ee
2994 #define CSR_PMPADDR63 0x3ef
2995 #define CSR_MSECCFG 0x747
2996 #define CSR_TSELECT 0x7a0
2997 #define CSR_TDATA1 0x7a1
2998 #define CSR_TDATA2 0x7a2
2999 #define CSR_TDATA3 0x7a3
3000 #define CSR_TINFO 0x7a4
3001 #define CSR_TCONTROL 0x7a5
3002 #define CSR_MCONTEXT 0x7a8
3003 #define CSR_MSCONTEXT 0x7aa
3004 #define CSR_DCSR 0x7b0
3005 #define CSR_DPC 0x7b1
3006 #define CSR_DSCRATCH0 0x7b2
3007 #define CSR_DSCRATCH1 0x7b3
3008 #define CSR_MCYCLE 0xb00
3009 #define CSR_MINSTRET 0xb02
3010 #define CSR_MHPMCOUNTER3 0xb03
3011 #define CSR_MHPMCOUNTER4 0xb04
3012 #define CSR_MHPMCOUNTER5 0xb05
3013 #define CSR_MHPMCOUNTER6 0xb06
3014 #define CSR_MHPMCOUNTER7 0xb07
3015 #define CSR_MHPMCOUNTER8 0xb08
3016 #define CSR_MHPMCOUNTER9 0xb09
3017 #define CSR_MHPMCOUNTER10 0xb0a
3018 #define CSR_MHPMCOUNTER11 0xb0b
3019 #define CSR_MHPMCOUNTER12 0xb0c
3020 #define CSR_MHPMCOUNTER13 0xb0d
3021 #define CSR_MHPMCOUNTER14 0xb0e
3022 #define CSR_MHPMCOUNTER15 0xb0f
3023 #define CSR_MHPMCOUNTER16 0xb10
3024 #define CSR_MHPMCOUNTER17 0xb11
3025 #define CSR_MHPMCOUNTER18 0xb12
3026 #define CSR_MHPMCOUNTER19 0xb13
3027 #define CSR_MHPMCOUNTER20 0xb14
3028 #define CSR_MHPMCOUNTER21 0xb15
3029 #define CSR_MHPMCOUNTER22 0xb16
3030 #define CSR_MHPMCOUNTER23 0xb17
3031 #define CSR_MHPMCOUNTER24 0xb18
3032 #define CSR_MHPMCOUNTER25 0xb19
3033 #define CSR_MHPMCOUNTER26 0xb1a
3034 #define CSR_MHPMCOUNTER27 0xb1b
3035 #define CSR_MHPMCOUNTER28 0xb1c
3036 #define CSR_MHPMCOUNTER29 0xb1d
3037 #define CSR_MHPMCOUNTER30 0xb1e
3038 #define CSR_MHPMCOUNTER31 0xb1f
3039 #define CSR_MHPMEVENT3 0x323
3040 #define CSR_MHPMEVENT4 0x324
3041 #define CSR_MHPMEVENT5 0x325
3042 #define CSR_MHPMEVENT6 0x326
3043 #define CSR_MHPMEVENT7 0x327
3044 #define CSR_MHPMEVENT8 0x328
3045 #define CSR_MHPMEVENT9 0x329
3046 #define CSR_MHPMEVENT10 0x32a
3047 #define CSR_MHPMEVENT11 0x32b
3048 #define CSR_MHPMEVENT12 0x32c
3049 #define CSR_MHPMEVENT13 0x32d
3050 #define CSR_MHPMEVENT14 0x32e
3051 #define CSR_MHPMEVENT15 0x32f
3052 #define CSR_MHPMEVENT16 0x330
3053 #define CSR_MHPMEVENT17 0x331
3054 #define CSR_MHPMEVENT18 0x332
3055 #define CSR_MHPMEVENT19 0x333
3056 #define CSR_MHPMEVENT20 0x334
3057 #define CSR_MHPMEVENT21 0x335
3058 #define CSR_MHPMEVENT22 0x336
3059 #define CSR_MHPMEVENT23 0x337
3060 #define CSR_MHPMEVENT24 0x338
3061 #define CSR_MHPMEVENT25 0x339
3062 #define CSR_MHPMEVENT26 0x33a
3063 #define CSR_MHPMEVENT27 0x33b
3064 #define CSR_MHPMEVENT28 0x33c
3065 #define CSR_MHPMEVENT29 0x33d
3066 #define CSR_MHPMEVENT30 0x33e
3067 #define CSR_MHPMEVENT31 0x33f
3068 #define CSR_MVENDORID 0xf11
3069 #define CSR_MARCHID 0xf12
3070 #define CSR_MIMPID 0xf13
3071 #define CSR_MHARTID 0xf14
3072 #define CSR_MCONFIGPTR 0xf15
3073 #define CSR_STIMECMPH 0x15d
3074 #define CSR_VSTIMECMPH 0x25d
3075 #define CSR_HTIMEDELTAH 0x615
3076 #define CSR_HENVCFGH 0x61a
3077 #define CSR_HSTATEEN0H 0x61c
3078 #define CSR_HSTATEEN1H 0x61d
3079 #define CSR_HSTATEEN2H 0x61e
3080 #define CSR_HSTATEEN3H 0x61f
3081 #define CSR_CYCLEH 0xc80
3082 #define CSR_TIMEH 0xc81
3083 #define CSR_INSTRETH 0xc82
3084 #define CSR_HPMCOUNTER3H 0xc83
3085 #define CSR_HPMCOUNTER4H 0xc84
3086 #define CSR_HPMCOUNTER5H 0xc85
3087 #define CSR_HPMCOUNTER6H 0xc86
3088 #define CSR_HPMCOUNTER7H 0xc87
3089 #define CSR_HPMCOUNTER8H 0xc88
3090 #define CSR_HPMCOUNTER9H 0xc89
3091 #define CSR_HPMCOUNTER10H 0xc8a
3092 #define CSR_HPMCOUNTER11H 0xc8b
3093 #define CSR_HPMCOUNTER12H 0xc8c
3094 #define CSR_HPMCOUNTER13H 0xc8d
3095 #define CSR_HPMCOUNTER14H 0xc8e
3096 #define CSR_HPMCOUNTER15H 0xc8f
3097 #define CSR_HPMCOUNTER16H 0xc90
3098 #define CSR_HPMCOUNTER17H 0xc91
3099 #define CSR_HPMCOUNTER18H 0xc92
3100 #define CSR_HPMCOUNTER19H 0xc93
3101 #define CSR_HPMCOUNTER20H 0xc94
3102 #define CSR_HPMCOUNTER21H 0xc95
3103 #define CSR_HPMCOUNTER22H 0xc96
3104 #define CSR_HPMCOUNTER23H 0xc97
3105 #define CSR_HPMCOUNTER24H 0xc98
3106 #define CSR_HPMCOUNTER25H 0xc99
3107 #define CSR_HPMCOUNTER26H 0xc9a
3108 #define CSR_HPMCOUNTER27H 0xc9b
3109 #define CSR_HPMCOUNTER28H 0xc9c
3110 #define CSR_HPMCOUNTER29H 0xc9d
3111 #define CSR_HPMCOUNTER30H 0xc9e
3112 #define CSR_HPMCOUNTER31H 0xc9f
3113 #define CSR_MSTATUSH 0x310
3114 #define CSR_MENVCFGH 0x31a
3115 #define CSR_MSTATEEN0H 0x31c
3116 #define CSR_MSTATEEN1H 0x31d
3117 #define CSR_MSTATEEN2H 0x31e
3118 #define CSR_MSTATEEN3H 0x31f
3119 #define CSR_MHPMEVENT3H 0x723
3120 #define CSR_MHPMEVENT4H 0x724
3121 #define CSR_MHPMEVENT5H 0x725
3122 #define CSR_MHPMEVENT6H 0x726
3123 #define CSR_MHPMEVENT7H 0x727
3124 #define CSR_MHPMEVENT8H 0x728
3125 #define CSR_MHPMEVENT9H 0x729
3126 #define CSR_MHPMEVENT10H 0x72a
3127 #define CSR_MHPMEVENT11H 0x72b
3128 #define CSR_MHPMEVENT12H 0x72c
3129 #define CSR_MHPMEVENT13H 0x72d
3130 #define CSR_MHPMEVENT14H 0x72e
3131 #define CSR_MHPMEVENT15H 0x72f
3132 #define CSR_MHPMEVENT16H 0x730
3133 #define CSR_MHPMEVENT17H 0x731
3134 #define CSR_MHPMEVENT18H 0x732
3135 #define CSR_MHPMEVENT19H 0x733
3136 #define CSR_MHPMEVENT20H 0x734
3137 #define CSR_MHPMEVENT21H 0x735
3138 #define CSR_MHPMEVENT22H 0x736
3139 #define CSR_MHPMEVENT23H 0x737
3140 #define CSR_MHPMEVENT24H 0x738
3141 #define CSR_MHPMEVENT25H 0x739
3142 #define CSR_MHPMEVENT26H 0x73a
3143 #define CSR_MHPMEVENT27H 0x73b
3144 #define CSR_MHPMEVENT28H 0x73c
3145 #define CSR_MHPMEVENT29H 0x73d
3146 #define CSR_MHPMEVENT30H 0x73e
3147 #define CSR_MHPMEVENT31H 0x73f
3148 #define CSR_MSECCFGH 0x757
3149 #define CSR_MCYCLEH 0xb80
3150 #define CSR_MINSTRETH 0xb82
3151 #define CSR_MHPMCOUNTER3H 0xb83
3152 #define CSR_MHPMCOUNTER4H 0xb84
3153 #define CSR_MHPMCOUNTER5H 0xb85
3154 #define CSR_MHPMCOUNTER6H 0xb86
3155 #define CSR_MHPMCOUNTER7H 0xb87
3156 #define CSR_MHPMCOUNTER8H 0xb88
3157 #define CSR_MHPMCOUNTER9H 0xb89
3158 #define CSR_MHPMCOUNTER10H 0xb8a
3159 #define CSR_MHPMCOUNTER11H 0xb8b
3160 #define CSR_MHPMCOUNTER12H 0xb8c
3161 #define CSR_MHPMCOUNTER13H 0xb8d
3162 #define CSR_MHPMCOUNTER14H 0xb8e
3163 #define CSR_MHPMCOUNTER15H 0xb8f
3164 #define CSR_MHPMCOUNTER16H 0xb90
3165 #define CSR_MHPMCOUNTER17H 0xb91
3166 #define CSR_MHPMCOUNTER18H 0xb92
3167 #define CSR_MHPMCOUNTER19H 0xb93
3168 #define CSR_MHPMCOUNTER20H 0xb94
3169 #define CSR_MHPMCOUNTER21H 0xb95
3170 #define CSR_MHPMCOUNTER22H 0xb96
3171 #define CSR_MHPMCOUNTER23H 0xb97
3172 #define CSR_MHPMCOUNTER24H 0xb98
3173 #define CSR_MHPMCOUNTER25H 0xb99
3174 #define CSR_MHPMCOUNTER26H 0xb9a
3175 #define CSR_MHPMCOUNTER27H 0xb9b
3176 #define CSR_MHPMCOUNTER28H 0xb9c
3177 #define CSR_MHPMCOUNTER29H 0xb9d
3178 #define CSR_MHPMCOUNTER30H 0xb9e
3179 #define CSR_MHPMCOUNTER31H 0xb9f
3181 #define CAUSE_MISALIGNED_FETCH 0x0
3182 #define CAUSE_FETCH_ACCESS 0x1
3183 #define CAUSE_ILLEGAL_INSTRUCTION 0x2
3184 #define CAUSE_BREAKPOINT 0x3
3185 #define CAUSE_MISALIGNED_LOAD 0x4
3186 #define CAUSE_LOAD_ACCESS 0x5
3187 #define CAUSE_MISALIGNED_STORE 0x6
3188 #define CAUSE_STORE_ACCESS 0x7
3189 #define CAUSE_USER_ECALL 0x8
3190 #define CAUSE_SUPERVISOR_ECALL 0x9
3191 #define CAUSE_VIRTUAL_SUPERVISOR_ECALL 0xa
3192 #define CAUSE_MACHINE_ECALL 0xb
3193 #define CAUSE_FETCH_PAGE_FAULT 0xc
3194 #define CAUSE_LOAD_PAGE_FAULT 0xd
3195 #define CAUSE_STORE_PAGE_FAULT 0xf
3196 #define CAUSE_FETCH_GUEST_PAGE_FAULT 0x14
3197 #define CAUSE_LOAD_GUEST_PAGE_FAULT 0x15
3198 #define CAUSE_VIRTUAL_INSTRUCTION 0x16
3199 #define CAUSE_STORE_GUEST_PAGE_FAULT 0x17
3201 #define INSN_FIELD_RD 0xf80
3202 #define INSN_FIELD_RT 0xf8000
3203 #define INSN_FIELD_RS1 0xf8000
3204 #define INSN_FIELD_RS2 0x1f00000
3205 #define INSN_FIELD_RS3 0xf8000000
3206 #define INSN_FIELD_AQRL 0x6000000
3207 #define INSN_FIELD_AQ 0x4000000
3208 #define INSN_FIELD_RL 0x2000000
3209 #define INSN_FIELD_FM 0xf0000000
3210 #define INSN_FIELD_PRED 0xf000000
3211 #define INSN_FIELD_SUCC 0xf00000
3212 #define INSN_FIELD_RM 0x7000
3213 #define INSN_FIELD_FUNCT3 0x7000
3214 #define INSN_FIELD_FUNCT2 0x6000000
3215 #define INSN_FIELD_IMM20 0xfffff000
3216 #define INSN_FIELD_JIMM20 0xfffff000
3217 #define INSN_FIELD_IMM12 0xfff00000
3218 #define INSN_FIELD_CSR 0xfff00000
3219 #define INSN_FIELD_IMM12HI 0xfe000000
3220 #define INSN_FIELD_BIMM12HI 0xfe000000
3221 #define INSN_FIELD_IMM12LO 0xf80
3222 #define INSN_FIELD_BIMM12LO 0xf80
3223 #define INSN_FIELD_ZIMM 0xf8000
3224 #define INSN_FIELD_SHAMT 0x7f00000
3225 #define INSN_FIELD_SHAMTW 0x1f00000
3226 #define INSN_FIELD_SHAMTW4 0xf00000
3227 #define INSN_FIELD_SHAMTD 0x3f00000
3228 #define INSN_FIELD_BS 0xc0000000
3229 #define INSN_FIELD_RNUM 0xf00000
3230 #define INSN_FIELD_RC 0x3e000000
3231 #define INSN_FIELD_IMM2 0x300000
3232 #define INSN_FIELD_IMM3 0x700000
3233 #define INSN_FIELD_IMM4 0xf00000
3234 #define INSN_FIELD_IMM5 0x1f00000
3235 #define INSN_FIELD_IMM6 0x3f00000
3236 #define INSN_FIELD_OPCODE 0x7f
3237 #define INSN_FIELD_FUNCT7 0xfe000000
3238 #define INSN_FIELD_VD 0xf80
3239 #define INSN_FIELD_VS3 0xf80
3240 #define INSN_FIELD_VS1 0xf8000
3241 #define INSN_FIELD_VS2 0x1f00000
3242 #define INSN_FIELD_VM 0x2000000
3243 #define INSN_FIELD_WD 0x4000000
3244 #define INSN_FIELD_AMOOP 0xf8000000
3245 #define INSN_FIELD_NF 0xe0000000
3246 #define INSN_FIELD_SIMM5 0xf8000
3247 #define INSN_FIELD_ZIMM10 0x3ff00000
3248 #define INSN_FIELD_ZIMM11 0x7ff00000
3249 #define INSN_FIELD_C_NZUIMM10 0x1fe0
3250 #define INSN_FIELD_C_UIMM7LO 0x60
3251 #define INSN_FIELD_C_UIMM7HI 0x1c00
3252 #define INSN_FIELD_C_UIMM8LO 0x60
3253 #define INSN_FIELD_C_UIMM8HI 0x1c00
3254 #define INSN_FIELD_C_UIMM9LO 0x60
3255 #define INSN_FIELD_C_UIMM9HI 0x1c00
3256 #define INSN_FIELD_C_NZIMM6LO 0x7c
3257 #define INSN_FIELD_C_NZIMM6HI 0x1000
3258 #define INSN_FIELD_C_IMM6LO 0x7c
3259 #define INSN_FIELD_C_IMM6HI 0x1000
3260 #define INSN_FIELD_C_NZIMM10HI 0x1000
3261 #define INSN_FIELD_C_NZIMM10LO 0x7c
3262 #define INSN_FIELD_C_NZIMM18HI 0x1000
3263 #define INSN_FIELD_C_NZIMM18LO 0x7c
3264 #define INSN_FIELD_C_IMM12 0x1ffc
3265 #define INSN_FIELD_C_BIMM9LO 0x7c
3266 #define INSN_FIELD_C_BIMM9HI 0x1c00
3267 #define INSN_FIELD_C_NZUIMM5 0x7c
3268 #define INSN_FIELD_C_NZUIMM6LO 0x7c
3269 #define INSN_FIELD_C_NZUIMM6HI 0x1000
3270 #define INSN_FIELD_C_UIMM8SPLO 0x7c
3271 #define INSN_FIELD_C_UIMM8SPHI 0x1000
3272 #define INSN_FIELD_C_UIMM8SP_S 0x1f80
3273 #define INSN_FIELD_C_UIMM10SPLO 0x7c
3274 #define INSN_FIELD_C_UIMM10SPHI 0x1000
3275 #define INSN_FIELD_C_UIMM9SPLO 0x7c
3276 #define INSN_FIELD_C_UIMM9SPHI 0x1000
3277 #define INSN_FIELD_C_UIMM10SP_S 0x1f80
3278 #define INSN_FIELD_C_UIMM9SP_S 0x1f80
3279 #define INSN_FIELD_RS1_P 0x380
3280 #define INSN_FIELD_RS2_P 0x1c
3281 #define INSN_FIELD_RD_P 0x1c
3282 #define INSN_FIELD_RD_RS1_N0 0xf80
3283 #define INSN_FIELD_RD_RS1_P 0x380
3284 #define INSN_FIELD_RD_RS1 0xf80
3285 #define INSN_FIELD_RD_N2 0xf80
3286 #define INSN_FIELD_RD_N0 0xf80
3287 #define INSN_FIELD_RS1_N0 0xf80
3288 #define INSN_FIELD_C_RS2_N0 0x7c
3289 #define INSN_FIELD_C_RS1_N0 0xf80
3290 #define INSN_FIELD_C_RS2 0x7c
4903 #ifdef DECLARE_CAUSE
static uint32_t ror(uint32_t value, int places)
#define MATCH_SFENCE_INVAL_IR
#define MASK_SFENCE_INVAL_IR
#define MASK_VAMOMINUEI16_V
#define CSR_MHPMCOUNTER17H
#define MATCH_VSOXEI128_V
#define MATCH_VFWNMACC_VV
#define MATCH_VSOXEI512_V
#define CAUSE_ILLEGAL_INSTRUCTION
#define CSR_MHPMCOUNTER16
#define MATCH_VSLIDEUP_VX
#define MASK_VAMOANDEI64_V
#define CSR_HPMCOUNTER25H
#define MATCH_VLUXEI1024_V
#define MASK_VLOXEI1024_V
#define MATCH_VFWNMSAC_VV
#define MATCH_VFNCVT_F_XU_W
#define CAUSE_MISALIGNED_LOAD
#define CSR_MHPMCOUNTER7H
#define CSR_MHPMCOUNTER27H
#define MASK_VAMOADDEI64_V
#define MATCH_VLOXEI512_V
#define CSR_MHPMCOUNTER25
#define CSR_MHPMCOUNTER20
#define MATCH_VFWREDOSUM_VS
#define MATCH_VAMOMAXUEI8_V
#define CSR_MHPMCOUNTER28
#define MASK_VAMOMAXUEI8_V
#define CAUSE_MACHINE_ECALL
#define CSR_MHPMCOUNTER31
#define CSR_HPMCOUNTER22H
#define MATCH_VFWCVT_RTZ_X_F_V
#define CSR_MHPMCOUNTER18H
#define MASK_VAMOADDEI8_V
#define MATCH_VFNCVT_F_X_W
#define MATCH_HINVAL_VVMA
#define CSR_MHPMCOUNTER21H
#define MASK_VFNCVT_RTZ_XU_F_W
#define MATCH_VSUXEI256_V
#define MASK_VSLIDE1DOWN_VX
#define MATCH_VFNCVT_XU_F_W
#define MATCH_VFWCVT_F_XU_V
#define CSR_HPMCOUNTER15H
#define MATCH_VFWCVT_F_X_V
#define MASK_VAMOXOREI16_V
#define MASK_VFSLIDE1UP_VF
#define MASK_VFNCVT_F_XU_W
#define MATCH_SHA512SIG1L
#define MASK_VSLIDE1UP_VX
#define MASK_VAMOOREI32_V
#define CSR_HPMCOUNTER12H
#define CSR_HPMCOUNTER19H
#define MASK_VAMOMINEI8_V
#define MATCH_VAMOMINEI32_V
#define CSR_MHPMCOUNTER28H
#define MASK_VFWCVT_RTZ_XU_F_V
#define MATCH_VAMOMINEI16_V
#define MASK_VFREDOSUM_VS
#define CAUSE_STORE_ACCESS
#define MATCH_VFREDUSUM_VS
#define CSR_MHPMCOUNTER21
#define MATCH_VRGATHER_VX
#define MASK_VAMOOREI16_V
#define MASK_VAMOMINEI32_V
#define CSR_MHPMCOUNTER9H
#define MASK_VAMOMAXEI16_V
#define MATCH_VAMOSWAPEI32_V
#define MATCH_VFWCVT_XU_F_V
#define CSR_MHPMCOUNTER29H
#define MASK_VAMOSWAPEI32_V
#define MASK_VFNCVT_F_X_W
#define MATCH_VRGATHER_VV
#define CSR_MHPMCOUNTER26
#define CSR_MHPMCOUNTER14
#define MATCH_VAMOANDEI16_V
#define MATCH_VLE1024FF_V
#define CSR_MHPMCOUNTER10H
#define MATCH_VAMOMAXEI8_V
#define MATCH_VSLIDE1UP_VX
#define MATCH_VAMOMINUEI64_V
#define MASK_VAMOXOREI8_V
#define MASK_VAMOMINEI16_V
#define MATCH_VLOXEI128_V
#define MATCH_VAMOMINUEI32_V
#define MASK_VFNCVT_X_F_W
#define MATCH_VAMOADDEI16_V
#define MATCH_VSOXEI1024_V
#define MATCH_VLOXEI256_V
#define CSR_MHPMCOUNTER11H
#define MATCH_VSOXEI256_V
#define MASK_VAMOXOREI32_V
#define MATCH_VLUXEI512_V
#define CSR_MHPMCOUNTER12H
#define MASK_VFSLIDE1DOWN_VF
#define MATCH_VFCVT_F_X_V
#define MATCH_VFCVT_RTZ_XU_F_V
#define MATCH_VFREDMIN_VS
#define MASK_VFWREDUSUM_VS
#define CSR_HPMCOUNTER31H
#define MATCH_VAMOMINUEI16_V
#define MATCH_VFWCVT_F_F_V
#define MASK_VFCVT_F_XU_V
#define CSR_MHPMCOUNTER25H
#define MATCH_VAMOXOREI16_V
#define MASK_VAMOADDEI16_V
#define CAUSE_LOAD_GUEST_PAGE_FAULT
#define MASK_VAMOMINUEI64_V
#define MATCH_VSUXEI512_V
#define MATCH_HFENCE_VVMA
#define MATCH_VFCVT_RTZ_X_F_V
#define CSR_MHPMCOUNTER26H
#define CSR_HPMCOUNTER27H
#define MASK_VWREDSUMU_VS
#define MATCH_VFNCVT_ROD_F_F_W
#define MATCH_VFNCVT_RTZ_XU_F_W
#define CSR_HPMCOUNTER17H
#define CSR_MHPMCOUNTER5H
#define CSR_HPMCOUNTER21H
#define MASK_VAMOMAXUEI32_V
#define MASK_VAMOOREI64_V
#define MATCH_VAMOOREI32_V
#define CSR_MHPMCOUNTER24H
#define CAUSE_STORE_GUEST_PAGE_FAULT
#define MASK_SFENCE_W_INVAL
#define CSR_HPMCOUNTER18H
#define MASK_VAMOXOREI64_V
#define MASK_VFNCVT_F_F_W
#define MASK_VSUXEI1024_V
#define MASK_VFREDUSUM_VS
#define CSR_MHPMCOUNTER8H
#define MASK_VAMOANDEI32_V
#define MATCH_VFMERGE_VFM
#define CSR_MHPMCOUNTER3H
#define MASK_VFWCVT_F_X_V
#define MATCH_BDECOMPRESSW
#define MASK_VFWCVT_RTZ_X_F_V
#define MATCH_VWMACCSU_VV
#define MASK_VAMOMAXEI8_V
#define MASK_VFWREDOSUM_VS
#define MATCH_VAMOADDEI64_V
#define MATCH_SHA512SIG0H
#define MASK_VSLIDEDOWN_VI
#define CSR_HPMCOUNTER14H
#define CSR_MHPMCOUNTER12
#define MATCH_VAMOMINEI8_V
#define CSR_MHPMCOUNTER20H
#define MASK_VAMOMAXEI32_V
#define MATCH_VAMOSWAPEI64_V
#define MATCH_VFNCVT_X_F_W
#define MATCH_SHA512SIG0L
#define MATCH_VAMOOREI64_V
#define MASK_VAMOANDEI8_V
#define CAUSE_FETCH_GUEST_PAGE_FAULT
#define MASK_VFWCVT_F_XU_V
#define MATCH_VAMOMINEI64_V
#define MATCH_VAMOMAXEI32_V
#define MATCH_VAMOMAXUEI64_V
#define MATCH_VAMOOREI16_V
#define CSR_HPMCOUNTER28H
#define MATCH_VREDMAXU_VS
#define MASK_VRGATHEREI16_VV
#define MATCH_VFWCVT_RTZ_XU_F_V
#define MASK_VLUXEI1024_V
#define CSR_MHPMCOUNTER31H
#define MASK_VSOXEI1024_V
#define CSR_MCOUNTINHIBIT
#define MATCH_SFENCE_W_INVAL
#define MASK_VAMOSWAPEI16_V
#define CAUSE_VIRTUAL_INSTRUCTION
#define MATCH_VRGATHER_VI
#define MATCH_SHA512SUM1R
#define MASK_VCOMPRESS_VM
#define MATCH_BDECOMPRESS
#define CSR_MHPMCOUNTER6H
#define CSR_HPMCOUNTER16H
#define CAUSE_MISALIGNED_FETCH
#define MATCH_VAMOMAXEI16_V
#define MATCH_SHA512SUM0R
#define CSR_MHPMCOUNTER23H
#define CSR_HPMCOUNTER20H
#define CSR_MHPMCOUNTER17
#define CSR_MHPMCOUNTER11
#define MATCH_VFCVT_X_F_V
#define CAUSE_LOAD_ACCESS
#define MASK_VAMOMAXUEI64_V
#define MATCH_VSLIDEDOWN_VX
#define MASK_VAMOMINUEI8_V
#define MATCH_VFWNMACC_VF
#define MASK_VFNCVT_XU_F_W
#define MATCH_VAMOSWAPEI8_V
#define MASK_VFCVT_XU_F_V
#define CSR_MHPMCOUNTER15H
#define MASK_VAMOSWAPEI8_V
#define MATCH_VAMOMAXUEI32_V
#define MASK_VFWCVT_XU_F_V
#define MASK_VFCVT_RTZ_XU_F_V
#define CSR_HPMCOUNTER23H
#define MASK_VAMOSWAPEI64_V
#define MATCH_VAMOXOREI8_V
#define MATCH_VFREDOSUM_VS
#define CSR_HPMCOUNTER30H
#define CSR_MHPMCOUNTER10
#define CSR_MHPMCOUNTER14H
#define MATCH_VFNCVT_RTZ_X_F_W
#define CAUSE_FETCH_ACCESS
#define CSR_MHPMCOUNTER29
#define MATCH_VCOMPRESS_VM
#define MATCH_VSUXEI1024_V
#define MATCH_VFWNMSAC_VF
#define MATCH_VSLIDE1DOWN_VX
#define MATCH_VAMOANDEI32_V
#define CAUSE_STORE_PAGE_FAULT
#define MATCH_VAMOSWAPEI16_V
#define CSR_HPMCOUNTER13H
#define CAUSE_SUPERVISOR_ECALL
#define MASK_VFWCVT_F_F_V
#define CAUSE_VIRTUAL_SUPERVISOR_ECALL
#define CSR_MHPMCOUNTER27
#define MATCH_VFSLIDE1UP_VF
#define CAUSE_FETCH_PAGE_FAULT
#define CSR_MHPMCOUNTER18
#define CSR_MHPMCOUNTER13H
#define MATCH_VAMOADDEI8_V
#define CSR_HPMCOUNTER26H
#define MATCH_VAMOANDEI64_V
#define MATCH_VLOXEI1024_V
#define MASK_VFWCVT_X_F_V
#define MATCH_VSLIDEDOWN_VI
#define MATCH_VLUXEI256_V
#define MATCH_VAMOADDEI32_V
#define MATCH_SHA512SIG1H
#define CSR_MHPMCOUNTER4H
#define MASK_VAMOANDEI16_V
#define CSR_MHPMCOUNTER23
#define MATCH_VFWREDUSUM_VS
#define MASK_VAMOMAXEI64_V
#define CSR_MHPMCOUNTER24
#define CAUSE_MISALIGNED_STORE
#define MASK_VAMOADDEI32_V
#define MATCH_HFENCE_GVMA
#define MASK_VFNCVT_RTZ_X_F_W
#define MATCH_VAMOMINUEI8_V
#define MATCH_VFCVT_XU_F_V
#define MATCH_VAMOANDEI8_V
#define CSR_MHPMCOUNTER15
#define MATCH_VSLIDEUP_VI
#define CSR_MHPMCOUNTER22
#define MASK_BDECOMPRESSW
#define CSR_MHPMCOUNTER13
#define MATCH_VSUXEI128_V
#define MATCH_VWMACCSU_VX
#define MATCH_VAMOXOREI32_V
#define MATCH_VFCVT_F_XU_V
#define MATCH_VAMOMAXUEI16_V
#define MASK_VSLIDEDOWN_VX
#define CSR_MHPMCOUNTER30
#define MASK_VAMOMAXUEI16_V
#define MATCH_VAMOMAXEI64_V
#define MATCH_VWMACCUS_VX
#define CAUSE_LOAD_PAGE_FAULT
#define CSR_HPMCOUNTER11H
#define MATCH_VFWCVT_X_F_V
#define MASK_VFCVT_RTZ_X_F_V
#define MATCH_VLUXEI128_V
#define MATCH_VFREDMAX_VS
#define MATCH_VAMOOREI8_V
#define MASK_VAMOMINEI64_V
#define CSR_HPMCOUNTER24H
#define MATCH_VFSLIDE1DOWN_VF
#define MATCH_VRGATHEREI16_VV
#define MATCH_VWREDSUMU_VS
#define CSR_MHPMCOUNTER22H
#define CSR_HPMCOUNTER29H
#define CSR_HPMCOUNTER10H
#define CSR_MHPMCOUNTER19H
#define MATCH_VREDMINU_VS
#define MASK_VAMOMINUEI32_V
#define CSR_MHPMCOUNTER16H
#define MATCH_VAMOXOREI64_V
#define MATCH_HINVAL_GVMA
#define CSR_MHPMCOUNTER30H
#define MATCH_VWREDSUM_VS
#define CSR_MHPMCOUNTER19
#define MATCH_VFNCVT_F_F_W
#define MASK_VFNCVT_ROD_F_F_W
static uint32_t vmv_s_x(unsigned int vd, unsigned int vs2) __attribute__((unused))
static uint32_t csrrw(unsigned int rd, unsigned int rs, unsigned int csr) __attribute__((unused))
static uint32_t lb(unsigned int rd, unsigned int base, uint16_t offset) __attribute__((unused))
static uint32_t wfi(void) __attribute__((unused))
static uint32_t csrrs(unsigned int rd, unsigned int rs, unsigned int csr) __attribute__((unused))
static uint32_t fence(void) __attribute__((unused))
static uint32_t fsd(unsigned int src, unsigned int base, uint16_t offset) __attribute__((unused))
static uint32_t fence_i(void) __attribute__((unused))
static uint32_t lh(unsigned int rd, unsigned int base, uint16_t offset) __attribute__((unused))
static uint32_t csrrci(unsigned int rd, unsigned int zimm, unsigned int csr) __attribute__((unused))
static uint32_t sh(unsigned int src, unsigned int base, uint16_t offset) __attribute__((unused))
static uint32_t sw(unsigned int src, unsigned int base, uint16_t offset) __attribute__((unused))
static uint32_t ebreak(void) __attribute__((unused))
static uint32_t jal(unsigned int rd, uint32_t imm) __attribute__((unused))
static uint32_t fsw(unsigned int src, unsigned int base, uint16_t offset) __attribute__((unused))
static uint32_t lui(unsigned int dest, uint32_t imm) __attribute__((unused))
static uint32_t flw(unsigned int dest, unsigned int base, uint16_t offset) __attribute__((unused))
static uint32_t vmv_x_s(unsigned int rd, unsigned int vs2) __attribute__((unused))
static uint32_t csrrsi(unsigned int rd, unsigned int zimm, unsigned int csr) __attribute__((unused))
static uint32_t ld(unsigned int rd, unsigned int base, uint16_t offset) __attribute__((unused))
static uint32_t fld(unsigned int dest, unsigned int base, uint16_t offset) __attribute__((unused))
static uint32_t vsetvli(unsigned int dest, unsigned int src, uint16_t imm) __attribute__((unused))
static uint32_t sd(unsigned int src, unsigned int base, uint16_t offset) __attribute__((unused))
static uint32_t srli(unsigned int dest, unsigned int src, uint8_t shamt) __attribute__((unused))
static uint32_t vslide1down_vx(unsigned int vd, unsigned int vs2, unsigned int rs1, unsigned int vm) __attribute__((unused))
static uint32_t fmv_x_d(unsigned dest, unsigned src) __attribute__((unused))
static uint32_t fmv_w_x(unsigned dest, unsigned src) __attribute__((unused))
static uint32_t sb(unsigned int src, unsigned int base, uint16_t offset) __attribute__((unused))
static uint32_t lw(unsigned int rd, unsigned int base, uint16_t offset) __attribute__((unused))
static uint32_t xori(unsigned int dest, unsigned int src, uint16_t imm) __attribute__((unused))
static uint32_t fmv_d_x(unsigned dest, unsigned src) __attribute__((unused))
static uint32_t fmv_x_w(unsigned dest, unsigned src) __attribute__((unused))
static uint32_t addi(unsigned int dest, unsigned int src, uint16_t imm) __attribute__((unused))
static uint32_t auipc(unsigned int dest) __attribute__((unused))
#define DECLARE_CSR(name, number)