/* SPDX-License-Identifier: BSD-3-Clause */

/* Copyright (c) 2023 RISC-V International */

/*
 * This file is auto-generated by running 'make' in
 * https://github.com/riscv/riscv-opcodes (0a08518)
 */

#ifndef RISCV_CSR_ENCODING_H
#define RISCV_CSR_ENCODING_H

#ifdef __ASSEMBLY__
#define _RISCV_UL(x)  x
#define _RISCV_ULL(x) x
#else
#define _RISCV_UL(x)  x##UL
#define _RISCV_ULL(x) x##ULL
#endif

#define MSTATUS_UIE         _RISCV_UL(0x00000001)
#define MSTATUS_SIE         _RISCV_UL(0x00000002)
#define MSTATUS_HIE         _RISCV_UL(0x00000004)
#define MSTATUS_MIE         _RISCV_UL(0x00000008)
#define MSTATUS_UPIE        _RISCV_UL(0x00000010)
#define MSTATUS_SPIE        _RISCV_UL(0x00000020)
#define MSTATUS_UBE         _RISCV_UL(0x00000040)
#define MSTATUS_MPIE        _RISCV_UL(0x00000080)
#define MSTATUS_SPP         _RISCV_UL(0x00000100)
#define MSTATUS_VS          _RISCV_UL(0x00000600)
#define MSTATUS_MPP         _RISCV_UL(0x00001800)
#define MSTATUS_FS          _RISCV_UL(0x00006000)
#define MSTATUS_XS          _RISCV_UL(0x00018000)
#define MSTATUS_MPRV        _RISCV_UL(0x00020000)
#define MSTATUS_SUM         _RISCV_UL(0x00040000)
#define MSTATUS_MXR         _RISCV_UL(0x00080000)
#define MSTATUS_TVM         _RISCV_UL(0x00100000)
#define MSTATUS_TW          _RISCV_UL(0x00200000)
#define MSTATUS_TSR         _RISCV_UL(0x00400000)
#define MSTATUS_SPELP       _RISCV_UL(0x00800000)
#define MSTATUS_SDT         _RISCV_UL(0x01000000)
#define MSTATUS32_SD        _RISCV_UL(0x80000000)
#define MSTATUS_UXL         _RISCV_ULL(0x0000000300000000)
#define MSTATUS_SXL         _RISCV_ULL(0x0000000C00000000)
#define MSTATUS_SBE         _RISCV_ULL(0x0000001000000000)
#define MSTATUS_MBE         _RISCV_ULL(0x0000002000000000)
#define MSTATUS_GVA         _RISCV_ULL(0x0000004000000000)
#define MSTATUS_MPV         _RISCV_ULL(0x0000008000000000)
#define MSTATUS_MPELP       _RISCV_ULL(0x0000020000000000)
#define MSTATUS_MDT         _RISCV_ULL(0x0000040000000000)
#define MSTATUS64_SD        _RISCV_ULL(0x8000000000000000)

#define MSTATUSH_SBE        _RISCV_UL(0x00000010)
#define MSTATUSH_MBE        _RISCV_UL(0x00000020)
#define MSTATUSH_GVA        _RISCV_UL(0x00000040)
#define MSTATUSH_MPV        _RISCV_UL(0x00000080)
#define MSTATUSH_MDT        _RISCV_UL(0x00000400)

#define SSTATUS_UIE         _RISCV_UL(0x00000001)
#define SSTATUS_SIE         _RISCV_UL(0x00000002)
#define SSTATUS_UPIE        _RISCV_UL(0x00000010)
#define SSTATUS_SPIE        _RISCV_UL(0x00000020)
#define SSTATUS_UBE         _RISCV_UL(0x00000040)
#define SSTATUS_SPP         _RISCV_UL(0x00000100)
#define SSTATUS_VS          _RISCV_UL(0x00000600)
#define SSTATUS_FS          _RISCV_UL(0x00006000)
#define SSTATUS_XS          _RISCV_UL(0x00018000)
#define SSTATUS_SUM         _RISCV_UL(0x00040000)
#define SSTATUS_MXR         _RISCV_UL(0x00080000)
#define SSTATUS_SPELP       _RISCV_UL(0x00800000)
#define SSTATUS_SDT         _RISCV_UL(0x01000000)
#define SSTATUS32_SD        _RISCV_UL(0x80000000)
#define SSTATUS_UXL         _RISCV_ULL(0x0000000300000000)
#define SSTATUS64_SD        _RISCV_ULL(0x8000000000000000)

#define HSTATUS_VSBE        _RISCV_UL(0x00000020)
#define HSTATUS_GVA         _RISCV_UL(0x00000040)
#define HSTATUS_SPV         _RISCV_UL(0x00000080)
#define HSTATUS_SPVP        _RISCV_UL(0x00000100)
#define HSTATUS_HU          _RISCV_UL(0x00000200)
#define HSTATUS_VGEIN       _RISCV_UL(0x0003f000)
#define HSTATUS_VTVM        _RISCV_UL(0x00100000)
#define HSTATUS_VTW         _RISCV_UL(0x00200000)
#define HSTATUS_VTSR        _RISCV_UL(0x00400000)
#define HSTATUS_HUKTE       _RISCV_UL(0x01000000)
#define HSTATUS_VSXL        _RISCV_ULL(0x0000000300000000)
#define HSTATUS_HUPMM       _RISCV_ULL(0x0003000000000000)

#define USTATUS_UIE         _RISCV_UL(0x00000001)
#define USTATUS_UPIE        _RISCV_UL(0x00000010)

#define MNSTATUS_NMIE       _RISCV_UL(0x00000008)
#define MNSTATUS_MNPV       _RISCV_UL(0x00000080)
#define MNSTATUS_MNPELP     _RISCV_UL(0x00000200)
#define MNSTATUS_MNPP       _RISCV_UL(0x00001800)

#define DCSR_XDEBUGVER      (15U<<28)
#define DCSR_EXTCAUSE       (7<<24)
#define DCSR_CETRIG         (1<<19)
#define DCSR_PELP           (1<<18)
#define DCSR_EBREAKVS       (1<<17)
#define DCSR_EBREAKVU       (1<<16)
#define DCSR_EBREAKM        (1<<15)
#define DCSR_EBREAKS        (1<<13)
#define DCSR_EBREAKU        (1<<12)
#define DCSR_STEPIE         (1<<11)
#define DCSR_STOPCOUNT      (1<<10)
#define DCSR_STOPTIME       (1<<9)
#define DCSR_CAUSE          (7<<6)
#define DCSR_V              (1<<5)
#define DCSR_MPRVEN         (1<<4)
#define DCSR_NMIP           (1<<3)
#define DCSR_STEP           (1<<2)
#define DCSR_PRV            (3<<0)

#define DCSR_CAUSE_NONE     0
#define DCSR_CAUSE_SWBP     1
#define DCSR_CAUSE_HWBP     2
#define DCSR_CAUSE_DEBUGINT 3
#define DCSR_CAUSE_STEP     4
#define DCSR_CAUSE_HALT     5
#define DCSR_CAUSE_GROUP    6
#define DCSR_CAUSE_EXTCAUSE 7

#define DCSR_EXTCAUSE_CRITERR 0

#define MCONTROL_TYPE(xlen)    (_RISCV_ULL(0xf)<<((xlen)-4))
#define MCONTROL_DMODE(xlen)   (_RISCV_ULL(1)<<((xlen)-5))
#define MCONTROL_MASKMAX(xlen) (_RISCV_ULL(0x3f)<<((xlen)-11))

#define MCONTROL_SELECT     (1<<19)
#define MCONTROL_TIMING     (1<<18)
#define MCONTROL_ACTION     (0xf<<12)
#define MCONTROL_CHAIN      (1<<11)
#define MCONTROL_MATCH      (0xf<<7)
#define MCONTROL_M          (1<<6)
#define MCONTROL_H          (1<<5)
#define MCONTROL_S          (1<<4)
#define MCONTROL_U          (1<<3)
#define MCONTROL_EXECUTE    (1<<2)
#define MCONTROL_STORE      (1<<1)
#define MCONTROL_LOAD       (1<<0)

#define MCONTROL_TYPE_NONE      0
#define MCONTROL_TYPE_MATCH     2

#define MCONTROL_ACTION_DEBUG_EXCEPTION   0
#define MCONTROL_ACTION_DEBUG_MODE        1
#define MCONTROL_ACTION_TRACE_START       2
#define MCONTROL_ACTION_TRACE_STOP        3
#define MCONTROL_ACTION_TRACE_EMIT        4

#define MCONTROL_MATCH_EQUAL     0
#define MCONTROL_MATCH_NAPOT     1
#define MCONTROL_MATCH_GE        2
#define MCONTROL_MATCH_LT        3
#define MCONTROL_MATCH_MASK_LOW  4
#define MCONTROL_MATCH_MASK_HIGH 5

#define MIP_USIP            (1 << IRQ_U_SOFT)
#define MIP_SSIP            (1 << IRQ_S_SOFT)
#define MIP_VSSIP           (1 << IRQ_VS_SOFT)
#define MIP_MSIP            (1 << IRQ_M_SOFT)
#define MIP_UTIP            (1 << IRQ_U_TIMER)
#define MIP_STIP            (1 << IRQ_S_TIMER)
#define MIP_VSTIP           (1 << IRQ_VS_TIMER)
#define MIP_MTIP            (1 << IRQ_M_TIMER)
#define MIP_UEIP            (1 << IRQ_U_EXT)
#define MIP_SEIP            (1 << IRQ_S_EXT)
#define MIP_VSEIP           (1 << IRQ_VS_EXT)
#define MIP_MEIP            (1 << IRQ_M_EXT)
#define MIP_SGEIP           (1 << IRQ_S_GEXT)
#define MIP_LCOFIP          (1 << IRQ_LCOF)
#define MIP_RAS_LOW_PRIO    (_RISCV_ULL(1) << IRQ_RAS_LOW_PRIO)
#define MIP_RAS_HIGH_PRIO   (_RISCV_ULL(1) << IRQ_RAS_HIGH_PRIO)

#define MIP_S_MASK          (MIP_SSIP | MIP_STIP | MIP_SEIP)
#define MIP_VS_MASK         (MIP_VSSIP | MIP_VSTIP | MIP_VSEIP)
#define MIP_HS_MASK         (MIP_VS_MASK | MIP_SGEIP)

#define MIDELEG_FORCED_MASK MIP_HS_MASK

#define SIP_SSIP MIP_SSIP
#define SIP_STIP MIP_STIP

#define MENVCFG_FIOM  _RISCV_UL(0x00000001)
#define MENVCFG_LPE   _RISCV_UL(0x00000004)
#define MENVCFG_SSE   _RISCV_UL(0x00000008)
#define MENVCFG_CBIE  _RISCV_UL(0x00000030)
#define MENVCFG_CBCFE _RISCV_UL(0x00000040)
#define MENVCFG_CBZE  _RISCV_UL(0x00000080)
#define MENVCFG_PMM   _RISCV_ULL(0x0000000300000000)
#define MENVCFG_DTE   _RISCV_ULL(0x0800000000000000)
#define MENVCFG_CDE   _RISCV_ULL(0x1000000000000000)
#define MENVCFG_ADUE  _RISCV_ULL(0x2000000000000000)
#define MENVCFG_PBMTE _RISCV_ULL(0x4000000000000000)
#define MENVCFG_STCE  _RISCV_ULL(0x8000000000000000)

#define MENVCFGH_DTE   _RISCV_UL(0x08000000)
#define MENVCFGH_CDE   _RISCV_UL(0x10000000)
#define MENVCFGH_ADUE  _RISCV_UL(0x20000000)
#define MENVCFGH_PBMTE _RISCV_UL(0x40000000)
#define MENVCFGH_STCE  _RISCV_UL(0x80000000)

#define MSTATEEN0_CS       _RISCV_UL(0x00000001)
#define MSTATEEN0_FCSR     _RISCV_UL(0x00000002)
#define MSTATEEN0_JVT      _RISCV_UL(0x00000004)
#define MSTATEEN0_CTR      _RISCV_ULL(0x0040000000000000)
#define MSTATEEN0_PRIV114  _RISCV_ULL(0x0080000000000000)
#define MSTATEEN0_PRIV113  _RISCV_ULL(0x0100000000000000)
#define MSTATEEN0_HCONTEXT _RISCV_ULL(0x0200000000000000)
#define MSTATEEN0_IMSIC    _RISCV_ULL(0x0400000000000000)
#define MSTATEEN0_AIA      _RISCV_ULL(0x0800000000000000)
#define MSTATEEN0_CSRIND   _RISCV_ULL(0x1000000000000000)
#define MSTATEEN0_HENVCFG  _RISCV_ULL(0x4000000000000000)
#define MSTATEEN_HSTATEEN  _RISCV_ULL(0x8000000000000000)

#define MSTATEEN0H_CTR      _RISCV_UL(0x00400000)
#define MSTATEEN0H_PRIV114  _RISCV_UL(0x00800000)
#define MSTATEEN0H_PRIV113  _RISCV_UL(0x01000000)
#define MSTATEEN0H_HCONTEXT _RISCV_UL(0x02000000)
#define MSTATEEN0H_IMSIC    _RISCV_UL(0x04000000)
#define MSTATEEN0H_AIA      _RISCV_UL(0x08000000)
#define MSTATEEN0H_CSRIND   _RISCV_UL(0x10000000)
#define MSTATEEN0H_HENVCFG  _RISCV_UL(0x40000000)
#define MSTATEENH_HSTATEEN  _RISCV_UL(0x80000000)

#define MHPMEVENT_VUINH _RISCV_ULL(0x0400000000000000)
#define MHPMEVENT_VSINH _RISCV_ULL(0x0800000000000000)
#define MHPMEVENT_UINH  _RISCV_ULL(0x1000000000000000)
#define MHPMEVENT_SINH  _RISCV_ULL(0x2000000000000000)
#define MHPMEVENT_MINH  _RISCV_ULL(0x4000000000000000)
#define MHPMEVENT_OF    _RISCV_ULL(0x8000000000000000)

#define MHPMEVENTH_VUINH _RISCV_UL(0x04000000)
#define MHPMEVENTH_VSINH _RISCV_UL(0x08000000)
#define MHPMEVENTH_UINH  _RISCV_UL(0x10000000)
#define MHPMEVENTH_SINH  _RISCV_UL(0x20000000)
#define MHPMEVENTH_MINH  _RISCV_UL(0x40000000)
#define MHPMEVENTH_OF    _RISCV_UL(0x80000000)

#define MCOUNTEREN_CY_SHIFT    0
#define MCOUNTEREN_TIME_SHIFT  1
#define MCOUNTEREN_IR_SHIFT    2

#define MCOUNTEREN_CY      (1U << MCOUNTEREN_CY_SHIFT)
#define MCOUNTEREN_TIME    (1U << MCOUNTEREN_TIME_SHIFT)
#define MCOUNTEREN_IR      (1U << MCOUNTEREN_IR_SHIFT)

#define MCOUNTINHIBIT_CY    MCOUNTEREN_CY
#define MCOUNTINHIBIT_IR    MCOUNTEREN_IR

#define HENVCFG_FIOM  _RISCV_UL(0x00000001)
#define HENVCFG_LPE   _RISCV_UL(0x00000004)
#define HENVCFG_SSE   _RISCV_UL(0x00000008)
#define HENVCFG_CBIE  _RISCV_UL(0x00000030)
#define HENVCFG_CBCFE _RISCV_UL(0x00000040)
#define HENVCFG_CBZE  _RISCV_UL(0x00000080)
#define HENVCFG_PMM   _RISCV_ULL(0x0000000300000000)
#define HENVCFG_DTE   _RISCV_ULL(0x0800000000000000)
#define HENVCFG_ADUE  _RISCV_ULL(0x2000000000000000)
#define HENVCFG_PBMTE _RISCV_ULL(0x4000000000000000)
#define HENVCFG_STCE  _RISCV_ULL(0x8000000000000000)

#define HENVCFGH_DTE   _RISCV_UL(0x08000000)
#define HENVCFGH_ADUE  _RISCV_UL(0x20000000)
#define HENVCFGH_PBMTE _RISCV_UL(0x40000000)
#define HENVCFGH_STCE  _RISCV_UL(0x80000000)

#define SISELECT_SMCDELEG_START       _RISCV_UL(0x40)
#define SISELECT_SMCDELEG_UNUSED      _RISCV_UL(0x41)
#define SISELECT_SMCDELEG_INSTRET     _RISCV_UL(0x42)
#define SISELECT_SMCDELEG_INSTRETCFG  _RISCV_UL(0x42)
/*
 * ?iselect values for hpmcounters4..31 and hpmevent4..31
 * can easily computed, and were elided for brevity.
 */
#define SISELECT_SMCDELEG_HPMCOUNTER_3  _RISCV_UL(0x43)
#define SISELECT_SMCDELEG_HPMEVENT_3    _RISCV_UL(0x43)
#define SISELECT_SMCDELEG_END           _RISCV_UL(0x5f)

#define MISELECT_IPRIO     _RISCV_UL(0x30)
#define MISELECT_IPRIO_TOP _RISCV_UL(0x3f)
#define MISELECT_IMSIC     _RISCV_UL(0x70)
#define MISELECT_IMSIC_TOP _RISCV_UL(0xff)

#define SISELECT_IPRIO     _RISCV_UL(0x30)
#define SISELECT_IPRIO_TOP _RISCV_UL(0x3f)
#define SISELECT_IMSIC     _RISCV_UL(0x70)
#define SISELECT_IMSIC_TOP _RISCV_UL(0xff)

#define VSISELECT_IMSIC     _RISCV_UL(0x70)
#define VSISELECT_IMSIC_TOP _RISCV_UL(0xff)

#define HSTATEEN0_CS       _RISCV_UL(0x00000001)
#define HSTATEEN0_FCSR     _RISCV_UL(0x00000002)
#define HSTATEEN0_JVT      _RISCV_UL(0x00000004)
#define HSTATEEN0_CTR      _RISCV_ULL(0x0040000000000000)
#define HSTATEEN0_SCONTEXT _RISCV_ULL(0x0200000000000000)
#define HSTATEEN0_IMSIC    _RISCV_ULL(0x0400000000000000)
#define HSTATEEN0_AIA      _RISCV_ULL(0x0800000000000000)
#define HSTATEEN0_CSRIND   _RISCV_ULL(0x1000000000000000)
#define HSTATEEN0_SENVCFG  _RISCV_ULL(0x4000000000000000)
#define HSTATEEN_SSTATEEN  _RISCV_ULL(0x8000000000000000)

#define HSTATEEN0H_CTR      _RISCV_UL(0x00400000)
#define HSTATEEN0H_SCONTEXT _RISCV_UL(0x02000000)
#define HSTATEEN0H_IMSIC    _RISCV_UL(0x04000000)
#define HSTATEEN0H_AIA      _RISCV_UL(0x08000000)
#define HSTATEEN0H_CSRIND   _RISCV_UL(0x10000000)
#define HSTATEEN0H_SENVCFG  _RISCV_UL(0x40000000)
#define HSTATEENH_SSTATEEN  _RISCV_UL(0x80000000)

#define SENVCFG_FIOM  _RISCV_UL(0x00000001)
#define SENVCFG_LPE   _RISCV_UL(0x00000004)
#define SENVCFG_SSE   _RISCV_UL(0x00000008)
#define SENVCFG_CBIE  _RISCV_UL(0x00000030)
#define SENVCFG_CBCFE _RISCV_UL(0x00000040)
#define SENVCFG_CBZE  _RISCV_UL(0x00000080)
#define SENVCFG_UKTE  _RISCV_UL(0x00000100)
#define SENVCFG_PMM   _RISCV_ULL(0x0000000300000000)

#define SSTATEEN0_CS   _RISCV_UL(0x00000001)
#define SSTATEEN0_FCSR _RISCV_UL(0x00000002)
#define SSTATEEN0_JVT  _RISCV_UL(0x00000004)

#define MSECCFG_MML    _RISCV_UL(0x00000001)
#define MSECCFG_MMWP   _RISCV_UL(0x00000002)
#define MSECCFG_RLB    _RISCV_UL(0x00000004)
#define MSECCFG_USEED  _RISCV_UL(0x00000100)
#define MSECCFG_SSEED  _RISCV_UL(0x00000200)
#define MSECCFG_MLPE   _RISCV_UL(0x00000400)
#define MSECCFG_PMM    _RISCV_ULL(0x0000000300000000)

/* jvt fields */
#define JVT_MODE   _RISCV_UL(0x3F)
#define JVT_BASE   (~0x3F)

#define HVICTL_VTI    _RISCV_UL(0x40000000)
#define HVICTL_IID    _RISCV_UL(0x003F0000)
#define HVICTL_DPR    _RISCV_UL(0x00000200)
#define HVICTL_IPRIOM _RISCV_UL(0x00000100)
#define HVICTL_IPRIO  _RISCV_UL(0x000000FF)

#define MTOPI_IID   _RISCV_UL(0x0FFF0000)
#define MTOPI_IPRIO _RISCV_UL(0x000000FF)

#define PRV_U 0
#define PRV_S 1
#define PRV_M 3

#define PRV_HS (PRV_S + 1)

#define SATP32_MODE _RISCV_UL(0x80000000)
#define SATP32_ASID _RISCV_UL(0x7FC00000)
#define SATP32_PPN  _RISCV_UL(0x003FFFFF)
#define SATP64_MODE _RISCV_ULL(0xF000000000000000)
#define SATP64_ASID _RISCV_ULL(0x0FFFF00000000000)
#define SATP64_PPN  _RISCV_ULL(0x00000FFFFFFFFFFF)

#define SATP_MODE_OFF  0
#define SATP_MODE_SV32 1
#define SATP_MODE_SV39 8
#define SATP_MODE_SV48 9
#define SATP_MODE_SV57 10
#define SATP_MODE_SV64 11

#define HGATP32_MODE _RISCV_UL(0x80000000)
#define HGATP32_VMID _RISCV_UL(0x1FC00000)
#define HGATP32_PPN _RISCV_UL(0x003FFFFF)

#define HGATP64_MODE _RISCV_ULL(0xF000000000000000)
#define HGATP64_VMID _RISCV_ULL(0x03FFF00000000000)
#define HGATP64_PPN  _RISCV_ULL(0x00000FFFFFFFFFFF)

#define HGATP_MODE_OFF 0
#define HGATP_MODE_SV32X4 1
#define HGATP_MODE_SV39X4 8
#define HGATP_MODE_SV48X4 9
#define HGATP_MODE_SV57X4 10

#define PMP_R     _RISCV_UL(0x01)
#define PMP_W     _RISCV_UL(0x02)
#define PMP_X     _RISCV_UL(0x04)
#define PMP_A     _RISCV_UL(0x18)
#define PMP_MT    _RISCV_UL(0x60)
#define PMP_L     _RISCV_UL(0x80)
#define PMP_SHIFT 2

#define PMP_TOR   _RISCV_UL(0x08)
#define PMP_NA4   _RISCV_UL(0x10)
#define PMP_NAPOT _RISCV_UL(0x18)

#define MPMPDELEG_PMPNUM _RISCV_UL(0x7F)

#define SPMP_U      _RISCV_UL(0x100)
#define SPMP_SHARED _RISCV_UL(0x200)

#define MCTRCTL_U          _RISCV_ULL(0x0000000000000001)
#define MCTRCTL_S          _RISCV_ULL(0x0000000000000002)
#define MCTRCTL_M          _RISCV_ULL(0x0000000000000004)
#define MCTRCTL_RASEMU     _RISCV_ULL(0x0000000000000080)
#define MCTRCTL_STE        _RISCV_ULL(0x0000000000000100)
#define MCTRCTL_MTE        _RISCV_ULL(0x0000000000000200)
#define MCTRCTL_BPFRZ      _RISCV_ULL(0x0000000000000800)
#define MCTRCTL_LCOFIFRZ   _RISCV_ULL(0x0000000000001000)
#define MCTRCTL_EXCINH     _RISCV_ULL(0x0000000200000000)
#define MCTRCTL_INTRINH    _RISCV_ULL(0x0000000400000000)
#define MCTRCTL_TRETINH    _RISCV_ULL(0x0000000800000000)
#define MCTRCTL_NTBREN     _RISCV_ULL(0x0000001000000000)
#define MCTRCTL_TKBRINH    _RISCV_ULL(0x0000002000000000)
#define MCTRCTL_INDCALLINH _RISCV_ULL(0x0000010000000000)
#define MCTRCTL_DIRCALLINH _RISCV_ULL(0x0000020000000000)
#define MCTRCTL_INDJMPINH  _RISCV_ULL(0x0000040000000000)
#define MCTRCTL_DIRJMPINH  _RISCV_ULL(0x0000080000000000)
#define MCTRCTL_CORSWAPINH _RISCV_ULL(0x0000100000000000)
#define MCTRCTL_RETINH     _RISCV_ULL(0x0000200000000000)
#define MCTRCTL_INDLJMPINH _RISCV_ULL(0x0000400000000000)
#define MCTRCTL_DIRLJMPINH _RISCV_ULL(0x0000800000000000)
#define MCTRCTL_CUSTOM     _RISCV_ULL(0xF000000000000000)

#define SCTRCTL_U          _RISCV_ULL(0x0000000000000001)
#define SCTRCTL_S          _RISCV_ULL(0x0000000000000002)
#define SCTRCTL_RASEMU     _RISCV_ULL(0x0000000000000080)
#define SCTRCTL_STE        _RISCV_ULL(0x0000000000000100)
#define SCTRCTL_BPFRZ      _RISCV_ULL(0x0000000000000800)
#define SCTRCTL_LCOFIFRZ   _RISCV_ULL(0x0000000000001000)
#define SCTRCTL_EXCINH     _RISCV_ULL(0x0000000200000000)
#define SCTRCTL_INTRINH    _RISCV_ULL(0x0000000400000000)
#define SCTRCTL_TRETINH    _RISCV_ULL(0x0000000800000000)
#define SCTRCTL_NTBREN     _RISCV_ULL(0x0000001000000000)
#define SCTRCTL_TKBRINH    _RISCV_ULL(0x0000002000000000)
#define SCTRCTL_INDCALLINH _RISCV_ULL(0x0000010000000000)
#define SCTRCTL_DIRCALLINH _RISCV_ULL(0x0000020000000000)
#define SCTRCTL_INDJMPINH  _RISCV_ULL(0x0000040000000000)
#define SCTRCTL_DIRJMPINH  _RISCV_ULL(0x0000080000000000)
#define SCTRCTL_CORSWAPINH _RISCV_ULL(0x0000100000000000)
#define SCTRCTL_RETINH     _RISCV_ULL(0x0000200000000000)
#define SCTRCTL_INDLJMPINH _RISCV_ULL(0x0000400000000000)
#define SCTRCTL_DIRLJMPINH _RISCV_ULL(0x0000800000000000)

#define VSCTRCTL_U          _RISCV_ULL(0x0000000000000001)
#define VSCTRCTL_S          _RISCV_ULL(0x0000000000000002)
#define VSCTRCTL_RASEMU     _RISCV_ULL(0x0000000000000080)
#define VSCTRCTL_STE        _RISCV_ULL(0x0000000000000100)
#define VSCTRCTL_BPFRZ      _RISCV_ULL(0x0000000000000800)
#define VSCTRCTL_LCOFIFRZ   _RISCV_ULL(0x0000000000001000)
#define VSCTRCTL_EXCINH     _RISCV_ULL(0x0000000200000000)
#define VSCTRCTL_INTRINH    _RISCV_ULL(0x0000000400000000)
#define VSCTRCTL_TRETINH    _RISCV_ULL(0x0000000800000000)
#define VSCTRCTL_NTBREN     _RISCV_ULL(0x0000001000000000)
#define VSCTRCTL_TKBRINH    _RISCV_ULL(0x0000002000000000)
#define VSCTRCTL_INDCALLINH _RISCV_ULL(0x0000010000000000)
#define VSCTRCTL_DIRCALLINH _RISCV_ULL(0x0000020000000000)
#define VSCTRCTL_INDJMPINH  _RISCV_ULL(0x0000040000000000)
#define VSCTRCTL_DIRJMPINH  _RISCV_ULL(0x0000080000000000)
#define VSCTRCTL_CORSWAPINH _RISCV_ULL(0x0000100000000000)
#define VSCTRCTL_RETINH     _RISCV_ULL(0x0000200000000000)
#define VSCTRCTL_INDLJMPINH _RISCV_ULL(0x0000400000000000)
#define VSCTRCTL_DIRLJMPINH _RISCV_ULL(0x0000800000000000)
#define VSCTRCTL_CUSTOM     _RISCV_ULL(0xF000000000000000)

#define SCTRDEPTH_DEPTH     _RISCV_UL(0x00000007)

#define SCTRSTATUS_WRPTR    _RISCV_UL(0x000000FF)
#define SCTRSTATUS_FROZEN   _RISCV_UL(0x80000000)

#define SCTR_ENTRY_BASE     _RISCV_UL(0x200)

#define SCTR_SOURCE_V       _RISCV_ULL(0x0000000000000001)
#define SCTR_SOURCE_PC      _RISCV_ULL(0xFFFFFFFFFFFFFFFE)

#define SCTR_TARGET_MISP    _RISCV_ULL(0x0000000000000001)
#define SCTR_TARGET_PC      _RISCV_ULL(0xFFFFFFFFFFFFFFFE)

#define SCTR_DATA_TYPE      _RISCV_ULL(0x000000000000000F)
#define SCTR_DATA_CCV       _RISCV_ULL(0x0000000000008000)
#define SCTR_DATA_CC        _RISCV_ULL(0x00000000FFFF0000)

#define IRQ_U_SOFT        0
#define IRQ_S_SOFT        1
#define IRQ_VS_SOFT       2
#define IRQ_M_SOFT        3
#define IRQ_U_TIMER       4
#define IRQ_S_TIMER       5
#define IRQ_VS_TIMER      6
#define IRQ_M_TIMER       7
#define IRQ_U_EXT         8
#define IRQ_S_EXT         9
#define IRQ_VS_EXT        10
#define IRQ_M_EXT         11
#define IRQ_S_GEXT        12
#define IRQ_COP           12
#define IRQ_LCOF          13
#define IRQ_RAS_LOW_PRIO  35
#define IRQ_RAS_HIGH_PRIO 43

/* page table entry (PTE) fields */
#define PTE_V     0x001 /* Valid */
#define PTE_R     0x002 /* Read */
#define PTE_W     0x004 /* Write */
#define PTE_X     0x008 /* Execute */
#define PTE_U     0x010 /* User */
#define PTE_G     0x020 /* Global */
#define PTE_A     0x040 /* Accessed */
#define PTE_D     0x080 /* Dirty */
#define PTE_SOFT  0x300 /* Reserved for Software */
#define PTE_SVRSW60T59B  _RISCV_ULL(0x1800000000000000) /* Svrsw60t59b: Reserved for software use */
#define PTE_RSVD         _RISCV_ULL(0x07C0000000000000) /* Reserved for future standard use */
#define PTE_PBMT  _RISCV_ULL(0x6000000000000000) /* Svpbmt: Page-based memory types */
#define PTE_N     _RISCV_ULL(0x8000000000000000) /* Svnapot: NAPOT translation contiguity */
#define PTE_ATTR  _RISCV_ULL(0xFFC0000000000000) /* All attributes and reserved bits */

#define PTE_PPN_SHIFT 10

#define PTE_TABLE(PTE) (((PTE) & (PTE_V | PTE_R | PTE_W | PTE_X)) == PTE_V)

/* srmcfg CSR fields */
#define SRMCFG_RCID  _RISCV_UL(0x00000FFF)
#define SRMCFG_MCID  _RISCV_UL(0x0FFF0000)

/* software check exception xtval codes */
#define LANDING_PAD_FAULT 2
#define SHADOW_STACK_FAULT 3

#ifdef __riscv

#if __riscv_xlen == 64
# define MSTATUS_SD MSTATUS64_SD
# define SSTATUS_SD SSTATUS64_SD
# define RISCV_PGLEVEL_BITS 9
# define SATP_MODE SATP64_MODE
#else
# define MSTATUS_SD MSTATUS32_SD
# define SSTATUS_SD SSTATUS32_SD
# define RISCV_PGLEVEL_BITS 10
# define SATP_MODE SATP32_MODE
#endif
#define RISCV_PGSHIFT 12
#define RISCV_PGSIZE (1 << RISCV_PGSHIFT)

#ifndef __ASSEMBLER__

#ifdef __GNUC__

#define read_csr(reg) ({ unsigned long __tmp; \
  asm volatile ("csrr %0, " #reg : "=r"(__tmp)); \
  __tmp; })

#define write_csr(reg, val) ({ \
  asm volatile ("csrw " #reg ", %0" :: "rK"(val)); })

#define swap_csr(reg, val) ({ unsigned long __tmp; \
  asm volatile ("csrrw %0, " #reg ", %1" : "=r"(__tmp) : "rK"(val)); \
  __tmp; })

#define set_csr(reg, bit) ({ unsigned long __tmp; \
  asm volatile ("csrrs %0, " #reg ", %1" : "=r"(__tmp) : "rK"(bit)); \
  __tmp; })

#define clear_csr(reg, bit) ({ unsigned long __tmp; \
  asm volatile ("csrrc %0, " #reg ", %1" : "=r"(__tmp) : "rK"(bit)); \
  __tmp; })

#define rdtime() read_csr(time)
#define rdcycle() read_csr(cycle)
#define rdinstret() read_csr(instret)

#endif

#endif

#endif

#endif

/* Automatically generated by parse_opcodes. */
#ifndef RISCV_ENCODING_H
#define RISCV_ENCODING_H
#define MATCH_AADD 0x9a00003b
#define MASK_AADD 0xfe00707f
#define MATCH_AADDU 0xba00003b
#define MASK_AADDU 0xfe00707f
#define MATCH_ABS 0x60701013
#define MASK_ABS 0xfff0707f
#define MATCH_ABSW 0x6070101b
#define MASK_ABSW 0xfff0707f
#define MATCH_ADD 0x33
#define MASK_ADD 0xfe00707f
#define MATCH_ADD_UW 0x800003b
#define MASK_ADD_UW 0xfe00707f
#define MATCH_ADDD 0x8600601b
#define MASK_ADDD 0xfe10f0ff
#define MATCH_ADDI 0x13
#define MASK_ADDI 0x707f
#define MATCH_ADDIW 0x1b
#define MASK_ADDIW 0x707f
#define MATCH_ADDW 0x3b
#define MASK_ADDW 0xfe00707f
#define MATCH_AES32DSI 0x2a000033
#define MASK_AES32DSI 0x3e00707f
#define MATCH_AES32DSMI 0x2e000033
#define MASK_AES32DSMI 0x3e00707f
#define MATCH_AES32ESI 0x22000033
#define MASK_AES32ESI 0x3e00707f
#define MATCH_AES32ESMI 0x26000033
#define MASK_AES32ESMI 0x3e00707f
#define MATCH_AES64DS 0x3a000033
#define MASK_AES64DS 0xfe00707f
#define MATCH_AES64DSM 0x3e000033
#define MASK_AES64DSM 0xfe00707f
#define MATCH_AES64ES 0x32000033
#define MASK_AES64ES 0xfe00707f
#define MATCH_AES64ESM 0x36000033
#define MASK_AES64ESM 0xfe00707f
#define MATCH_AES64IM 0x30001013
#define MASK_AES64IM 0xfff0707f
#define MATCH_AES64KS1I 0x31001013
#define MASK_AES64KS1I 0xff00707f
#define MATCH_AES64KS2 0x7e000033
#define MASK_AES64KS2 0xfe00707f
#define MATCH_AMOADD_B 0x2f
#define MASK_AMOADD_B 0xf800707f
#define MATCH_AMOADD_D 0x302f
#define MASK_AMOADD_D 0xf800707f
#define MATCH_AMOADD_H 0x102f
#define MASK_AMOADD_H 0xf800707f
#define MATCH_AMOADD_W 0x202f
#define MASK_AMOADD_W 0xf800707f
#define MATCH_AMOAND_B 0x6000002f
#define MASK_AMOAND_B 0xf800707f
#define MATCH_AMOAND_D 0x6000302f
#define MASK_AMOAND_D 0xf800707f
#define MATCH_AMOAND_H 0x6000102f
#define MASK_AMOAND_H 0xf800707f
#define MATCH_AMOAND_W 0x6000202f
#define MASK_AMOAND_W 0xf800707f
#define MATCH_AMOCAS_B 0x2800002f
#define MASK_AMOCAS_B 0xf800707f
#define MATCH_AMOCAS_D 0x2800302f
#define MASK_AMOCAS_D 0xf800707f
#define MATCH_AMOCAS_H 0x2800102f
#define MASK_AMOCAS_H 0xf800707f
#define MATCH_AMOCAS_Q 0x2800402f
#define MASK_AMOCAS_Q 0xf800707f
#define MATCH_AMOCAS_W 0x2800202f
#define MASK_AMOCAS_W 0xf800707f
#define MATCH_AMOMAX_B 0xa000002f
#define MASK_AMOMAX_B 0xf800707f
#define MATCH_AMOMAX_D 0xa000302f
#define MASK_AMOMAX_D 0xf800707f
#define MATCH_AMOMAX_H 0xa000102f
#define MASK_AMOMAX_H 0xf800707f
#define MATCH_AMOMAX_W 0xa000202f
#define MASK_AMOMAX_W 0xf800707f
#define MATCH_AMOMAXU_B 0xe000002f
#define MASK_AMOMAXU_B 0xf800707f
#define MATCH_AMOMAXU_D 0xe000302f
#define MASK_AMOMAXU_D 0xf800707f
#define MATCH_AMOMAXU_H 0xe000102f
#define MASK_AMOMAXU_H 0xf800707f
#define MATCH_AMOMAXU_W 0xe000202f
#define MASK_AMOMAXU_W 0xf800707f
#define MATCH_AMOMIN_B 0x8000002f
#define MASK_AMOMIN_B 0xf800707f
#define MATCH_AMOMIN_D 0x8000302f
#define MASK_AMOMIN_D 0xf800707f
#define MATCH_AMOMIN_H 0x8000102f
#define MASK_AMOMIN_H 0xf800707f
#define MATCH_AMOMIN_W 0x8000202f
#define MASK_AMOMIN_W 0xf800707f
#define MATCH_AMOMINU_B 0xc000002f
#define MASK_AMOMINU_B 0xf800707f
#define MATCH_AMOMINU_D 0xc000302f
#define MASK_AMOMINU_D 0xf800707f
#define MATCH_AMOMINU_H 0xc000102f
#define MASK_AMOMINU_H 0xf800707f
#define MATCH_AMOMINU_W 0xc000202f
#define MASK_AMOMINU_W 0xf800707f
#define MATCH_AMOOR_B 0x4000002f
#define MASK_AMOOR_B 0xf800707f
#define MATCH_AMOOR_D 0x4000302f
#define MASK_AMOOR_D 0xf800707f
#define MATCH_AMOOR_H 0x4000102f
#define MASK_AMOOR_H 0xf800707f
#define MATCH_AMOOR_W 0x4000202f
#define MASK_AMOOR_W 0xf800707f
#define MATCH_AMOSWAP_B 0x800002f
#define MASK_AMOSWAP_B 0xf800707f
#define MATCH_AMOSWAP_D 0x800302f
#define MASK_AMOSWAP_D 0xf800707f
#define MATCH_AMOSWAP_H 0x800102f
#define MASK_AMOSWAP_H 0xf800707f
#define MATCH_AMOSWAP_W 0x800202f
#define MASK_AMOSWAP_W 0xf800707f
#define MATCH_AMOXOR_B 0x2000002f
#define MASK_AMOXOR_B 0xf800707f
#define MATCH_AMOXOR_D 0x2000302f
#define MASK_AMOXOR_D 0xf800707f
#define MATCH_AMOXOR_H 0x2000102f
#define MASK_AMOXOR_H 0xf800707f
#define MATCH_AMOXOR_W 0x2000202f
#define MASK_AMOXOR_W 0xf800707f
#define MATCH_AND 0x7033
#define MASK_AND 0xfe00707f
#define MATCH_ANDI 0x7013
#define MASK_ANDI 0x707f
#define MATCH_ANDN 0x40007033
#define MASK_ANDN 0xfe00707f
#define MATCH_ASUB 0xda00003b
#define MASK_ASUB 0xfe00707f
#define MATCH_ASUBU 0xfa00003b
#define MASK_ASUBU 0xfe00707f
#define MATCH_AUIPC 0x17
#define MASK_AUIPC 0x7f
#define MATCH_BCLR 0x48001033
#define MASK_BCLR 0xfe00707f
#define MATCH_BCLRI 0x48001013
#define MASK_BCLRI 0xfc00707f
#define MATCH_BEQ 0x63
#define MASK_BEQ 0x707f
#define MATCH_BEQI 0x2063
#define MASK_BEQI 0x707f
#define MATCH_BEXT 0x48005033
#define MASK_BEXT 0xfe00707f
#define MATCH_BEXTI 0x48005013
#define MASK_BEXTI 0xfc00707f
#define MATCH_BGE 0x5063
#define MASK_BGE 0x707f
#define MATCH_BGEU 0x7063
#define MASK_BGEU 0x707f
#define MATCH_BINV 0x68001033
#define MASK_BINV 0xfe00707f
#define MATCH_BINVI 0x68001013
#define MASK_BINVI 0xfc00707f
#define MATCH_BLT 0x4063
#define MASK_BLT 0x707f
#define MATCH_BLTU 0x6063
#define MASK_BLTU 0x707f
#define MATCH_BNE 0x1063
#define MASK_BNE 0x707f
#define MATCH_BNEI 0x3063
#define MASK_BNEI 0x707f
#define MATCH_BREV8 0x68705013
#define MASK_BREV8 0xfff0707f
#define MATCH_BSET 0x28001033
#define MASK_BSET 0xfe00707f
#define MATCH_BSETI 0x28001013
#define MASK_BSETI 0xfc00707f
#define MATCH_C_ADD 0x9002
#define MASK_C_ADD 0xf003
#define MATCH_C_ADDI 0x1
#define MASK_C_ADDI 0xe003
#define MATCH_C_ADDI16SP 0x6101
#define MASK_C_ADDI16SP 0xef83
#define MATCH_C_ADDI4SPN 0x0
#define MASK_C_ADDI4SPN 0xe003
#define MATCH_C_ADDIW 0x2001
#define MASK_C_ADDIW 0xe003
#define MATCH_C_ADDW 0x9c21
#define MASK_C_ADDW 0xfc63
#define MATCH_C_AND 0x8c61
#define MASK_C_AND 0xfc63
#define MATCH_C_ANDI 0x8801
#define MASK_C_ANDI 0xec03
#define MATCH_C_BEQZ 0xc001
#define MASK_C_BEQZ 0xe003
#define MATCH_C_BNEZ 0xe001
#define MASK_C_BNEZ 0xe003
#define MATCH_C_EBREAK 0x9002
#define MASK_C_EBREAK 0xffff
#define MATCH_C_FLD 0x2000
#define MASK_C_FLD 0xe003
#define MATCH_C_FLDSP 0x2002
#define MASK_C_FLDSP 0xe003
#define MATCH_C_FLW 0x6000
#define MASK_C_FLW 0xe003
#define MATCH_C_FLWSP 0x6002
#define MASK_C_FLWSP 0xe003
#define MATCH_C_FSD 0xa000
#define MASK_C_FSD 0xe003
#define MATCH_C_FSDSP 0xa002
#define MASK_C_FSDSP 0xe003
#define MATCH_C_FSW 0xe000
#define MASK_C_FSW 0xe003
#define MATCH_C_FSWSP 0xe002
#define MASK_C_FSWSP 0xe003
#define MATCH_C_J 0xa001
#define MASK_C_J 0xe003
#define MATCH_C_JAL 0x2001
#define MASK_C_JAL 0xe003
#define MATCH_C_JALR 0x9002
#define MASK_C_JALR 0xf07f
#define MATCH_C_JR 0x8002
#define MASK_C_JR 0xf07f
#define MATCH_C_LBU 0x8000
#define MASK_C_LBU 0xfc03
#define MATCH_C_LD 0x6000
#define MASK_C_LD 0xe003
#define MATCH_C_LDSP 0x6002
#define MASK_C_LDSP 0xe003
#define MATCH_C_LH 0x8440
#define MASK_C_LH 0xfc43
#define MATCH_C_LHU 0x8400
#define MASK_C_LHU 0xfc43
#define MATCH_C_LI 0x4001
#define MASK_C_LI 0xe003
#define MATCH_C_LUI 0x6001
#define MASK_C_LUI 0xe003
#define MATCH_C_LW 0x4000
#define MASK_C_LW 0xe003
#define MATCH_C_LWSP 0x4002
#define MASK_C_LWSP 0xe003
#define MATCH_C_MOP_1 0x6081
#define MASK_C_MOP_1 0xffff
#define MATCH_C_MOP_11 0x6581
#define MASK_C_MOP_11 0xffff
#define MATCH_C_MOP_13 0x6681
#define MASK_C_MOP_13 0xffff
#define MATCH_C_MOP_15 0x6781
#define MASK_C_MOP_15 0xffff
#define MATCH_C_MOP_3 0x6181
#define MASK_C_MOP_3 0xffff
#define MATCH_C_MOP_5 0x6281
#define MASK_C_MOP_5 0xffff
#define MATCH_C_MOP_7 0x6381
#define MASK_C_MOP_7 0xffff
#define MATCH_C_MOP_9 0x6481
#define MASK_C_MOP_9 0xffff
#define MATCH_C_MOP_N 0x6081
#define MASK_C_MOP_N 0xf8ff
#define MATCH_C_MUL 0x9c41
#define MASK_C_MUL 0xfc63
#define MATCH_C_MV 0x8002
#define MASK_C_MV 0xf003
#define MATCH_C_NOP 0x1
#define MASK_C_NOP 0xef83
#define MATCH_C_NOT 0x9c75
#define MASK_C_NOT 0xfc7f
#define MATCH_C_OR 0x8c41
#define MASK_C_OR 0xfc63
#define MATCH_C_SB 0x8800
#define MASK_C_SB 0xfc03
#define MATCH_C_SD 0xe000
#define MASK_C_SD 0xe003
#define MATCH_C_SDSP 0xe002
#define MASK_C_SDSP 0xe003
#define MATCH_C_SEXT_B 0x9c65
#define MASK_C_SEXT_B 0xfc7f
#define MATCH_C_SEXT_H 0x9c6d
#define MASK_C_SEXT_H 0xfc7f
#define MATCH_C_SH 0x8c00
#define MASK_C_SH 0xfc43
#define MATCH_C_SLLI 0x2
#define MASK_C_SLLI 0xe003
#define MATCH_C_SRAI 0x8401
#define MASK_C_SRAI 0xec03
#define MATCH_C_SRLI 0x8001
#define MASK_C_SRLI 0xec03
#define MATCH_C_SSPOPCHK_X5 0x6281
#define MASK_C_SSPOPCHK_X5 0xffff
#define MATCH_C_SSPUSH_X1 0x6081
#define MASK_C_SSPUSH_X1 0xffff
#define MATCH_C_SUB 0x8c01
#define MASK_C_SUB 0xfc63
#define MATCH_C_SUBW 0x9c01
#define MASK_C_SUBW 0xfc63
#define MATCH_C_SW 0xc000
#define MASK_C_SW 0xe003
#define MATCH_C_SWSP 0xc002
#define MASK_C_SWSP 0xe003
#define MATCH_C_XOR 0x8c21
#define MASK_C_XOR 0xfc63
#define MATCH_C_ZEXT_B 0x9c61
#define MASK_C_ZEXT_B 0xfc7f
#define MATCH_C_ZEXT_H 0x9c69
#define MASK_C_ZEXT_H 0xfc7f
#define MATCH_C_ZEXT_W 0x9c71
#define MASK_C_ZEXT_W 0xfc7f
#define MATCH_CBO_CLEAN 0x10200f
#define MASK_CBO_CLEAN 0xfff07fff
#define MATCH_CBO_FLUSH 0x20200f
#define MASK_CBO_FLUSH 0xfff07fff
#define MATCH_CBO_INVAL 0x200f
#define MASK_CBO_INVAL 0xfff07fff
#define MATCH_CBO_ZERO 0x40200f
#define MASK_CBO_ZERO 0xfff07fff
#define MATCH_CLMUL 0xa001033
#define MASK_CLMUL 0xfe00707f
#define MATCH_CLMULH 0xa003033
#define MASK_CLMULH 0xfe00707f
#define MATCH_CLMULR 0xa002033
#define MASK_CLMULR 0xfe00707f
#define MATCH_CLS 0x60301013
#define MASK_CLS 0xfff0707f
#define MATCH_CLSW 0x6030101b
#define MASK_CLSW 0xfff0707f
#define MATCH_CLZ 0x60001013
#define MASK_CLZ 0xfff0707f
#define MATCH_CLZW 0x6000101b
#define MASK_CLZW 0xfff0707f
#define MATCH_CM_JALT 0xa002
#define MASK_CM_JALT 0xfc03
#define MATCH_CM_MVA01S 0xac62
#define MASK_CM_MVA01S 0xfc63
#define MATCH_CM_MVSA01 0xac22
#define MASK_CM_MVSA01 0xfc63
#define MATCH_CM_POP 0xba02
#define MASK_CM_POP 0xff03
#define MATCH_CM_POPRET 0xbe02
#define MASK_CM_POPRET 0xff03
#define MATCH_CM_POPRETZ 0xbc02
#define MASK_CM_POPRETZ 0xff03
#define MATCH_CM_PUSH 0xb802
#define MASK_CM_PUSH 0xff03
#define MATCH_CPOP 0x60201013
#define MASK_CPOP 0xfff0707f
#define MATCH_CPOPW 0x6020101b
#define MASK_CPOPW 0xfff0707f
#define MATCH_CSRRC 0x3073
#define MASK_CSRRC 0x707f
#define MATCH_CSRRCI 0x7073
#define MASK_CSRRCI 0x707f
#define MATCH_CSRRS 0x2073
#define MASK_CSRRS 0x707f
#define MATCH_CSRRSI 0x6073
#define MASK_CSRRSI 0x707f
#define MATCH_CSRRW 0x1073
#define MASK_CSRRW 0x707f
#define MATCH_CSRRWI 0x5073
#define MASK_CSRRWI 0x707f
#define MATCH_CTZ 0x60101013
#define MASK_CTZ 0xfff0707f
#define MATCH_CTZW 0x6010101b
#define MASK_CTZW 0xfff0707f
#define MATCH_CZERO_EQZ 0xe005033
#define MASK_CZERO_EQZ 0xfe00707f
#define MATCH_CZERO_NEZ 0xe007033
#define MASK_CZERO_NEZ 0xfe00707f
#define MATCH_DIV 0x2004033
#define MASK_DIV 0xfe00707f
#define MATCH_DIVU 0x2005033
#define MASK_DIVU 0xfe00707f
#define MATCH_DIVUW 0x200503b
#define MASK_DIVUW 0xfe00707f
#define MATCH_DIVW 0x200403b
#define MASK_DIVW 0xfe00707f
#define MATCH_DRET 0x7b200073
#define MASK_DRET 0xffffffff
#define MATCH_EBREAK 0x100073
#define MASK_EBREAK 0xffffffff
#define MATCH_ECALL 0x73
#define MASK_ECALL 0xffffffff
#define MATCH_FADD_D 0x2000053
#define MASK_FADD_D 0xfe00007f
#define MATCH_FADD_H 0x4000053
#define MASK_FADD_H 0xfe00007f
#define MATCH_FADD_Q 0x6000053
#define MASK_FADD_Q 0xfe00007f
#define MATCH_FADD_S 0x53
#define MASK_FADD_S 0xfe00007f
#define MATCH_FCLASS_D 0xe2001053
#define MASK_FCLASS_D 0xfff0707f
#define MATCH_FCLASS_H 0xe4001053
#define MASK_FCLASS_H 0xfff0707f
#define MATCH_FCLASS_Q 0xe6001053
#define MASK_FCLASS_Q 0xfff0707f
#define MATCH_FCLASS_S 0xe0001053
#define MASK_FCLASS_S 0xfff0707f
#define MATCH_FCVT_BF16_S 0x44800053
#define MASK_FCVT_BF16_S 0xfff0007f
#define MATCH_FCVT_D_H 0x42200053
#define MASK_FCVT_D_H 0xfff0007f
#define MATCH_FCVT_D_L 0xd2200053
#define MASK_FCVT_D_L 0xfff0007f
#define MATCH_FCVT_D_LU 0xd2300053
#define MASK_FCVT_D_LU 0xfff0007f
#define MATCH_FCVT_D_Q 0x42300053
#define MASK_FCVT_D_Q 0xfff0007f
#define MATCH_FCVT_D_S 0x42000053
#define MASK_FCVT_D_S 0xfff0007f
#define MATCH_FCVT_D_W 0xd2000053
#define MASK_FCVT_D_W 0xfff0007f
#define MATCH_FCVT_D_WU 0xd2100053
#define MASK_FCVT_D_WU 0xfff0007f
#define MATCH_FCVT_H_D 0x44100053
#define MASK_FCVT_H_D 0xfff0007f
#define MATCH_FCVT_H_L 0xd4200053
#define MASK_FCVT_H_L 0xfff0007f
#define MATCH_FCVT_H_LU 0xd4300053
#define MASK_FCVT_H_LU 0xfff0007f
#define MATCH_FCVT_H_Q 0x44300053
#define MASK_FCVT_H_Q 0xfff0007f
#define MATCH_FCVT_H_S 0x44000053
#define MASK_FCVT_H_S 0xfff0007f
#define MATCH_FCVT_H_W 0xd4000053
#define MASK_FCVT_H_W 0xfff0007f
#define MATCH_FCVT_H_WU 0xd4100053
#define MASK_FCVT_H_WU 0xfff0007f
#define MATCH_FCVT_L_D 0xc2200053
#define MASK_FCVT_L_D 0xfff0007f
#define MATCH_FCVT_L_H 0xc4200053
#define MASK_FCVT_L_H 0xfff0007f
#define MATCH_FCVT_L_Q 0xc6200053
#define MASK_FCVT_L_Q 0xfff0007f
#define MATCH_FCVT_L_S 0xc0200053
#define MASK_FCVT_L_S 0xfff0007f
#define MATCH_FCVT_LU_D 0xc2300053
#define MASK_FCVT_LU_D 0xfff0007f
#define MATCH_FCVT_LU_H 0xc4300053
#define MASK_FCVT_LU_H 0xfff0007f
#define MATCH_FCVT_LU_Q 0xc6300053
#define MASK_FCVT_LU_Q 0xfff0007f
#define MATCH_FCVT_LU_S 0xc0300053
#define MASK_FCVT_LU_S 0xfff0007f
#define MATCH_FCVT_Q_D 0x46100053
#define MASK_FCVT_Q_D 0xfff0007f
#define MATCH_FCVT_Q_H 0x46200053
#define MASK_FCVT_Q_H 0xfff0007f
#define MATCH_FCVT_Q_L 0xd6200053
#define MASK_FCVT_Q_L 0xfff0007f
#define MATCH_FCVT_Q_LU 0xd6300053
#define MASK_FCVT_Q_LU 0xfff0007f
#define MATCH_FCVT_Q_S 0x46000053
#define MASK_FCVT_Q_S 0xfff0007f
#define MATCH_FCVT_Q_W 0xd6000053
#define MASK_FCVT_Q_W 0xfff0007f
#define MATCH_FCVT_Q_WU 0xd6100053
#define MASK_FCVT_Q_WU 0xfff0007f
#define MATCH_FCVT_S_BF16 0x40600053
#define MASK_FCVT_S_BF16 0xfff0007f
#define MATCH_FCVT_S_D 0x40100053
#define MASK_FCVT_S_D 0xfff0007f
#define MATCH_FCVT_S_H 0x40200053
#define MASK_FCVT_S_H 0xfff0007f
#define MATCH_FCVT_S_L 0xd0200053
#define MASK_FCVT_S_L 0xfff0007f
#define MATCH_FCVT_S_LU 0xd0300053
#define MASK_FCVT_S_LU 0xfff0007f
#define MATCH_FCVT_S_Q 0x40300053
#define MASK_FCVT_S_Q 0xfff0007f
#define MATCH_FCVT_S_W 0xd0000053
#define MASK_FCVT_S_W 0xfff0007f
#define MATCH_FCVT_S_WU 0xd0100053
#define MASK_FCVT_S_WU 0xfff0007f
#define MATCH_FCVT_W_D 0xc2000053
#define MASK_FCVT_W_D 0xfff0007f
#define MATCH_FCVT_W_H 0xc4000053
#define MASK_FCVT_W_H 0xfff0007f
#define MATCH_FCVT_W_Q 0xc6000053
#define MASK_FCVT_W_Q 0xfff0007f
#define MATCH_FCVT_W_S 0xc0000053
#define MASK_FCVT_W_S 0xfff0007f
#define MATCH_FCVT_WU_D 0xc2100053
#define MASK_FCVT_WU_D 0xfff0007f
#define MATCH_FCVT_WU_H 0xc4100053
#define MASK_FCVT_WU_H 0xfff0007f
#define MATCH_FCVT_WU_Q 0xc6100053
#define MASK_FCVT_WU_Q 0xfff0007f
#define MATCH_FCVT_WU_S 0xc0100053
#define MASK_FCVT_WU_S 0xfff0007f
#define MATCH_FCVTMOD_W_D 0xc2801053
#define MASK_FCVTMOD_W_D 0xfff0707f
#define MATCH_FDIV_D 0x1a000053
#define MASK_FDIV_D 0xfe00007f
#define MATCH_FDIV_H 0x1c000053
#define MASK_FDIV_H 0xfe00007f
#define MATCH_FDIV_Q 0x1e000053
#define MASK_FDIV_Q 0xfe00007f
#define MATCH_FDIV_S 0x18000053
#define MASK_FDIV_S 0xfe00007f
#define MATCH_FLUSH_DATA 0x500f
#define MASK_FLUSH_DATA 0xffffffff
#define MATCH_FENCE 0xf
#define MASK_FENCE 0x707f
#define MATCH_FENCE_I 0x100f
#define MASK_FENCE_I 0x707f
#define MATCH_FEQ_D 0xa2002053
#define MASK_FEQ_D 0xfe00707f
#define MATCH_FEQ_H 0xa4002053
#define MASK_FEQ_H 0xfe00707f
#define MATCH_FEQ_Q 0xa6002053
#define MASK_FEQ_Q 0xfe00707f
#define MATCH_FEQ_S 0xa0002053
#define MASK_FEQ_S 0xfe00707f
#define MATCH_FLD 0x3007
#define MASK_FLD 0x707f
#define MATCH_FLE_D 0xa2000053
#define MASK_FLE_D 0xfe00707f
#define MATCH_FLE_H 0xa4000053
#define MASK_FLE_H 0xfe00707f
#define MATCH_FLE_Q 0xa6000053
#define MASK_FLE_Q 0xfe00707f
#define MATCH_FLE_S 0xa0000053
#define MASK_FLE_S 0xfe00707f
#define MATCH_FLEQ_D 0xa2004053
#define MASK_FLEQ_D 0xfe00707f
#define MATCH_FLEQ_H 0xa4004053
#define MASK_FLEQ_H 0xfe00707f
#define MATCH_FLEQ_Q 0xa6004053
#define MASK_FLEQ_Q 0xfe00707f
#define MATCH_FLEQ_S 0xa0004053
#define MASK_FLEQ_S 0xfe00707f
#define MATCH_FLH 0x1007
#define MASK_FLH 0x707f
#define MATCH_FLI_D 0xf2100053
#define MASK_FLI_D 0xfff0707f
#define MATCH_FLI_H 0xf4100053
#define MASK_FLI_H 0xfff0707f
#define MATCH_FLI_Q 0xf6100053
#define MASK_FLI_Q 0xfff0707f
#define MATCH_FLI_S 0xf0100053
#define MASK_FLI_S 0xfff0707f
#define MATCH_FLQ 0x4007
#define MASK_FLQ 0x707f
#define MATCH_FLT_D 0xa2001053
#define MASK_FLT_D 0xfe00707f
#define MATCH_FLT_H 0xa4001053
#define MASK_FLT_H 0xfe00707f
#define MATCH_FLT_Q 0xa6001053
#define MASK_FLT_Q 0xfe00707f
#define MATCH_FLT_S 0xa0001053
#define MASK_FLT_S 0xfe00707f
#define MATCH_FLTQ_D 0xa2005053
#define MASK_FLTQ_D 0xfe00707f
#define MATCH_FLTQ_H 0xa4005053
#define MASK_FLTQ_H 0xfe00707f
#define MATCH_FLTQ_Q 0xa6005053
#define MASK_FLTQ_Q 0xfe00707f
#define MATCH_FLTQ_S 0xa0005053
#define MASK_FLTQ_S 0xfe00707f
#define MATCH_FLW 0x2007
#define MASK_FLW 0x707f
#define MATCH_FMADD_D 0x2000043
#define MASK_FMADD_D 0x600007f
#define MATCH_FMADD_H 0x4000043
#define MASK_FMADD_H 0x600007f
#define MATCH_FMADD_Q 0x6000043
#define MASK_FMADD_Q 0x600007f
#define MATCH_FMADD_S 0x43
#define MASK_FMADD_S 0x600007f
#define MATCH_FMAX_D 0x2a001053
#define MASK_FMAX_D 0xfe00707f
#define MATCH_FMAX_H 0x2c001053
#define MASK_FMAX_H 0xfe00707f
#define MATCH_FMAX_Q 0x2e001053
#define MASK_FMAX_Q 0xfe00707f
#define MATCH_FMAX_S 0x28001053
#define MASK_FMAX_S 0xfe00707f
#define MATCH_FMAXM_D 0x2a003053
#define MASK_FMAXM_D 0xfe00707f
#define MATCH_FMAXM_H 0x2c003053
#define MASK_FMAXM_H 0xfe00707f
#define MATCH_FMAXM_Q 0x2e003053
#define MASK_FMAXM_Q 0xfe00707f
#define MATCH_FMAXM_S 0x28003053
#define MASK_FMAXM_S 0xfe00707f
#define MATCH_FMIN_D 0x2a000053
#define MASK_FMIN_D 0xfe00707f
#define MATCH_FMIN_H 0x2c000053
#define MASK_FMIN_H 0xfe00707f
#define MATCH_FMIN_Q 0x2e000053
#define MASK_FMIN_Q 0xfe00707f
#define MATCH_FMIN_S 0x28000053
#define MASK_FMIN_S 0xfe00707f
#define MATCH_FMINM_D 0x2a002053
#define MASK_FMINM_D 0xfe00707f
#define MATCH_FMINM_H 0x2c002053
#define MASK_FMINM_H 0xfe00707f
#define MATCH_FMINM_Q 0x2e002053
#define MASK_FMINM_Q 0xfe00707f
#define MATCH_FMINM_S 0x28002053
#define MASK_FMINM_S 0xfe00707f
#define MATCH_FMSUB_D 0x2000047
#define MASK_FMSUB_D 0x600007f
#define MATCH_FMSUB_H 0x4000047
#define MASK_FMSUB_H 0x600007f
#define MATCH_FMSUB_Q 0x6000047
#define MASK_FMSUB_Q 0x600007f
#define MATCH_FMSUB_S 0x47
#define MASK_FMSUB_S 0x600007f
#define MATCH_FMUL_D 0x12000053
#define MASK_FMUL_D 0xfe00007f
#define MATCH_FMUL_H 0x14000053
#define MASK_FMUL_H 0xfe00007f
#define MATCH_FMUL_Q 0x16000053
#define MASK_FMUL_Q 0xfe00007f
#define MATCH_FMUL_S 0x10000053
#define MASK_FMUL_S 0xfe00007f
#define MATCH_FMV_D_X 0xf2000053
#define MASK_FMV_D_X 0xfff0707f
#define MATCH_FMV_H_X 0xf4000053
#define MASK_FMV_H_X 0xfff0707f
#define MATCH_FMV_W_X 0xf0000053
#define MASK_FMV_W_X 0xfff0707f
#define MATCH_FMV_X_D 0xe2000053
#define MASK_FMV_X_D 0xfff0707f
#define MATCH_FMV_X_H 0xe4000053
#define MASK_FMV_X_H 0xfff0707f
#define MATCH_FMV_X_W 0xe0000053
#define MASK_FMV_X_W 0xfff0707f
#define MATCH_FMVH_X_D 0xe2100053
#define MASK_FMVH_X_D 0xfff0707f
#define MATCH_FMVH_X_Q 0xe6100053
#define MASK_FMVH_X_Q 0xfff0707f
#define MATCH_FMVP_D_X 0xb2000053
#define MASK_FMVP_D_X 0xfe00707f
#define MATCH_FMVP_Q_X 0xb6000053
#define MASK_FMVP_Q_X 0xfe00707f
#define MATCH_FNMADD_D 0x200004f
#define MASK_FNMADD_D 0x600007f
#define MATCH_FNMADD_H 0x400004f
#define MASK_FNMADD_H 0x600007f
#define MATCH_FNMADD_Q 0x600004f
#define MASK_FNMADD_Q 0x600007f
#define MATCH_FNMADD_S 0x4f
#define MASK_FNMADD_S 0x600007f
#define MATCH_FNMSUB_D 0x200004b
#define MASK_FNMSUB_D 0x600007f
#define MATCH_FNMSUB_H 0x400004b
#define MASK_FNMSUB_H 0x600007f
#define MATCH_FNMSUB_Q 0x600004b
#define MASK_FNMSUB_Q 0x600007f
#define MATCH_FNMSUB_S 0x4b
#define MASK_FNMSUB_S 0x600007f
#define MATCH_FROUND_D 0x42400053
#define MASK_FROUND_D 0xfff0007f
#define MATCH_FROUND_H 0x44400053
#define MASK_FROUND_H 0xfff0007f
#define MATCH_FROUND_Q 0x46400053
#define MASK_FROUND_Q 0xfff0007f
#define MATCH_FROUND_S 0x40400053
#define MASK_FROUND_S 0xfff0007f
#define MATCH_FROUNDNX_D 0x42500053
#define MASK_FROUNDNX_D 0xfff0007f
#define MATCH_FROUNDNX_H 0x44500053
#define MASK_FROUNDNX_H 0xfff0007f
#define MATCH_FROUNDNX_Q 0x46500053
#define MASK_FROUNDNX_Q 0xfff0007f
#define MATCH_FROUNDNX_S 0x40500053
#define MASK_FROUNDNX_S 0xfff0007f
#define MATCH_FSD 0x3027
#define MASK_FSD 0x707f
#define MATCH_FSGNJ_D 0x22000053
#define MASK_FSGNJ_D 0xfe00707f
#define MATCH_FSGNJ_H 0x24000053
#define MASK_FSGNJ_H 0xfe00707f
#define MATCH_FSGNJ_Q 0x26000053
#define MASK_FSGNJ_Q 0xfe00707f
#define MATCH_FSGNJ_S 0x20000053
#define MASK_FSGNJ_S 0xfe00707f
#define MATCH_FSGNJN_D 0x22001053
#define MASK_FSGNJN_D 0xfe00707f
#define MATCH_FSGNJN_H 0x24001053
#define MASK_FSGNJN_H 0xfe00707f
#define MATCH_FSGNJN_Q 0x26001053
#define MASK_FSGNJN_Q 0xfe00707f
#define MATCH_FSGNJN_S 0x20001053
#define MASK_FSGNJN_S 0xfe00707f
#define MATCH_FSGNJX_D 0x22002053
#define MASK_FSGNJX_D 0xfe00707f
#define MATCH_FSGNJX_H 0x24002053
#define MASK_FSGNJX_H 0xfe00707f
#define MATCH_FSGNJX_Q 0x26002053
#define MASK_FSGNJX_Q 0xfe00707f
#define MATCH_FSGNJX_S 0x20002053
#define MASK_FSGNJX_S 0xfe00707f
#define MATCH_FSH 0x1027
#define MASK_FSH 0x707f
#define MATCH_FSQ 0x4027
#define MASK_FSQ 0x707f
#define MATCH_FSQRT_D 0x5a000053
#define MASK_FSQRT_D 0xfff0007f
#define MATCH_FSQRT_H 0x5c000053
#define MASK_FSQRT_H 0xfff0007f
#define MATCH_FSQRT_Q 0x5e000053
#define MASK_FSQRT_Q 0xfff0007f
#define MATCH_FSQRT_S 0x58000053
#define MASK_FSQRT_S 0xfff0007f
#define MATCH_FSUB_D 0xa000053
#define MASK_FSUB_D 0xfe00007f
#define MATCH_FSUB_H 0xc000053
#define MASK_FSUB_H 0xfe00007f
#define MATCH_FSUB_Q 0xe000053
#define MASK_FSUB_Q 0xfe00007f
#define MATCH_FSUB_S 0x8000053
#define MASK_FSUB_S 0xfe00007f
#define MATCH_FSW 0x2027
#define MASK_FSW 0x707f
#define MATCH_HFENCE_GVMA 0x62000073
#define MASK_HFENCE_GVMA 0xfe007fff
#define MATCH_HFENCE_VVMA 0x22000073
#define MASK_HFENCE_VVMA 0xfe007fff
#define MATCH_HINVAL_GVMA 0x66000073
#define MASK_HINVAL_GVMA 0xfe007fff
#define MATCH_HINVAL_VVMA 0x26000073
#define MASK_HINVAL_VVMA 0xfe007fff
#define MATCH_HLV_B 0x60004073
#define MASK_HLV_B 0xfff0707f
#define MATCH_HLV_BU 0x60104073
#define MASK_HLV_BU 0xfff0707f
#define MATCH_HLV_D 0x6c004073
#define MASK_HLV_D 0xfff0707f
#define MATCH_HLV_H 0x64004073
#define MASK_HLV_H 0xfff0707f
#define MATCH_HLV_HU 0x64104073
#define MASK_HLV_HU 0xfff0707f
#define MATCH_HLV_W 0x68004073
#define MASK_HLV_W 0xfff0707f
#define MATCH_HLV_WU 0x68104073
#define MASK_HLV_WU 0xfff0707f
#define MATCH_HLVX_HU 0x64304073
#define MASK_HLVX_HU 0xfff0707f
#define MATCH_HLVX_WU 0x68304073
#define MASK_HLVX_WU 0xfff0707f
#define MATCH_HSV_B 0x62004073
#define MASK_HSV_B 0xfe007fff
#define MATCH_HSV_D 0x6e004073
#define MASK_HSV_D 0xfe007fff
#define MATCH_HSV_H 0x66004073
#define MASK_HSV_H 0xfe007fff
#define MATCH_HSV_W 0x6a004073
#define MASK_HSV_W 0xfe007fff
#define MATCH_JAL 0x6f
#define MASK_JAL 0x7f
#define MATCH_JALR 0x67
#define MASK_JALR 0x707f
#define MATCH_LB 0x3
#define MASK_LB 0x707f
#define MATCH_LB_AQ 0x3400002f
#define MASK_LB_AQ 0xfdf0707f
#define MATCH_LBU 0x4003
#define MASK_LBU 0x707f
#define MATCH_LD 0x3003
#define MASK_LD 0x707f
#define MATCH_LD_AQ 0x3400302f
#define MASK_LD_AQ 0xfdf0707f
#define MATCH_LH 0x1003
#define MASK_LH 0x707f
#define MATCH_LH_AQ 0x3400102f
#define MASK_LH_AQ 0xfdf0707f
#define MATCH_LHU 0x5003
#define MASK_LHU 0x707f
#define MATCH_LPAD 0x17
#define MASK_LPAD 0xfff
#define MATCH_LR_D 0x1000302f
#define MASK_LR_D 0xf9f0707f
#define MATCH_LR_W 0x1000202f
#define MASK_LR_W 0xf9f0707f
#define MATCH_LUI 0x37
#define MASK_LUI 0x7f
#define MATCH_LW 0x2003
#define MASK_LW 0x707f
#define MATCH_LW_AQ 0x3400202f
#define MASK_LW_AQ 0xfdf0707f
#define MATCH_LWU 0x6003
#define MASK_LWU 0x707f
#define MATCH_MACC_H00 0x8a00303b
#define MASK_MACC_H00 0xfe00707f
#define MATCH_MACC_H01 0x9a00103b
#define MASK_MACC_H01 0xfe00707f
#define MATCH_MACC_H11 0x9a00303b
#define MASK_MACC_H11 0xfe00707f
#define MATCH_MACC_W00 0x8e00303b
#define MASK_MACC_W00 0xfe00707f
#define MATCH_MACC_W01 0x9e00103b
#define MASK_MACC_W01 0xfe00707f
#define MATCH_MACC_W11 0x9e00303b
#define MASK_MACC_W11 0xfe00707f
#define MATCH_MACCSU_H00 0xea00303b
#define MASK_MACCSU_H00 0xfe00707f
#define MATCH_MACCSU_H11 0xfa00303b
#define MASK_MACCSU_H11 0xfe00707f
#define MATCH_MACCSU_W00 0xee00303b
#define MASK_MACCSU_W00 0xfe00707f
#define MATCH_MACCSU_W11 0xfe00303b
#define MASK_MACCSU_W11 0xfe00707f
#define MATCH_MACCU_H00 0xaa00303b
#define MASK_MACCU_H00 0xfe00707f
#define MATCH_MACCU_H01 0xba00103b
#define MASK_MACCU_H01 0xfe00707f
#define MATCH_MACCU_H11 0xba00303b
#define MASK_MACCU_H11 0xfe00707f
#define MATCH_MACCU_W00 0xae00303b
#define MASK_MACCU_W00 0xfe00707f
#define MATCH_MACCU_W01 0xbe00103b
#define MASK_MACCU_W01 0xfe00707f
#define MATCH_MACCU_W11 0xbe00303b
#define MASK_MACCU_W11 0xfe00707f
#define MATCH_MAX 0xa006033
#define MASK_MAX 0xfe00707f
#define MATCH_MAXU 0xa007033
#define MASK_MAXU 0xfe00707f
#define MATCH_MERGE 0xac00103b
#define MASK_MERGE 0xfe00707f
#define MATCH_MHACC 0x8a00703b
#define MASK_MHACC 0xfe00707f
#define MATCH_MHACC_H0 0xaa00703b
#define MASK_MHACC_H0 0xfe00707f
#define MATCH_MHACC_H1 0xba00703b
#define MASK_MHACC_H1 0xfe00707f
#define MATCH_MHACCSU 0xca00703b
#define MASK_MHACCSU 0xfe00707f
#define MATCH_MHACCSU_H0 0xae00703b
#define MASK_MHACCSU_H0 0xfe00707f
#define MATCH_MHACCSU_H1 0xbe00703b
#define MASK_MHACCSU_H1 0xfe00707f
#define MATCH_MHACCU 0x9a00703b
#define MASK_MHACCU 0xfe00707f
#define MATCH_MHRACC 0x8e00703b
#define MASK_MHRACC 0xfe00707f
#define MATCH_MHRACCSU 0xce00703b
#define MASK_MHRACCSU 0xfe00707f
#define MATCH_MHRACCU 0x9e00703b
#define MASK_MHRACCU 0xfe00707f
#define MATCH_MIN 0xa004033
#define MASK_MIN 0xfe00707f
#define MATCH_MINU 0xa005033
#define MASK_MINU 0xfe00707f
#define MATCH_MNRET 0x70200073
#define MASK_MNRET 0xffffffff
#define MATCH_MOP_R_0 0x81c04073
#define MASK_MOP_R_0 0xfff0707f
#define MATCH_MOP_R_1 0x81d04073
#define MASK_MOP_R_1 0xfff0707f
#define MATCH_MOP_R_10 0x89e04073
#define MASK_MOP_R_10 0xfff0707f
#define MATCH_MOP_R_11 0x89f04073
#define MASK_MOP_R_11 0xfff0707f
#define MATCH_MOP_R_12 0x8dc04073
#define MASK_MOP_R_12 0xfff0707f
#define MATCH_MOP_R_13 0x8dd04073
#define MASK_MOP_R_13 0xfff0707f
#define MATCH_MOP_R_14 0x8de04073
#define MASK_MOP_R_14 0xfff0707f
#define MATCH_MOP_R_15 0x8df04073
#define MASK_MOP_R_15 0xfff0707f
#define MATCH_MOP_R_16 0xc1c04073
#define MASK_MOP_R_16 0xfff0707f
#define MATCH_MOP_R_17 0xc1d04073
#define MASK_MOP_R_17 0xfff0707f
#define MATCH_MOP_R_18 0xc1e04073
#define MASK_MOP_R_18 0xfff0707f
#define MATCH_MOP_R_19 0xc1f04073
#define MASK_MOP_R_19 0xfff0707f
#define MATCH_MOP_R_2 0x81e04073
#define MASK_MOP_R_2 0xfff0707f
#define MATCH_MOP_R_20 0xc5c04073
#define MASK_MOP_R_20 0xfff0707f
#define MATCH_MOP_R_21 0xc5d04073
#define MASK_MOP_R_21 0xfff0707f
#define MATCH_MOP_R_22 0xc5e04073
#define MASK_MOP_R_22 0xfff0707f
#define MATCH_MOP_R_23 0xc5f04073
#define MASK_MOP_R_23 0xfff0707f
#define MATCH_MOP_R_24 0xc9c04073
#define MASK_MOP_R_24 0xfff0707f
#define MATCH_MOP_R_25 0xc9d04073
#define MASK_MOP_R_25 0xfff0707f
#define MATCH_MOP_R_26 0xc9e04073
#define MASK_MOP_R_26 0xfff0707f
#define MATCH_MOP_R_27 0xc9f04073
#define MASK_MOP_R_27 0xfff0707f
#define MATCH_MOP_R_28 0xcdc04073
#define MASK_MOP_R_28 0xfff0707f
#define MATCH_MOP_R_29 0xcdd04073
#define MASK_MOP_R_29 0xfff0707f
#define MATCH_MOP_R_3 0x81f04073
#define MASK_MOP_R_3 0xfff0707f
#define MATCH_MOP_R_30 0xcde04073
#define MASK_MOP_R_30 0xfff0707f
#define MATCH_MOP_R_31 0xcdf04073
#define MASK_MOP_R_31 0xfff0707f
#define MATCH_MOP_R_4 0x85c04073
#define MASK_MOP_R_4 0xfff0707f
#define MATCH_MOP_R_5 0x85d04073
#define MASK_MOP_R_5 0xfff0707f
#define MATCH_MOP_R_6 0x85e04073
#define MASK_MOP_R_6 0xfff0707f
#define MATCH_MOP_R_7 0x85f04073
#define MASK_MOP_R_7 0xfff0707f
#define MATCH_MOP_R_8 0x89c04073
#define MASK_MOP_R_8 0xfff0707f
#define MATCH_MOP_R_9 0x89d04073
#define MASK_MOP_R_9 0xfff0707f
#define MATCH_MOP_R_N 0x81c04073
#define MASK_MOP_R_N 0xb3c0707f
#define MATCH_MOP_RR_0 0x82004073
#define MASK_MOP_RR_0 0xfe00707f
#define MATCH_MOP_RR_1 0x86004073
#define MASK_MOP_RR_1 0xfe00707f
#define MATCH_MOP_RR_2 0x8a004073
#define MASK_MOP_RR_2 0xfe00707f
#define MATCH_MOP_RR_3 0x8e004073
#define MASK_MOP_RR_3 0xfe00707f
#define MATCH_MOP_RR_4 0xc2004073
#define MASK_MOP_RR_4 0xfe00707f
#define MATCH_MOP_RR_5 0xc6004073
#define MASK_MOP_RR_5 0xfe00707f
#define MATCH_MOP_RR_6 0xca004073
#define MASK_MOP_RR_6 0xfe00707f
#define MATCH_MOP_RR_7 0xce004073
#define MASK_MOP_RR_7 0xfe00707f
#define MATCH_MOP_RR_N 0x82004073
#define MASK_MOP_RR_N 0xb200707f
#define MATCH_MQACC_H00 0xe800703b
#define MASK_MQACC_H00 0xfe00707f
#define MATCH_MQACC_H01 0xf800503b
#define MASK_MQACC_H01 0xfe00707f
#define MATCH_MQACC_H11 0xf800703b
#define MASK_MQACC_H11 0xfe00707f
#define MATCH_MQACC_W00 0xea00703b
#define MASK_MQACC_W00 0xfe00707f
#define MATCH_MQACC_W01 0xfa00503b
#define MASK_MQACC_W01 0xfe00707f
#define MATCH_MQACC_W11 0xfa00703b
#define MASK_MQACC_W11 0xfe00707f
#define MATCH_MQRACC_H00 0xec00703b
#define MASK_MQRACC_H00 0xfe00707f
#define MATCH_MQRACC_H01 0xfc00503b
#define MASK_MQRACC_H01 0xfe00707f
#define MATCH_MQRACC_H11 0xfc00703b
#define MASK_MQRACC_H11 0xfe00707f
#define MATCH_MQRACC_W00 0xee00703b
#define MASK_MQRACC_W00 0xfe00707f
#define MATCH_MQRACC_W01 0xfe00503b
#define MASK_MQRACC_W01 0xfe00707f
#define MATCH_MQRACC_W11 0xfe00703b
#define MASK_MQRACC_W11 0xfe00707f
#define MATCH_MQRWACC 0x7e00209b
#define MASK_MQRWACC 0xfe0070ff
#define MATCH_MQWACC 0x7a00209b
#define MASK_MQWACC 0xfe0070ff
#define MATCH_MRET 0x30200073
#define MASK_MRET 0xffffffff
#define MATCH_MSEQ 0xc200603b
#define MASK_MSEQ 0xfe00707f
#define MATCH_MSLT 0xd200603b
#define MASK_MSLT 0xfe00707f
#define MATCH_MSLTU 0xda00603b
#define MASK_MSLTU 0xfe00707f
#define MATCH_MUL 0x2000033
#define MASK_MUL 0xfe00707f
#define MATCH_MUL_H00 0x8200303b
#define MASK_MUL_H00 0xfe00707f
#define MATCH_MUL_H01 0x9200103b
#define MASK_MUL_H01 0xfe00707f
#define MATCH_MUL_H11 0x9200303b
#define MASK_MUL_H11 0xfe00707f
#define MATCH_MUL_W00 0x8600303b
#define MASK_MUL_W00 0xfe00707f
#define MATCH_MUL_W01 0x9600103b
#define MASK_MUL_W01 0xfe00707f
#define MATCH_MUL_W11 0x9600303b
#define MASK_MUL_W11 0xfe00707f
#define MATCH_MULH 0x2001033
#define MASK_MULH 0xfe00707f
#define MATCH_MULH_H0 0xa200703b
#define MASK_MULH_H0 0xfe00707f
#define MATCH_MULH_H1 0xb200703b
#define MASK_MULH_H1 0xfe00707f
#define MATCH_MULHR 0x8600703b
#define MASK_MULHR 0xfe00707f
#define MATCH_MULHRSU 0xc600703b
#define MASK_MULHRSU 0xfe00707f
#define MATCH_MULHRU 0x9600703b
#define MASK_MULHRU 0xfe00707f
#define MATCH_MULHSU 0x2002033
#define MASK_MULHSU 0xfe00707f
#define MATCH_MULHSU_H0 0xa600703b
#define MASK_MULHSU_H0 0xfe00707f
#define MATCH_MULHSU_H1 0xb600703b
#define MASK_MULHSU_H1 0xfe00707f
#define MATCH_MULHU 0x2003033
#define MASK_MULHU 0xfe00707f
#define MATCH_MULQ 0xd200703b
#define MASK_MULQ 0xfe00707f
#define MATCH_MULQR 0xd600703b
#define MASK_MULQR 0xfe00707f
#define MATCH_MULSU_H00 0xe200303b
#define MASK_MULSU_H00 0xfe00707f
#define MATCH_MULSU_H11 0xf200303b
#define MASK_MULSU_H11 0xfe00707f
#define MATCH_MULSU_W00 0xe600303b
#define MASK_MULSU_W00 0xfe00707f
#define MATCH_MULSU_W11 0xf600303b
#define MASK_MULSU_W11 0xfe00707f
#define MATCH_MULU_H00 0xa200303b
#define MASK_MULU_H00 0xfe00707f
#define MATCH_MULU_H01 0xb200103b
#define MASK_MULU_H01 0xfe00707f
#define MATCH_MULU_H11 0xb200303b
#define MASK_MULU_H11 0xfe00707f
#define MATCH_MULU_W00 0xa600303b
#define MASK_MULU_W00 0xfe00707f
#define MATCH_MULU_W01 0xb600103b
#define MASK_MULU_W01 0xfe00707f
#define MATCH_MULU_W11 0xb600303b
#define MASK_MULU_W11 0xfe00707f
#define MATCH_MULW 0x200003b
#define MASK_MULW 0xfe00707f
#define MATCH_MVM 0xa800103b
#define MASK_MVM 0xfe00707f
#define MATCH_MVMN 0xaa00103b
#define MASK_MVMN 0xfe00707f
#define MATCH_NCLIP 0x6e00c01b
#define MASK_NCLIP 0xfe00f07f
#define MATCH_NCLIPI 0x6400c01b
#define MASK_NCLIPI 0xfc00f07f
#define MATCH_NCLIPIU 0x2400c01b
#define MASK_NCLIPIU 0xfc00f07f
#define MATCH_NCLIPR 0x7e00c01b
#define MASK_NCLIPR 0xfe00f07f
#define MATCH_NCLIPRI 0x7400c01b
#define MASK_NCLIPRI 0xfc00f07f
#define MATCH_NCLIPRIU 0x3400c01b
#define MASK_NCLIPRIU 0xfc00f07f
#define MATCH_NCLIPRU 0x3e00c01b
#define MASK_NCLIPRU 0xfe00f07f
#define MATCH_NCLIPU 0x2e00c01b
#define MASK_NCLIPU 0xfe00f07f
#define MATCH_NSRA 0x4e00c01b
#define MASK_NSRA 0xfe00f07f
#define MATCH_NSRAI 0x4400c01b
#define MASK_NSRAI 0xfc00f07f
#define MATCH_NSRAR 0x5e00c01b
#define MASK_NSRAR 0xfe00f07f
#define MATCH_NSRARI 0x5400c01b
#define MASK_NSRARI 0xfc00f07f
#define MATCH_NSRL 0xe00c01b
#define MASK_NSRL 0xfe00f07f
#define MATCH_NSRLI 0x400c01b
#define MASK_NSRLI 0xfc00f07f
#define MATCH_OR 0x6033
#define MASK_OR 0xfe00707f
#define MATCH_ORC_B 0x28705013
#define MASK_ORC_B 0xfff0707f
#define MATCH_ORI 0x6013
#define MASK_ORI 0x707f
#define MATCH_ORN 0x40006033
#define MASK_ORN 0xfe00707f
#define MATCH_PAADD_B 0x9c00003b
#define MASK_PAADD_B 0xfe00707f
#define MATCH_PAADD_DB 0x9c00601b
#define MASK_PAADD_DB 0xfe10f0ff
#define MATCH_PAADD_DH 0x9800601b
#define MASK_PAADD_DH 0xfe10f0ff
#define MATCH_PAADD_DW 0x9a00601b
#define MASK_PAADD_DW 0xfe10f0ff
#define MATCH_PAADD_H 0x9800003b
#define MASK_PAADD_H 0xfe00707f
#define MATCH_PAADD_W 0x9a00003b
#define MASK_PAADD_W 0xfe00707f
#define MATCH_PAADDU_B 0xbc00003b
#define MASK_PAADDU_B 0xfe00707f
#define MATCH_PAADDU_DB 0xbc00601b
#define MASK_PAADDU_DB 0xfe10f0ff
#define MATCH_PAADDU_DH 0xb800601b
#define MASK_PAADDU_DH 0xfe10f0ff
#define MATCH_PAADDU_DW 0xba00601b
#define MASK_PAADDU_DW 0xfe10f0ff
#define MATCH_PAADDU_H 0xb800003b
#define MASK_PAADDU_H 0xfe00707f
#define MATCH_PAADDU_W 0xba00003b
#define MASK_PAADDU_W 0xfe00707f
#define MATCH_PAAS_DHX 0x9810e01b
#define MASK_PAAS_DHX 0xfe10f0ff
#define MATCH_PAAS_HX 0x9800603b
#define MASK_PAAS_HX 0xfe00707f
#define MATCH_PAAS_WX 0x9a00603b
#define MASK_PAAS_WX 0xfe00707f
#define MATCH_PABD_B 0xcc00003b
#define MASK_PABD_B 0xfe00707f
#define MATCH_PABD_DB 0xcc00601b
#define MASK_PABD_DB 0xfe10f0ff
#define MATCH_PABD_DH 0xc800601b
#define MASK_PABD_DH 0xfe10f0ff
#define MATCH_PABD_H 0xc800003b
#define MASK_PABD_H 0xfe00707f
#define MATCH_PABDSUMAU_B 0xbc00103b
#define MASK_PABDSUMAU_B 0xfe00707f
#define MATCH_PABDSUMU_B 0xb400103b
#define MASK_PABDSUMU_B 0xfe00707f
#define MATCH_PABDU_B 0xec00003b
#define MASK_PABDU_B 0xfe00707f
#define MATCH_PABDU_DB 0xec00601b
#define MASK_PABDU_DB 0xfe10f0ff
#define MATCH_PABDU_DH 0xe800601b
#define MASK_PABDU_DH 0xfe10f0ff
#define MATCH_PABDU_H 0xe800003b
#define MASK_PABDU_H 0xfe00707f
#define MATCH_PACK 0x8004033
#define MASK_PACK 0xfe00707f
#define MATCH_PACKH 0x8007033
#define MASK_PACKH 0xfe00707f
#define MATCH_PACKW 0x800403b
#define MASK_PACKW 0xfe00707f
#define MATCH_PADD_B 0x8400003b
#define MASK_PADD_B 0xfe00707f
#define MATCH_PADD_BS 0x9c00201b
#define MASK_PADD_BS 0xfe00707f
#define MATCH_PADD_DB 0x8400601b
#define MASK_PADD_DB 0xfe10f0ff
#define MATCH_PADD_DBS 0x1c00601b
#define MASK_PADD_DBS 0xfe00f0ff
#define MATCH_PADD_DH 0x8000601b
#define MASK_PADD_DH 0xfe10f0ff
#define MATCH_PADD_DHS 0x1800601b
#define MASK_PADD_DHS 0xfe00f0ff
#define MATCH_PADD_DW 0x8200601b
#define MASK_PADD_DW 0xfe10f0ff
#define MATCH_PADD_DWS 0x1a00601b
#define MASK_PADD_DWS 0xfe00f0ff
#define MATCH_PADD_H 0x8000003b
#define MASK_PADD_H 0xfe00707f
#define MATCH_PADD_HS 0x9800201b
#define MASK_PADD_HS 0xfe00707f
#define MATCH_PADD_W 0x8200003b
#define MASK_PADD_W 0xfe00707f
#define MATCH_PADD_WS 0x9a00201b
#define MASK_PADD_WS 0xfe00707f
#define MATCH_PAS_DHX 0x8010e01b
#define MASK_PAS_DHX 0xfe10f0ff
#define MATCH_PAS_HX 0x8000603b
#define MASK_PAS_HX 0xfe00707f
#define MATCH_PAS_WX 0x8200603b
#define MASK_PAS_WX 0xfe00707f
#define MATCH_PASA_DHX 0x9c10e01b
#define MASK_PASA_DHX 0xfe10f0ff
#define MATCH_PASA_HX 0x9c00603b
#define MASK_PASA_HX 0xfe00707f
#define MATCH_PASA_WX 0x9e00603b
#define MASK_PASA_WX 0xfe00707f
#define MATCH_PASUB_B 0xdc00003b
#define MASK_PASUB_B 0xfe00707f
#define MATCH_PASUB_DB 0xdc00601b
#define MASK_PASUB_DB 0xfe10f0ff
#define MATCH_PASUB_DH 0xd800601b
#define MASK_PASUB_DH 0xfe10f0ff
#define MATCH_PASUB_DW 0xda00601b
#define MASK_PASUB_DW 0xfe10f0ff
#define MATCH_PASUB_H 0xd800003b
#define MASK_PASUB_H 0xfe00707f
#define MATCH_PASUB_W 0xda00003b
#define MASK_PASUB_W 0xfe00707f
#define MATCH_PASUBU_B 0xfc00003b
#define MASK_PASUBU_B 0xfe00707f
#define MATCH_PASUBU_DB 0xfc00601b
#define MASK_PASUBU_DB 0xfe10f0ff
#define MATCH_PASUBU_DH 0xf800601b
#define MASK_PASUBU_DH 0xfe10f0ff
#define MATCH_PASUBU_DW 0xfa00601b
#define MASK_PASUBU_DW 0xfe10f0ff
#define MATCH_PASUBU_H 0xf800003b
#define MASK_PASUBU_H 0xfe00707f
#define MATCH_PASUBU_W 0xfa00003b
#define MASK_PASUBU_W 0xfe00707f
#define MATCH_PAUSE 0x100000f
#define MASK_PAUSE 0xffffffff
#define MATCH_PLI_B 0xb400201b
#define MASK_PLI_B 0xff00f07f
#define MATCH_PLI_DB 0x3400201b
#define MASK_PLI_DB 0xff00f0ff
#define MATCH_PLI_DH 0x3000201b
#define MASK_PLI_DH 0xfe0070ff
#define MATCH_PLI_H 0xb000201b
#define MASK_PLI_H 0xfe00707f
#define MATCH_PLI_W 0xb200201b
#define MASK_PLI_W 0xfe00707f
#define MATCH_PLUI_DH 0x7000201b
#define MASK_PLUI_DH 0xfe0070ff
#define MATCH_PLUI_H 0xf000201b
#define MASK_PLUI_H 0xfe00707f
#define MATCH_PLUI_W 0xf200201b
#define MASK_PLUI_W 0xfe00707f
#define MATCH_PM2ADD_H 0x8000503b
#define MASK_PM2ADD_H 0xfe00707f
#define MATCH_PM2ADD_HX 0x9000503b
#define MASK_PM2ADD_HX 0xfe00707f
#define MATCH_PM2ADD_W 0x8200503b
#define MASK_PM2ADD_W 0xfe00707f
#define MATCH_PM2ADD_WX 0x9200503b
#define MASK_PM2ADD_WX 0xfe00707f
#define MATCH_PM2ADDA_H 0x8800503b
#define MASK_PM2ADDA_H 0xfe00707f
#define MATCH_PM2ADDA_HX 0x9800503b
#define MASK_PM2ADDA_HX 0xfe00707f
#define MATCH_PM2ADDA_W 0x8a00503b
#define MASK_PM2ADDA_W 0xfe00707f
#define MATCH_PM2ADDA_WX 0x9a00503b
#define MASK_PM2ADDA_WX 0xfe00707f
#define MATCH_PM2ADDASU_H 0xe800503b
#define MASK_PM2ADDASU_H 0xfe00707f
#define MATCH_PM2ADDASU_W 0xea00503b
#define MASK_PM2ADDASU_W 0xfe00707f
#define MATCH_PM2ADDAU_H 0xa800503b
#define MASK_PM2ADDAU_H 0xfe00707f
#define MATCH_PM2ADDAU_W 0xaa00503b
#define MASK_PM2ADDAU_W 0xfe00707f
#define MATCH_PM2ADDSU_H 0xe000503b
#define MASK_PM2ADDSU_H 0xfe00707f
#define MATCH_PM2ADDSU_W 0xe200503b
#define MASK_PM2ADDSU_W 0xfe00707f
#define MATCH_PM2ADDU_H 0xa000503b
#define MASK_PM2ADDU_H 0xfe00707f
#define MATCH_PM2ADDU_W 0xa200503b
#define MASK_PM2ADDU_W 0xfe00707f
#define MATCH_PM2SADD_H 0xc400503b
#define MASK_PM2SADD_H 0xfe00707f
#define MATCH_PM2SADD_HX 0xd400503b
#define MASK_PM2SADD_HX 0xfe00707f
#define MATCH_PM2SUB_H 0xc000503b
#define MASK_PM2SUB_H 0xfe00707f
#define MATCH_PM2SUB_HX 0xd000503b
#define MASK_PM2SUB_HX 0xfe00707f
#define MATCH_PM2SUB_W 0xc200503b
#define MASK_PM2SUB_W 0xfe00707f
#define MATCH_PM2SUB_WX 0xd200503b
#define MASK_PM2SUB_WX 0xfe00707f
#define MATCH_PM2SUBA_H 0xc800503b
#define MASK_PM2SUBA_H 0xfe00707f
#define MATCH_PM2SUBA_HX 0xd800503b
#define MASK_PM2SUBA_HX 0xfe00707f
#define MATCH_PM2SUBA_W 0xca00503b
#define MASK_PM2SUBA_W 0xfe00707f
#define MATCH_PM2SUBA_WX 0xda00503b
#define MASK_PM2SUBA_WX 0xfe00707f
#define MATCH_PM2WADD_H 0x600209b
#define MASK_PM2WADD_H 0xfe0070ff
#define MATCH_PM2WADD_HX 0x1600209b
#define MASK_PM2WADD_HX 0xfe0070ff
#define MATCH_PM2WADDA_H 0xe00209b
#define MASK_PM2WADDA_H 0xfe0070ff
#define MATCH_PM2WADDA_HX 0x1e00209b
#define MASK_PM2WADDA_HX 0xfe0070ff
#define MATCH_PM2WADDASU_H 0x6e00209b
#define MASK_PM2WADDASU_H 0xfe0070ff
#define MATCH_PM2WADDAU_H 0x2e00209b
#define MASK_PM2WADDAU_H 0xfe0070ff
#define MATCH_PM2WADDSU_H 0x6600209b
#define MASK_PM2WADDSU_H 0xfe0070ff
#define MATCH_PM2WADDU_H 0x2600209b
#define MASK_PM2WADDU_H 0xfe0070ff
#define MATCH_PM2WSUB_H 0x4600209b
#define MASK_PM2WSUB_H 0xfe0070ff
#define MATCH_PM2WSUB_HX 0x5600209b
#define MASK_PM2WSUB_HX 0xfe0070ff
#define MATCH_PM2WSUBA_H 0x4e00209b
#define MASK_PM2WSUBA_H 0xfe0070ff
#define MATCH_PM2WSUBA_HX 0x5e00209b
#define MASK_PM2WSUBA_HX 0xfe0070ff
#define MATCH_PM4ADD_B 0x8400503b
#define MASK_PM4ADD_B 0xfe00707f
#define MATCH_PM4ADD_H 0x8600503b
#define MASK_PM4ADD_H 0xfe00707f
#define MATCH_PM4ADDA_B 0x8c00503b
#define MASK_PM4ADDA_B 0xfe00707f
#define MATCH_PM4ADDA_H 0x8e00503b
#define MASK_PM4ADDA_H 0xfe00707f
#define MATCH_PM4ADDASU_B 0xec00503b
#define MASK_PM4ADDASU_B 0xfe00707f
#define MATCH_PM4ADDASU_H 0xee00503b
#define MASK_PM4ADDASU_H 0xfe00707f
#define MATCH_PM4ADDAU_B 0xac00503b
#define MASK_PM4ADDAU_B 0xfe00707f
#define MATCH_PM4ADDAU_H 0xae00503b
#define MASK_PM4ADDAU_H 0xfe00707f
#define MATCH_PM4ADDSU_B 0xe400503b
#define MASK_PM4ADDSU_B 0xfe00707f
#define MATCH_PM4ADDSU_H 0xe600503b
#define MASK_PM4ADDSU_H 0xfe00707f
#define MATCH_PM4ADDU_B 0xa400503b
#define MASK_PM4ADDU_B 0xfe00707f
#define MATCH_PM4ADDU_H 0xa600503b
#define MASK_PM4ADDU_H 0xfe00707f
#define MATCH_PMACC_W_H00 0x8a00303b
#define MASK_PMACC_W_H00 0xfe00707f
#define MATCH_PMACC_W_H01 0x9a00103b
#define MASK_PMACC_W_H01 0xfe00707f
#define MATCH_PMACC_W_H11 0x9a00303b
#define MASK_PMACC_W_H11 0xfe00707f
#define MATCH_PMACCSU_W_H00 0xea00303b
#define MASK_PMACCSU_W_H00 0xfe00707f
#define MATCH_PMACCSU_W_H11 0xfa00303b
#define MASK_PMACCSU_W_H11 0xfe00707f
#define MATCH_PMACCU_W_H00 0xaa00303b
#define MASK_PMACCU_W_H00 0xfe00707f
#define MATCH_PMACCU_W_H01 0xba00103b
#define MASK_PMACCU_W_H01 0xfe00707f
#define MATCH_PMACCU_W_H11 0xba00303b
#define MASK_PMACCU_W_H11 0xfe00707f
#define MATCH_PMAX_B 0xf400603b
#define MASK_PMAX_B 0xfe00707f
#define MATCH_PMAX_DB 0xf410e01b
#define MASK_PMAX_DB 0xfe10f0ff
#define MATCH_PMAX_DH 0xf010e01b
#define MASK_PMAX_DH 0xfe10f0ff
#define MATCH_PMAX_DW 0xf210e01b
#define MASK_PMAX_DW 0xfe10f0ff
#define MATCH_PMAX_H 0xf000603b
#define MASK_PMAX_H 0xfe00707f
#define MATCH_PMAX_W 0xf200603b
#define MASK_PMAX_W 0xfe00707f
#define MATCH_PMAXU_B 0xfc00603b
#define MASK_PMAXU_B 0xfe00707f
#define MATCH_PMAXU_DB 0xfc10e01b
#define MASK_PMAXU_DB 0xfe10f0ff
#define MATCH_PMAXU_DH 0xf810e01b
#define MASK_PMAXU_DH 0xfe10f0ff
#define MATCH_PMAXU_DW 0xfa10e01b
#define MASK_PMAXU_DW 0xfe10f0ff
#define MATCH_PMAXU_H 0xf800603b
#define MASK_PMAXU_H 0xfe00707f
#define MATCH_PMAXU_W 0xfa00603b
#define MASK_PMAXU_W 0xfe00707f
#define MATCH_PMHACC_H 0x8800703b
#define MASK_PMHACC_H 0xfe00707f
#define MATCH_PMHACC_H_B0 0xa800703b
#define MASK_PMHACC_H_B0 0xfe00707f
#define MATCH_PMHACC_H_B1 0xb800703b
#define MASK_PMHACC_H_B1 0xfe00707f
#define MATCH_PMHACC_W 0x8a00703b
#define MASK_PMHACC_W 0xfe00707f
#define MATCH_PMHACC_W_H0 0xaa00703b
#define MASK_PMHACC_W_H0 0xfe00707f
#define MATCH_PMHACC_W_H1 0xba00703b
#define MASK_PMHACC_W_H1 0xfe00707f
#define MATCH_PMHACCSU_H 0xc800703b
#define MASK_PMHACCSU_H 0xfe00707f
#define MATCH_PMHACCSU_H_B0 0xac00703b
#define MASK_PMHACCSU_H_B0 0xfe00707f
#define MATCH_PMHACCSU_H_B1 0xbc00703b
#define MASK_PMHACCSU_H_B1 0xfe00707f
#define MATCH_PMHACCSU_W 0xca00703b
#define MASK_PMHACCSU_W 0xfe00707f
#define MATCH_PMHACCSU_W_H0 0xae00703b
#define MASK_PMHACCSU_W_H0 0xfe00707f
#define MATCH_PMHACCSU_W_H1 0xbe00703b
#define MASK_PMHACCSU_W_H1 0xfe00707f
#define MATCH_PMHACCU_H 0x9800703b
#define MASK_PMHACCU_H 0xfe00707f
#define MATCH_PMHACCU_W 0x9a00703b
#define MASK_PMHACCU_W 0xfe00707f
#define MATCH_PMHRACC_H 0x8c00703b
#define MASK_PMHRACC_H 0xfe00707f
#define MATCH_PMHRACC_W 0x8e00703b
#define MASK_PMHRACC_W 0xfe00707f
#define MATCH_PMHRACCSU_H 0xcc00703b
#define MASK_PMHRACCSU_H 0xfe00707f
#define MATCH_PMHRACCSU_W 0xce00703b
#define MASK_PMHRACCSU_W 0xfe00707f
#define MATCH_PMHRACCU_H 0x9c00703b
#define MASK_PMHRACCU_H 0xfe00707f
#define MATCH_PMHRACCU_W 0x9e00703b
#define MASK_PMHRACCU_W 0xfe00707f
#define MATCH_PMIN_B 0xe400603b
#define MASK_PMIN_B 0xfe00707f
#define MATCH_PMIN_DB 0xe410e01b
#define MASK_PMIN_DB 0xfe10f0ff
#define MATCH_PMIN_DH 0xe010e01b
#define MASK_PMIN_DH 0xfe10f0ff
#define MATCH_PMIN_DW 0xe210e01b
#define MASK_PMIN_DW 0xfe10f0ff
#define MATCH_PMIN_H 0xe000603b
#define MASK_PMIN_H 0xfe00707f
#define MATCH_PMIN_W 0xe200603b
#define MASK_PMIN_W 0xfe00707f
#define MATCH_PMINU_B 0xec00603b
#define MASK_PMINU_B 0xfe00707f
#define MATCH_PMINU_DB 0xec10e01b
#define MASK_PMINU_DB 0xfe10f0ff
#define MATCH_PMINU_DH 0xe810e01b
#define MASK_PMINU_DH 0xfe10f0ff
#define MATCH_PMINU_DW 0xea10e01b
#define MASK_PMINU_DW 0xfe10f0ff
#define MATCH_PMINU_H 0xe800603b
#define MASK_PMINU_H 0xfe00707f
#define MATCH_PMINU_W 0xea00603b
#define MASK_PMINU_W 0xfe00707f
#define MATCH_PMQ2ADD_H 0xb000503b
#define MASK_PMQ2ADD_H 0xfe00707f
#define MATCH_PMQ2ADD_W 0xb200503b
#define MASK_PMQ2ADD_W 0xfe00707f
#define MATCH_PMQ2ADDA_H 0xb800503b
#define MASK_PMQ2ADDA_H 0xfe00707f
#define MATCH_PMQ2ADDA_W 0xba00503b
#define MASK_PMQ2ADDA_W 0xfe00707f
#define MATCH_PMQACC_W_H00 0xe800703b
#define MASK_PMQACC_W_H00 0xfe00707f
#define MATCH_PMQACC_W_H01 0xf800503b
#define MASK_PMQACC_W_H01 0xfe00707f
#define MATCH_PMQACC_W_H11 0xf800703b
#define MASK_PMQACC_W_H11 0xfe00707f
#define MATCH_PMQR2ADD_H 0xb400503b
#define MASK_PMQR2ADD_H 0xfe00707f
#define MATCH_PMQR2ADD_W 0xb600503b
#define MASK_PMQR2ADD_W 0xfe00707f
#define MATCH_PMQR2ADDA_H 0xbc00503b
#define MASK_PMQR2ADDA_H 0xfe00707f
#define MATCH_PMQR2ADDA_W 0xbe00503b
#define MASK_PMQR2ADDA_W 0xfe00707f
#define MATCH_PMQRACC_W_H00 0xec00703b
#define MASK_PMQRACC_W_H00 0xfe00707f
#define MATCH_PMQRACC_W_H01 0xfc00503b
#define MASK_PMQRACC_W_H01 0xfe00707f
#define MATCH_PMQRACC_W_H11 0xfc00703b
#define MASK_PMQRACC_W_H11 0xfe00707f
#define MATCH_PMQRWACC_H 0x7c00209b
#define MASK_PMQRWACC_H 0xfe0070ff
#define MATCH_PMQWACC_H 0x7800209b
#define MASK_PMQWACC_H 0xfe0070ff
#define MATCH_PMSEQ_B 0xc400603b
#define MASK_PMSEQ_B 0xfe00707f
#define MATCH_PMSEQ_DB 0xc410e01b
#define MASK_PMSEQ_DB 0xfe10f0ff
#define MATCH_PMSEQ_DH 0xc010e01b
#define MASK_PMSEQ_DH 0xfe10f0ff
#define MATCH_PMSEQ_DW 0xc210e01b
#define MASK_PMSEQ_DW 0xfe10f0ff
#define MATCH_PMSEQ_H 0xc000603b
#define MASK_PMSEQ_H 0xfe00707f
#define MATCH_PMSEQ_W 0xc200603b
#define MASK_PMSEQ_W 0xfe00707f
#define MATCH_PMSLT_B 0xd400603b
#define MASK_PMSLT_B 0xfe00707f
#define MATCH_PMSLT_DB 0xd410e01b
#define MASK_PMSLT_DB 0xfe10f0ff
#define MATCH_PMSLT_DH 0xd010e01b
#define MASK_PMSLT_DH 0xfe10f0ff
#define MATCH_PMSLT_DW 0xd210e01b
#define MASK_PMSLT_DW 0xfe10f0ff
#define MATCH_PMSLT_H 0xd000603b
#define MASK_PMSLT_H 0xfe00707f
#define MATCH_PMSLT_W 0xd200603b
#define MASK_PMSLT_W 0xfe00707f
#define MATCH_PMSLTU_B 0xdc00603b
#define MASK_PMSLTU_B 0xfe00707f
#define MATCH_PMSLTU_DB 0xdc10e01b
#define MASK_PMSLTU_DB 0xfe10f0ff
#define MATCH_PMSLTU_DH 0xd810e01b
#define MASK_PMSLTU_DH 0xfe10f0ff
#define MATCH_PMSLTU_DW 0xda10e01b
#define MASK_PMSLTU_DW 0xfe10f0ff
#define MATCH_PMSLTU_H 0xd800603b
#define MASK_PMSLTU_H 0xfe00707f
#define MATCH_PMSLTU_W 0xda00603b
#define MASK_PMSLTU_W 0xfe00707f
#define MATCH_PMUL_H_B00 0x8000303b
#define MASK_PMUL_H_B00 0xfe00707f
#define MATCH_PMUL_H_B01 0x9000103b
#define MASK_PMUL_H_B01 0xfe00707f
#define MATCH_PMUL_H_B11 0x9000303b
#define MASK_PMUL_H_B11 0xfe00707f
#define MATCH_PMUL_W_H00 0x8200303b
#define MASK_PMUL_W_H00 0xfe00707f
#define MATCH_PMUL_W_H01 0x9200103b
#define MASK_PMUL_W_H01 0xfe00707f
#define MATCH_PMUL_W_H11 0x9200303b
#define MASK_PMUL_W_H11 0xfe00707f
#define MATCH_PMULH_H 0x8000703b
#define MASK_PMULH_H 0xfe00707f
#define MATCH_PMULH_H_B0 0xa000703b
#define MASK_PMULH_H_B0 0xfe00707f
#define MATCH_PMULH_H_B1 0xb000703b
#define MASK_PMULH_H_B1 0xfe00707f
#define MATCH_PMULH_W 0x8200703b
#define MASK_PMULH_W 0xfe00707f
#define MATCH_PMULH_W_H0 0xa200703b
#define MASK_PMULH_W_H0 0xfe00707f
#define MATCH_PMULH_W_H1 0xb200703b
#define MASK_PMULH_W_H1 0xfe00707f
#define MATCH_PMULHR_H 0x8400703b
#define MASK_PMULHR_H 0xfe00707f
#define MATCH_PMULHR_W 0x8600703b
#define MASK_PMULHR_W 0xfe00707f
#define MATCH_PMULHRSU_H 0xc400703b
#define MASK_PMULHRSU_H 0xfe00707f
#define MATCH_PMULHRSU_W 0xc600703b
#define MASK_PMULHRSU_W 0xfe00707f
#define MATCH_PMULHRU_H 0x9400703b
#define MASK_PMULHRU_H 0xfe00707f
#define MATCH_PMULHRU_W 0x9600703b
#define MASK_PMULHRU_W 0xfe00707f
#define MATCH_PMULHSU_H 0xc000703b
#define MASK_PMULHSU_H 0xfe00707f
#define MATCH_PMULHSU_H_B0 0xa400703b
#define MASK_PMULHSU_H_B0 0xfe00707f
#define MATCH_PMULHSU_H_B1 0xb400703b
#define MASK_PMULHSU_H_B1 0xfe00707f
#define MATCH_PMULHSU_W 0xc200703b
#define MASK_PMULHSU_W 0xfe00707f
#define MATCH_PMULHSU_W_H0 0xa600703b
#define MASK_PMULHSU_W_H0 0xfe00707f
#define MATCH_PMULHSU_W_H1 0xb600703b
#define MASK_PMULHSU_W_H1 0xfe00707f
#define MATCH_PMULHU_H 0x9000703b
#define MASK_PMULHU_H 0xfe00707f
#define MATCH_PMULHU_W 0x9200703b
#define MASK_PMULHU_W 0xfe00707f
#define MATCH_PMULQ_H 0xd000703b
#define MASK_PMULQ_H 0xfe00707f
#define MATCH_PMULQ_W 0xd200703b
#define MASK_PMULQ_W 0xfe00707f
#define MATCH_PMULQR_H 0xd400703b
#define MASK_PMULQR_H 0xfe00707f
#define MATCH_PMULQR_W 0xd600703b
#define MASK_PMULQR_W 0xfe00707f
#define MATCH_PMULSU_H_B00 0xe000303b
#define MASK_PMULSU_H_B00 0xfe00707f
#define MATCH_PMULSU_H_B11 0xf000303b
#define MASK_PMULSU_H_B11 0xfe00707f
#define MATCH_PMULSU_W_H00 0xe200303b
#define MASK_PMULSU_W_H00 0xfe00707f
#define MATCH_PMULSU_W_H11 0xf200303b
#define MASK_PMULSU_W_H11 0xfe00707f
#define MATCH_PMULU_H_B00 0xa000303b
#define MASK_PMULU_H_B00 0xfe00707f
#define MATCH_PMULU_H_B01 0xb000103b
#define MASK_PMULU_H_B01 0xfe00707f
#define MATCH_PMULU_H_B11 0xb000303b
#define MASK_PMULU_H_B11 0xfe00707f
#define MATCH_PMULU_W_H00 0xa200303b
#define MASK_PMULU_W_H00 0xfe00707f
#define MATCH_PMULU_W_H01 0xb200103b
#define MASK_PMULU_W_H01 0xfe00707f
#define MATCH_PMULU_W_H11 0xb200303b
#define MASK_PMULU_W_H11 0xfe00707f
#define MATCH_PNCLIP_BS 0x6800c01b
#define MASK_PNCLIP_BS 0xfe00f07f
#define MATCH_PNCLIP_HS 0x6a00c01b
#define MASK_PNCLIP_HS 0xfe00f07f
#define MATCH_PNCLIPI_B 0x6100c01b
#define MASK_PNCLIPI_B 0xff00f07f
#define MATCH_PNCLIPI_H 0x6200c01b
#define MASK_PNCLIPI_H 0xfe00f07f
#define MATCH_PNCLIPIU_B 0x2100c01b
#define MASK_PNCLIPIU_B 0xff00f07f
#define MATCH_PNCLIPIU_H 0x2200c01b
#define MASK_PNCLIPIU_H 0xfe00f07f
#define MATCH_PNCLIPP_B 0xc000203b
#define MASK_PNCLIPP_B 0xfe00707f
#define MATCH_PNCLIPP_H 0xc200203b
#define MASK_PNCLIPP_H 0xfe00707f
#define MATCH_PNCLIPP_W 0xc600203b
#define MASK_PNCLIPP_W 0xfe00707f
#define MATCH_PNCLIPR_BS 0x7800c01b
#define MASK_PNCLIPR_BS 0xfe00f07f
#define MATCH_PNCLIPR_HS 0x7a00c01b
#define MASK_PNCLIPR_HS 0xfe00f07f
#define MATCH_PNCLIPRI_B 0x7100c01b
#define MASK_PNCLIPRI_B 0xff00f07f
#define MATCH_PNCLIPRI_H 0x7200c01b
#define MASK_PNCLIPRI_H 0xfe00f07f
#define MATCH_PNCLIPRIU_B 0x3100c01b
#define MASK_PNCLIPRIU_B 0xff00f07f
#define MATCH_PNCLIPRIU_H 0x3200c01b
#define MASK_PNCLIPRIU_H 0xfe00f07f
#define MATCH_PNCLIPRU_BS 0x3800c01b
#define MASK_PNCLIPRU_BS 0xfe00f07f
#define MATCH_PNCLIPRU_HS 0x3a00c01b
#define MASK_PNCLIPRU_HS 0xfe00f07f
#define MATCH_PNCLIPU_BS 0x2800c01b
#define MASK_PNCLIPU_BS 0xfe00f07f
#define MATCH_PNCLIPU_HS 0x2a00c01b
#define MASK_PNCLIPU_HS 0xfe00f07f
#define MATCH_PNCLIPUP_B 0x8000203b
#define MASK_PNCLIPUP_B 0xfe00707f
#define MATCH_PNCLIPUP_H 0x8200203b
#define MASK_PNCLIPUP_H 0xfe00707f
#define MATCH_PNCLIPUP_W 0x8600203b
#define MASK_PNCLIPUP_W 0xfe00707f
#define MATCH_PNSRA_BS 0x4800c01b
#define MASK_PNSRA_BS 0xfe00f07f
#define MATCH_PNSRA_HS 0x4a00c01b
#define MASK_PNSRA_HS 0xfe00f07f
#define MATCH_PNSRAI_B 0x4100c01b
#define MASK_PNSRAI_B 0xff00f07f
#define MATCH_PNSRAI_H 0x4200c01b
#define MASK_PNSRAI_H 0xfe00f07f
#define MATCH_PNSRAR_BS 0x5800c01b
#define MASK_PNSRAR_BS 0xfe00f07f
#define MATCH_PNSRAR_HS 0x5a00c01b
#define MASK_PNSRAR_HS 0xfe00f07f
#define MATCH_PNSRARI_B 0x5100c01b
#define MASK_PNSRARI_B 0xff00f07f
#define MATCH_PNSRARI_H 0x5200c01b
#define MASK_PNSRARI_H 0xfe00f07f
#define MATCH_PNSRL_BS 0x800c01b
#define MASK_PNSRL_BS 0xfe00f07f
#define MATCH_PNSRL_HS 0xa00c01b
#define MASK_PNSRL_HS 0xfe00f07f
#define MATCH_PNSRLI_B 0x100c01b
#define MASK_PNSRLI_B 0xff00f07f
#define MATCH_PNSRLI_H 0x200c01b
#define MASK_PNSRLI_H 0xfe00f07f
#define MATCH_PPAIRE_B 0x8000403b
#define MASK_PPAIRE_B 0xfe00707f
#define MATCH_PPAIRE_DB 0x8000e01b
#define MASK_PPAIRE_DB 0xfe10f0ff
#define MATCH_PPAIRE_DH 0x8200e01b
#define MASK_PPAIRE_DH 0xfe10f0ff
#define MATCH_PPAIRE_H 0x8200403b
#define MASK_PPAIRE_H 0xfe00707f
#define MATCH_PPAIREO_B 0x9000403b
#define MASK_PPAIREO_B 0xfe00707f
#define MATCH_PPAIREO_DB 0x9000e01b
#define MASK_PPAIREO_DB 0xfe10f0ff
#define MATCH_PPAIREO_DH 0x9200e01b
#define MASK_PPAIREO_DH 0xfe10f0ff
#define MATCH_PPAIREO_H 0x9200403b
#define MASK_PPAIREO_H 0xfe00707f
#define MATCH_PPAIREO_W 0x9600403b
#define MASK_PPAIREO_W 0xfe00707f
#define MATCH_PPAIRO_B 0xb000403b
#define MASK_PPAIRO_B 0xfe00707f
#define MATCH_PPAIRO_DB 0xb000e01b
#define MASK_PPAIRO_DB 0xfe10f0ff
#define MATCH_PPAIRO_DH 0xb200e01b
#define MASK_PPAIRO_DH 0xfe10f0ff
#define MATCH_PPAIRO_H 0xb200403b
#define MASK_PPAIRO_H 0xfe00707f
#define MATCH_PPAIRO_W 0xb600403b
#define MASK_PPAIRO_W 0xfe00707f
#define MATCH_PPAIROE_B 0xa000403b
#define MASK_PPAIROE_B 0xfe00707f
#define MATCH_PPAIROE_DB 0xa000e01b
#define MASK_PPAIROE_DB 0xfe10f0ff
#define MATCH_PPAIROE_DH 0xa200e01b
#define MASK_PPAIROE_DH 0xfe10f0ff
#define MATCH_PPAIROE_H 0xa200403b
#define MASK_PPAIROE_H 0xfe00707f
#define MATCH_PPAIROE_W 0xa600403b
#define MASK_PPAIROE_W 0xfe00707f
#define MATCH_PREDSUM_BS 0x9c00401b
#define MASK_PREDSUM_BS 0xfe00707f
#define MATCH_PREDSUM_DBS 0x1c00401b
#define MASK_PREDSUM_DBS 0xfe00f07f
#define MATCH_PREDSUM_DHS 0x1800401b
#define MASK_PREDSUM_DHS 0xfe00f07f
#define MATCH_PREDSUM_HS 0x9800401b
#define MASK_PREDSUM_HS 0xfe00707f
#define MATCH_PREDSUM_WS 0x9a00401b
#define MASK_PREDSUM_WS 0xfe00707f
#define MATCH_PREDSUMU_BS 0xbc00401b
#define MASK_PREDSUMU_BS 0xfe00707f
#define MATCH_PREDSUMU_DBS 0x3c00401b
#define MASK_PREDSUMU_DBS 0xfe00f07f
#define MATCH_PREDSUMU_DHS 0x3800401b
#define MASK_PREDSUMU_DHS 0xfe00f07f
#define MATCH_PREDSUMU_HS 0xb800401b
#define MASK_PREDSUMU_HS 0xfe00707f
#define MATCH_PREDSUMU_WS 0xba00401b
#define MASK_PREDSUMU_WS 0xfe00707f
#define MATCH_PREFETCH_I 0x6013
#define MASK_PREFETCH_I 0x1f07fff
#define MATCH_PREFETCH_R 0x106013
#define MASK_PREFETCH_R 0x1f07fff
#define MATCH_PREFETCH_W 0x306013
#define MASK_PREFETCH_W 0x1f07fff
#define MATCH_PSA_DHX 0x8410e01b
#define MASK_PSA_DHX 0xfe10f0ff
#define MATCH_PSA_HX 0x8400603b
#define MASK_PSA_HX 0xfe00707f
#define MATCH_PSA_WX 0x8600603b
#define MASK_PSA_WX 0xfe00707f
#define MATCH_PSABS_B 0xe470201b
#define MASK_PSABS_B 0xfff0707f
#define MATCH_PSABS_DB 0x6470601b
#define MASK_PSABS_DB 0xfff0f0ff
#define MATCH_PSABS_DH 0x6070601b
#define MASK_PSABS_DH 0xfff0f0ff
#define MATCH_PSABS_H 0xe070201b
#define MASK_PSABS_H 0xfff0707f
#define MATCH_PSADD_B 0x9400003b
#define MASK_PSADD_B 0xfe00707f
#define MATCH_PSADD_DB 0x9400601b
#define MASK_PSADD_DB 0xfe10f0ff
#define MATCH_PSADD_DH 0x9000601b
#define MASK_PSADD_DH 0xfe10f0ff
#define MATCH_PSADD_DW 0x9200601b
#define MASK_PSADD_DW 0xfe10f0ff
#define MATCH_PSADD_H 0x9000003b
#define MASK_PSADD_H 0xfe00707f
#define MATCH_PSADD_W 0x9200003b
#define MASK_PSADD_W 0xfe00707f
#define MATCH_PSADDU_B 0xb400003b
#define MASK_PSADDU_B 0xfe00707f
#define MATCH_PSADDU_DB 0xb400601b
#define MASK_PSADDU_DB 0xfe10f0ff
#define MATCH_PSADDU_DH 0xb000601b
#define MASK_PSADDU_DH 0xfe10f0ff
#define MATCH_PSADDU_DW 0xb200601b
#define MASK_PSADDU_DW 0xfe10f0ff
#define MATCH_PSADDU_H 0xb000003b
#define MASK_PSADDU_H 0xfe00707f
#define MATCH_PSADDU_W 0xb200003b
#define MASK_PSADDU_W 0xfe00707f
#define MATCH_PSAS_DHX 0x9010e01b
#define MASK_PSAS_DHX 0xfe10f0ff
#define MATCH_PSAS_HX 0x9000603b
#define MASK_PSAS_HX 0xfe00707f
#define MATCH_PSAS_WX 0x9200603b
#define MASK_PSAS_WX 0xfe00707f
#define MATCH_PSATI_DH 0x6100e01b
#define MASK_PSATI_DH 0xff00f0ff
#define MATCH_PSATI_DW 0x6200e01b
#define MASK_PSATI_DW 0xfe00f0ff
#define MATCH_PSATI_H 0xe100401b
#define MASK_PSATI_H 0xff00707f
#define MATCH_PSATI_W 0xe200401b
#define MASK_PSATI_W 0xfe00707f
#define MATCH_PSEXT_DH_B 0x6040601b
#define MASK_PSEXT_DH_B 0xfff0f0ff
#define MATCH_PSEXT_DW_B 0x6240601b
#define MASK_PSEXT_DW_B 0xfff0f0ff
#define MATCH_PSEXT_DW_H 0x6250601b
#define MASK_PSEXT_DW_H 0xfff0f0ff
#define MATCH_PSEXT_H_B 0xe040201b
#define MASK_PSEXT_H_B 0xfff0707f
#define MATCH_PSEXT_W_B 0xe240201b
#define MASK_PSEXT_W_B 0xfff0707f
#define MATCH_PSEXT_W_H 0xe250201b
#define MASK_PSEXT_W_H 0xfff0707f
#define MATCH_PSH1ADD_DH 0xa010601b
#define MASK_PSH1ADD_DH 0xfe10f0ff
#define MATCH_PSH1ADD_DW 0xa210601b
#define MASK_PSH1ADD_DW 0xfe10f0ff
#define MATCH_PSH1ADD_H 0xa000203b
#define MASK_PSH1ADD_H 0xfe00707f
#define MATCH_PSH1ADD_W 0xa200203b
#define MASK_PSH1ADD_W 0xfe00707f
#define MATCH_PSLL_BS 0x8c00201b
#define MASK_PSLL_BS 0xfe00707f
#define MATCH_PSLL_DBS 0xc00601b
#define MASK_PSLL_DBS 0xfe00f0ff
#define MATCH_PSLL_DHS 0x800601b
#define MASK_PSLL_DHS 0xfe00f0ff
#define MATCH_PSLL_DWS 0xa00601b
#define MASK_PSLL_DWS 0xfe00f0ff
#define MATCH_PSLL_HS 0x8800201b
#define MASK_PSLL_HS 0xfe00707f
#define MATCH_PSLL_WS 0x8a00201b
#define MASK_PSLL_WS 0xfe00707f
#define MATCH_PSLLI_B 0x8080201b
#define MASK_PSLLI_B 0xff80707f
#define MATCH_PSLLI_DB 0x80601b
#define MASK_PSLLI_DB 0xff80f0ff
#define MATCH_PSLLI_DH 0x100601b
#define MASK_PSLLI_DH 0xff00f0ff
#define MATCH_PSLLI_DW 0x200601b
#define MASK_PSLLI_DW 0xfe00f0ff
#define MATCH_PSLLI_H 0x8100201b
#define MASK_PSLLI_H 0xff00707f
#define MATCH_PSLLI_W 0x8200201b
#define MASK_PSLLI_W 0xfe00707f
#define MATCH_PSRA_BS 0xcc00401b
#define MASK_PSRA_BS 0xfe00707f
#define MATCH_PSRA_DBS 0x4c00e01b
#define MASK_PSRA_DBS 0xfe00f0ff
#define MATCH_PSRA_DHS 0x4800e01b
#define MASK_PSRA_DHS 0xfe00f0ff
#define MATCH_PSRA_DWS 0x4a00e01b
#define MASK_PSRA_DWS 0xfe00f0ff
#define MATCH_PSRA_HS 0xc800401b
#define MASK_PSRA_HS 0xfe00707f
#define MATCH_PSRA_WS 0xca00401b
#define MASK_PSRA_WS 0xfe00707f
#define MATCH_PSRAI_B 0xc080401b
#define MASK_PSRAI_B 0xff80707f
#define MATCH_PSRAI_DB 0x4080e01b
#define MASK_PSRAI_DB 0xff80f0ff
#define MATCH_PSRAI_DH 0x4100e01b
#define MASK_PSRAI_DH 0xff00f0ff
#define MATCH_PSRAI_DW 0x4200e01b
#define MASK_PSRAI_DW 0xfe00f0ff
#define MATCH_PSRAI_H 0xc100401b
#define MASK_PSRAI_H 0xff00707f
#define MATCH_PSRAI_W 0xc200401b
#define MASK_PSRAI_W 0xfe00707f
#define MATCH_PSRARI_DH 0x5100e01b
#define MASK_PSRARI_DH 0xff00f0ff
#define MATCH_PSRARI_DW 0x5200e01b
#define MASK_PSRARI_DW 0xfe00f0ff
#define MATCH_PSRARI_H 0xd100401b
#define MASK_PSRARI_H 0xff00707f
#define MATCH_PSRARI_W 0xd200401b
#define MASK_PSRARI_W 0xfe00707f
#define MATCH_PSRL_BS 0x8c00401b
#define MASK_PSRL_BS 0xfe00707f
#define MATCH_PSRL_DBS 0xc00e01b
#define MASK_PSRL_DBS 0xfe00f0ff
#define MATCH_PSRL_DHS 0x800e01b
#define MASK_PSRL_DHS 0xfe00f0ff
#define MATCH_PSRL_DWS 0xa00e01b
#define MASK_PSRL_DWS 0xfe00f0ff
#define MATCH_PSRL_HS 0x8800401b
#define MASK_PSRL_HS 0xfe00707f
#define MATCH_PSRL_WS 0x8a00401b
#define MASK_PSRL_WS 0xfe00707f
#define MATCH_PSRLI_B 0x8080401b
#define MASK_PSRLI_B 0xff80707f
#define MATCH_PSRLI_DB 0x80e01b
#define MASK_PSRLI_DB 0xff80f0ff
#define MATCH_PSRLI_DH 0x100e01b
#define MASK_PSRLI_DH 0xff00f0ff
#define MATCH_PSRLI_DW 0x200e01b
#define MASK_PSRLI_DW 0xfe00f0ff
#define MATCH_PSRLI_H 0x8100401b
#define MASK_PSRLI_H 0xff00707f
#define MATCH_PSRLI_W 0x8200401b
#define MASK_PSRLI_W 0xfe00707f
#define MATCH_PSSA_DHX 0x9410e01b
#define MASK_PSSA_DHX 0xfe10f0ff
#define MATCH_PSSA_HX 0x9400603b
#define MASK_PSSA_HX 0xfe00707f
#define MATCH_PSSA_WX 0x9600603b
#define MASK_PSSA_WX 0xfe00707f
#define MATCH_PSSH1SADD_DH 0xb010601b
#define MASK_PSSH1SADD_DH 0xfe10f0ff
#define MATCH_PSSH1SADD_DW 0xb210601b
#define MASK_PSSH1SADD_DW 0xfe10f0ff
#define MATCH_PSSH1SADD_H 0xb000203b
#define MASK_PSSH1SADD_H 0xfe00707f
#define MATCH_PSSH1SADD_W 0xb200203b
#define MASK_PSSH1SADD_W 0xfe00707f
#define MATCH_PSSHA_DHS 0x6800601b
#define MASK_PSSHA_DHS 0xfe00f0ff
#define MATCH_PSSHA_DWS 0x6a00601b
#define MASK_PSSHA_DWS 0xfe00f0ff
#define MATCH_PSSHA_HS 0xe800201b
#define MASK_PSSHA_HS 0xfe00707f
#define MATCH_PSSHA_WS 0xea00201b
#define MASK_PSSHA_WS 0xfe00707f
#define MATCH_PSSHAR_DHS 0x7800601b
#define MASK_PSSHAR_DHS 0xfe00f0ff
#define MATCH_PSSHAR_DWS 0x7a00601b
#define MASK_PSSHAR_DWS 0xfe00f0ff
#define MATCH_PSSHAR_HS 0xf800201b
#define MASK_PSSHAR_HS 0xfe00707f
#define MATCH_PSSHAR_WS 0xfa00201b
#define MASK_PSSHAR_WS 0xfe00707f
#define MATCH_PSSHL_DHS 0x2800601b
#define MASK_PSSHL_DHS 0xfe00f0ff
#define MATCH_PSSHL_DWS 0x2a00601b
#define MASK_PSSHL_DWS 0xfe00f0ff
#define MATCH_PSSHL_HS 0xa800201b
#define MASK_PSSHL_HS 0xfe00707f
#define MATCH_PSSHL_WS 0xaa00201b
#define MASK_PSSHL_WS 0xfe00707f
#define MATCH_PSSHLR_DHS 0x3800601b
#define MASK_PSSHLR_DHS 0xfe00f0ff
#define MATCH_PSSHLR_DWS 0x3a00601b
#define MASK_PSSHLR_DWS 0xfe00f0ff
#define MATCH_PSSHLR_HS 0xb800201b
#define MASK_PSSHLR_HS 0xfe00707f
#define MATCH_PSSHLR_WS 0xba00201b
#define MASK_PSSHLR_WS 0xfe00707f
#define MATCH_PSSLAI_DH 0x5100601b
#define MASK_PSSLAI_DH 0xff00f0ff
#define MATCH_PSSLAI_DW 0x5200601b
#define MASK_PSSLAI_DW 0xfe00f0ff
#define MATCH_PSSLAI_H 0xd100201b
#define MASK_PSSLAI_H 0xff00707f
#define MATCH_PSSLAI_W 0xd200201b
#define MASK_PSSLAI_W 0xfe00707f
#define MATCH_PSSUB_B 0xd400003b
#define MASK_PSSUB_B 0xfe00707f
#define MATCH_PSSUB_DB 0xd400601b
#define MASK_PSSUB_DB 0xfe10f0ff
#define MATCH_PSSUB_DH 0xd000601b
#define MASK_PSSUB_DH 0xfe10f0ff
#define MATCH_PSSUB_DW 0xd200601b
#define MASK_PSSUB_DW 0xfe10f0ff
#define MATCH_PSSUB_H 0xd000003b
#define MASK_PSSUB_H 0xfe00707f
#define MATCH_PSSUB_W 0xd200003b
#define MASK_PSSUB_W 0xfe00707f
#define MATCH_PSSUBU_B 0xf400003b
#define MASK_PSSUBU_B 0xfe00707f
#define MATCH_PSSUBU_DB 0xf400601b
#define MASK_PSSUBU_DB 0xfe10f0ff
#define MATCH_PSSUBU_DH 0xf000601b
#define MASK_PSSUBU_DH 0xfe10f0ff
#define MATCH_PSSUBU_DW 0xf200601b
#define MASK_PSSUBU_DW 0xfe10f0ff
#define MATCH_PSSUBU_H 0xf000003b
#define MASK_PSSUBU_H 0xfe00707f
#define MATCH_PSSUBU_W 0xf200003b
#define MASK_PSSUBU_W 0xfe00707f
#define MATCH_PSUB_B 0xc400003b
#define MASK_PSUB_B 0xfe00707f
#define MATCH_PSUB_DB 0xc400601b
#define MASK_PSUB_DB 0xfe10f0ff
#define MATCH_PSUB_DH 0xc000601b
#define MASK_PSUB_DH 0xfe10f0ff
#define MATCH_PSUB_DW 0xc200601b
#define MASK_PSUB_DW 0xfe10f0ff
#define MATCH_PSUB_H 0xc000003b
#define MASK_PSUB_H 0xfe00707f
#define MATCH_PSUB_W 0xc200003b
#define MASK_PSUB_W 0xfe00707f
#define MATCH_PUSATI_DH 0x2100e01b
#define MASK_PUSATI_DH 0xff00f0ff
#define MATCH_PUSATI_DW 0x2200e01b
#define MASK_PUSATI_DW 0xfe00f0ff
#define MATCH_PUSATI_H 0xa100401b
#define MASK_PUSATI_H 0xff00707f
#define MATCH_PUSATI_W 0xa200401b
#define MASK_PUSATI_W 0xfe00707f
#define MATCH_PWADD_B 0x400209b
#define MASK_PWADD_B 0xfe0070ff
#define MATCH_PWADD_H 0x209b
#define MASK_PWADD_H 0xfe0070ff
#define MATCH_PWADDA_B 0xc00209b
#define MASK_PWADDA_B 0xfe0070ff
#define MATCH_PWADDA_H 0x800209b
#define MASK_PWADDA_H 0xfe0070ff
#define MATCH_PWADDAU_B 0x1c00209b
#define MASK_PWADDAU_B 0xfe0070ff
#define MATCH_PWADDAU_H 0x1800209b
#define MASK_PWADDAU_H 0xfe0070ff
#define MATCH_PWADDU_B 0x1400209b
#define MASK_PWADDU_B 0xfe0070ff
#define MATCH_PWADDU_H 0x1000209b
#define MASK_PWADDU_H 0xfe0070ff
#define MATCH_PWMACC_H 0x2800209b
#define MASK_PWMACC_H 0xfe0070ff
#define MATCH_PWMACCSU_H 0x6800209b
#define MASK_PWMACCSU_H 0xfe0070ff
#define MATCH_PWMACCU_H 0x3800209b
#define MASK_PWMACCU_H 0xfe0070ff
#define MATCH_PWMUL_B 0x2400209b
#define MASK_PWMUL_B 0xfe0070ff
#define MATCH_PWMUL_H 0x2000209b
#define MASK_PWMUL_H 0xfe0070ff
#define MATCH_PWMULSU_B 0x6400209b
#define MASK_PWMULSU_B 0xfe0070ff
#define MATCH_PWMULSU_H 0x6000209b
#define MASK_PWMULSU_H 0xfe0070ff
#define MATCH_PWMULU_B 0x3400209b
#define MASK_PWMULU_B 0xfe0070ff
#define MATCH_PWMULU_H 0x3000209b
#define MASK_PWMULU_H 0xfe0070ff
#define MATCH_PWSLA_BS 0x4800201b
#define MASK_PWSLA_BS 0xfe0070ff
#define MATCH_PWSLA_HS 0x4a00201b
#define MASK_PWSLA_HS 0xfe0070ff
#define MATCH_PWSLAI_B 0x4100201b
#define MASK_PWSLAI_B 0xff0070ff
#define MATCH_PWSLAI_H 0x4200201b
#define MASK_PWSLAI_H 0xfe0070ff
#define MATCH_PWSLL_BS 0x800201b
#define MASK_PWSLL_BS 0xfe0070ff
#define MATCH_PWSLL_HS 0xa00201b
#define MASK_PWSLL_HS 0xfe0070ff
#define MATCH_PWSLLI_B 0x100201b
#define MASK_PWSLLI_B 0xff0070ff
#define MATCH_PWSLLI_H 0x200201b
#define MASK_PWSLLI_H 0xfe0070ff
#define MATCH_PWSUB_B 0x4400209b
#define MASK_PWSUB_B 0xfe0070ff
#define MATCH_PWSUB_H 0x4000209b
#define MASK_PWSUB_H 0xfe0070ff
#define MATCH_PWSUBA_B 0x4c00209b
#define MASK_PWSUBA_B 0xfe0070ff
#define MATCH_PWSUBA_H 0x4800209b
#define MASK_PWSUBA_H 0xfe0070ff
#define MATCH_PWSUBAU_B 0x5c00209b
#define MASK_PWSUBAU_B 0xfe0070ff
#define MATCH_PWSUBAU_H 0x5800209b
#define MASK_PWSUBAU_H 0xfe0070ff
#define MATCH_PWSUBU_B 0x5400209b
#define MASK_PWSUBU_B 0xfe0070ff
#define MATCH_PWSUBU_H 0x5000209b
#define MASK_PWSUBU_H 0xfe0070ff
#define MATCH_REM 0x2006033
#define MASK_REM 0xfe00707f
#define MATCH_REMU 0x2007033
#define MASK_REMU 0xfe00707f
#define MATCH_REMUW 0x200703b
#define MASK_REMUW 0xfe00707f
#define MATCH_REMW 0x200603b
#define MASK_REMW 0xfe00707f
#define MATCH_REV 0x6bf05013
#define MASK_REV 0xfff0707f
#define MATCH_REV16 0x6b005013
#define MASK_REV16 0xfff0707f
#define MATCH_REV8 0x6b805013
#define MASK_REV8 0xfff0707f
#define MATCH_REV8_RV32 0x69805013
#define MASK_REV8_RV32 0xfff0707f
#define MATCH_REV_RV32 0x69f05013
#define MASK_REV_RV32 0xfff0707f
#define MATCH_ROL 0x60001033
#define MASK_ROL 0xfe00707f
#define MATCH_ROLW 0x6000103b
#define MASK_ROLW 0xfe00707f
#define MATCH_ROR 0x60005033
#define MASK_ROR 0xfe00707f
#define MATCH_RORI 0x60005013
#define MASK_RORI 0xfc00707f
#define MATCH_RORIW 0x6000501b
#define MASK_RORIW 0xfe00707f
#define MATCH_RORW 0x6000503b
#define MASK_RORW 0xfe00707f
#define MATCH_SADD 0x9200003b
#define MASK_SADD 0xfe00707f
#define MATCH_SADDU 0xb200003b
#define MASK_SADDU 0xfe00707f
#define MATCH_SATI 0xe400401b
#define MASK_SATI 0xfc00707f
#define MATCH_SATI_RV32 0xe200401b
#define MASK_SATI_RV32 0xfe00707f
#define MATCH_SB 0x23
#define MASK_SB 0x707f
#define MATCH_SB_RL 0x3a00002f
#define MASK_SB_RL 0xfa007fff
#define MATCH_SC_D 0x1800302f
#define MASK_SC_D 0xf800707f
#define MATCH_SC_W 0x1800202f
#define MASK_SC_W 0xf800707f
#define MATCH_SCTRCLR 0x10400073
#define MASK_SCTRCLR 0xffffffff
#define MATCH_SD 0x3023
#define MASK_SD 0x707f
#define MATCH_SD_RL 0x3a00302f
#define MASK_SD_RL 0xfa007fff
#define MATCH_SEXT_B 0x60401013
#define MASK_SEXT_B 0xfff0707f
#define MATCH_SEXT_H 0x60501013
#define MASK_SEXT_H 0xfff0707f
#define MATCH_SFENCE_INVAL_IR 0x18100073
#define MASK_SFENCE_INVAL_IR 0xffffffff
#define MATCH_SFENCE_VMA 0x12000073
#define MASK_SFENCE_VMA 0xfe007fff
#define MATCH_SFENCE_W_INVAL 0x18000073
#define MASK_SFENCE_W_INVAL 0xffffffff
#define MATCH_SH 0x1023
#define MASK_SH 0x707f
#define MATCH_SH1ADD 0x20002033
#define MASK_SH1ADD 0xfe00707f
#define MATCH_SH1ADD_UW 0x2000203b
#define MASK_SH1ADD_UW 0xfe00707f
#define MATCH_SH2ADD 0x20004033
#define MASK_SH2ADD 0xfe00707f
#define MATCH_SH2ADD_UW 0x2000403b
#define MASK_SH2ADD_UW 0xfe00707f
#define MATCH_SH3ADD 0x20006033
#define MASK_SH3ADD 0xfe00707f
#define MATCH_SH3ADD_UW 0x2000603b
#define MASK_SH3ADD_UW 0xfe00707f
#define MATCH_SH_RL 0x3a00102f
#define MASK_SH_RL 0xfa007fff
#define MATCH_SHA 0xee00201b
#define MASK_SHA 0xfe00707f
#define MATCH_SHA256SIG0 0x10201013
#define MASK_SHA256SIG0 0xfff0707f
#define MATCH_SHA256SIG1 0x10301013
#define MASK_SHA256SIG1 0xfff0707f
#define MATCH_SHA256SUM0 0x10001013
#define MASK_SHA256SUM0 0xfff0707f
#define MATCH_SHA256SUM1 0x10101013
#define MASK_SHA256SUM1 0xfff0707f
#define MATCH_SHA512SIG0 0x10601013
#define MASK_SHA512SIG0 0xfff0707f
#define MATCH_SHA512SIG0H 0x5c000033
#define MASK_SHA512SIG0H 0xfe00707f
#define MATCH_SHA512SIG0L 0x54000033
#define MASK_SHA512SIG0L 0xfe00707f
#define MATCH_SHA512SIG1 0x10701013
#define MASK_SHA512SIG1 0xfff0707f
#define MATCH_SHA512SIG1H 0x5e000033
#define MASK_SHA512SIG1H 0xfe00707f
#define MATCH_SHA512SIG1L 0x56000033
#define MASK_SHA512SIG1L 0xfe00707f
#define MATCH_SHA512SUM0 0x10401013
#define MASK_SHA512SUM0 0xfff0707f
#define MATCH_SHA512SUM0R 0x50000033
#define MASK_SHA512SUM0R 0xfe00707f
#define MATCH_SHA512SUM1 0x10501013
#define MASK_SHA512SUM1 0xfff0707f
#define MATCH_SHA512SUM1R 0x52000033
#define MASK_SHA512SUM1R 0xfe00707f
#define MATCH_SHAR 0xfe00201b
#define MASK_SHAR 0xfe00707f
#define MATCH_SHL 0xae00201b
#define MASK_SHL 0xfe00707f
#define MATCH_SHLR 0xbe00201b
#define MASK_SHLR 0xfe00707f
#define MATCH_SINVAL_VMA 0x16000073
#define MASK_SINVAL_VMA 0xfe007fff
#define MATCH_SLL 0x1033
#define MASK_SLL 0xfe00707f
#define MATCH_SLLI 0x1013
#define MASK_SLLI 0xfc00707f
#define MATCH_SLLI_RV32 0x1013
#define MASK_SLLI_RV32 0xfe00707f
#define MATCH_SLLI_UW 0x800101b
#define MASK_SLLI_UW 0xfc00707f
#define MATCH_SLLIW 0x101b
#define MASK_SLLIW 0xfe00707f
#define MATCH_SLLW 0x103b
#define MASK_SLLW 0xfe00707f
#define MATCH_SLT 0x2033
#define MASK_SLT 0xfe00707f
#define MATCH_SLTI 0x2013
#define MASK_SLTI 0x707f
#define MATCH_SLTIU 0x3013
#define MASK_SLTIU 0x707f
#define MATCH_SLTU 0x3033
#define MASK_SLTU 0xfe00707f
#define MATCH_SLX 0x8e00103b
#define MASK_SLX 0xfe00707f
#define MATCH_SM3P0 0x10801013
#define MASK_SM3P0 0xfff0707f
#define MATCH_SM3P1 0x10901013
#define MASK_SM3P1 0xfff0707f
#define MATCH_SM4ED 0x30000033
#define MASK_SM4ED 0x3e00707f
#define MATCH_SM4KS 0x34000033
#define MASK_SM4KS 0x3e00707f
#define MATCH_SRA 0x40005033
#define MASK_SRA 0xfe00707f
#define MATCH_SRAI 0x40005013
#define MASK_SRAI 0xfc00707f
#define MATCH_SRAI_RV32 0x40005013
#define MASK_SRAI_RV32 0xfe00707f
#define MATCH_SRAIW 0x4000501b
#define MASK_SRAIW 0xfe00707f
#define MATCH_SRARI 0xd400401b
#define MASK_SRARI 0xfc00707f
#define MATCH_SRARI_RV32 0xd200401b
#define MASK_SRARI_RV32 0xfe00707f
#define MATCH_SRAW 0x4000503b
#define MASK_SRAW 0xfe00707f
#define MATCH_SRET 0x10200073
#define MASK_SRET 0xffffffff
#define MATCH_SRL 0x5033
#define MASK_SRL 0xfe00707f
#define MATCH_SRLI 0x5013
#define MASK_SRLI 0xfc00707f
#define MATCH_SRLI_RV32 0x5013
#define MASK_SRLI_RV32 0xfe00707f
#define MATCH_SRLIW 0x501b
#define MASK_SRLIW 0xfe00707f
#define MATCH_SRLW 0x503b
#define MASK_SRLW 0xfe00707f
#define MATCH_SRX 0xae00103b
#define MASK_SRX 0xfe00707f
#define MATCH_SSAMOSWAP_D 0x4800302f
#define MASK_SSAMOSWAP_D 0xf800707f
#define MATCH_SSAMOSWAP_W 0x4800202f
#define MASK_SSAMOSWAP_W 0xf800707f
#define MATCH_SSH1SADD 0xb200203b
#define MASK_SSH1SADD 0xfe00707f
#define MATCH_SSHA 0xea00201b
#define MASK_SSHA 0xfe00707f
#define MATCH_SSHAR 0xfa00201b
#define MASK_SSHAR 0xfe00707f
#define MATCH_SSHL 0xaa00201b
#define MASK_SSHL 0xfe00707f
#define MATCH_SSHLR 0xba00201b
#define MASK_SSHLR 0xfe00707f
#define MATCH_SSLAI 0xd200201b
#define MASK_SSLAI 0xfe00707f
#define MATCH_SSPOPCHK_X1 0xcdc0c073
#define MASK_SSPOPCHK_X1 0xffffffff
#define MATCH_SSPOPCHK_X5 0xcdc2c073
#define MASK_SSPOPCHK_X5 0xffffffff
#define MATCH_SSPUSH_X1 0xce104073
#define MASK_SSPUSH_X1 0xffffffff
#define MATCH_SSPUSH_X5 0xce504073
#define MASK_SSPUSH_X5 0xffffffff
#define MATCH_SSRDP 0xcdc04073
#define MASK_SSRDP 0xfffff07f
#define MATCH_SSUB 0xd200003b
#define MASK_SSUB 0xfe00707f
#define MATCH_SSUBU 0xf200003b
#define MASK_SSUBU 0xfe00707f
#define MATCH_SUB 0x40000033
#define MASK_SUB 0xfe00707f
#define MATCH_SUBD 0xc600601b
#define MASK_SUBD 0xfe10f0ff
#define MATCH_SUBW 0x4000003b
#define MASK_SUBW 0xfe00707f
#define MATCH_SW 0x2023
#define MASK_SW 0x707f
#define MATCH_SW_RL 0x3a00202f
#define MASK_SW_RL 0xfa007fff
#define MATCH_UNZIP 0x8f05013
#define MASK_UNZIP 0xfff0707f
#define MATCH_UNZIP16HP 0xe600203b
#define MASK_UNZIP16HP 0xfe00707f
#define MATCH_UNZIP16P 0xe200203b
#define MASK_UNZIP16P 0xfe00707f
#define MATCH_UNZIP8HP 0xe400203b
#define MASK_UNZIP8HP 0xfe00707f
#define MATCH_UNZIP8P 0xe000203b
#define MASK_UNZIP8P 0xfe00707f
#define MATCH_USATI 0xa400401b
#define MASK_USATI 0xfc00707f
#define MATCH_USATI_RV32 0xa200401b
#define MASK_USATI_RV32 0xfe00707f
#define MATCH_VAADD_VV 0x24002057
#define MASK_VAADD_VV 0xfc00707f
#define MATCH_VAADD_VX 0x24006057
#define MASK_VAADD_VX 0xfc00707f
#define MATCH_VAADDU_VV 0x20002057
#define MASK_VAADDU_VV 0xfc00707f
#define MATCH_VAADDU_VX 0x20006057
#define MASK_VAADDU_VX 0xfc00707f
#define MATCH_VABD_VV 0x44002057
#define MASK_VABD_VV 0xfc00707f
#define MATCH_VABDU_VV 0x4c002057
#define MASK_VABDU_VV 0xfc00707f
#define MATCH_VABS_V 0x48082057
#define MASK_VABS_V 0xfc0ff07f
#define MATCH_VADC_VIM 0x40003057
#define MASK_VADC_VIM 0xfe00707f
#define MATCH_VADC_VVM 0x40000057
#define MASK_VADC_VVM 0xfe00707f
#define MATCH_VADC_VXM 0x40004057
#define MASK_VADC_VXM 0xfe00707f
#define MATCH_VADD_VI 0x3057
#define MASK_VADD_VI 0xfc00707f
#define MATCH_VADD_VV 0x57
#define MASK_VADD_VV 0xfc00707f
#define MATCH_VADD_VX 0x4057
#define MASK_VADD_VX 0xfc00707f
#define MATCH_VAESDF_VS 0xa600a077
#define MASK_VAESDF_VS 0xfe0ff07f
#define MATCH_VAESDF_VV 0xa200a077
#define MASK_VAESDF_VV 0xfe0ff07f
#define MATCH_VAESDM_VS 0xa6002077
#define MASK_VAESDM_VS 0xfe0ff07f
#define MATCH_VAESDM_VV 0xa2002077
#define MASK_VAESDM_VV 0xfe0ff07f
#define MATCH_VAESEF_VS 0xa601a077
#define MASK_VAESEF_VS 0xfe0ff07f
#define MATCH_VAESEF_VV 0xa201a077
#define MASK_VAESEF_VV 0xfe0ff07f
#define MATCH_VAESEM_VS 0xa6012077
#define MASK_VAESEM_VS 0xfe0ff07f
#define MATCH_VAESEM_VV 0xa2012077
#define MASK_VAESEM_VV 0xfe0ff07f
#define MATCH_VAESKF1_VI 0x8a002077
#define MASK_VAESKF1_VI 0xfe00707f
#define MATCH_VAESKF2_VI 0xaa002077
#define MASK_VAESKF2_VI 0xfe00707f
#define MATCH_VAESZ_VS 0xa603a077
#define MASK_VAESZ_VS 0xfe0ff07f
#define MATCH_VAND_VI 0x24003057
#define MASK_VAND_VI 0xfc00707f
#define MATCH_VAND_VV 0x24000057
#define MASK_VAND_VV 0xfc00707f
#define MATCH_VAND_VX 0x24004057
#define MASK_VAND_VX 0xfc00707f
#define MATCH_VANDN_VV 0x4000057
#define MASK_VANDN_VV 0xfc00707f
#define MATCH_VANDN_VX 0x4004057
#define MASK_VANDN_VX 0xfc00707f
#define MATCH_VASUB_VV 0x2c002057
#define MASK_VASUB_VV 0xfc00707f
#define MATCH_VASUB_VX 0x2c006057
#define MASK_VASUB_VX 0xfc00707f
#define MATCH_VASUBU_VV 0x28002057
#define MASK_VASUBU_VV 0xfc00707f
#define MATCH_VASUBU_VX 0x28006057
#define MASK_VASUBU_VX 0xfc00707f
#define MATCH_VBREV8_V 0x48042057
#define MASK_VBREV8_V 0xfc0ff07f
#define MATCH_VBREV_V 0x48052057
#define MASK_VBREV_V 0xfc0ff07f
#define MATCH_VCLMUL_VV 0x30002057
#define MASK_VCLMUL_VV 0xfc00707f
#define MATCH_VCLMUL_VX 0x30006057
#define MASK_VCLMUL_VX 0xfc00707f
#define MATCH_VCLMULH_VV 0x34002057
#define MASK_VCLMULH_VV 0xfc00707f
#define MATCH_VCLMULH_VX 0x34006057
#define MASK_VCLMULH_VX 0xfc00707f
#define MATCH_VCLZ_V 0x48062057
#define MASK_VCLZ_V 0xfc0ff07f
#define MATCH_VCOMPRESS_VM 0x5e002057
#define MASK_VCOMPRESS_VM 0xfe00707f
#define MATCH_VCPOP_M 0x40082057
#define MASK_VCPOP_M 0xfc0ff07f
#define MATCH_VCPOP_V 0x48072057
#define MASK_VCPOP_V 0xfc0ff07f
#define MATCH_VCTZ_V 0x4806a057
#define MASK_VCTZ_V 0xfc0ff07f
#define MATCH_VDIV_VV 0x84002057
#define MASK_VDIV_VV 0xfc00707f
#define MATCH_VDIV_VX 0x84006057
#define MASK_VDIV_VX 0xfc00707f
#define MATCH_VDIVU_VV 0x80002057
#define MASK_VDIVU_VV 0xfc00707f
#define MATCH_VDIVU_VX 0x80006057
#define MASK_VDIVU_VX 0xfc00707f
#define MATCH_VFADD_VF 0x5057
#define MASK_VFADD_VF 0xfc00707f
#define MATCH_VFADD_VV 0x1057
#define MASK_VFADD_VV 0xfc00707f
#define MATCH_VFBDOT_VV 0xac001077
#define MASK_VFBDOT_VV 0xfc00707f
#define MATCH_VFCLASS_V 0x4c081057
#define MASK_VFCLASS_V 0xfc0ff07f
#define MATCH_VFCVT_F_X_V 0x48019057
#define MASK_VFCVT_F_X_V 0xfc0ff07f
#define MATCH_VFCVT_F_XU_V 0x48011057
#define MASK_VFCVT_F_XU_V 0xfc0ff07f
#define MATCH_VFCVT_RTZ_X_F_V 0x48039057
#define MASK_VFCVT_RTZ_X_F_V 0xfc0ff07f
#define MATCH_VFCVT_RTZ_XU_F_V 0x48031057
#define MASK_VFCVT_RTZ_XU_F_V 0xfc0ff07f
#define MATCH_VFCVT_X_F_V 0x48009057
#define MASK_VFCVT_X_F_V 0xfc0ff07f
#define MATCH_VFCVT_XU_F_V 0x48001057
#define MASK_VFCVT_XU_F_V 0xfc0ff07f
#define MATCH_VFDIV_VF 0x80005057
#define MASK_VFDIV_VF 0xfc00707f
#define MATCH_VFDIV_VV 0x80001057
#define MASK_VFDIV_VV 0xfc00707f
#define MATCH_VFEXT_VF2 0x480b2057
#define MASK_VFEXT_VF2 0xfc0ff07f
#define MATCH_VFIRST_M 0x4008a057
#define MASK_VFIRST_M 0xfc0ff07f
#define MATCH_VFMACC_VF 0xb0005057
#define MASK_VFMACC_VF 0xfc00707f
#define MATCH_VFMACC_VV 0xb0001057
#define MASK_VFMACC_VV 0xfc00707f
#define MATCH_VFMADD_VF 0xa0005057
#define MASK_VFMADD_VF 0xfc00707f
#define MATCH_VFMADD_VV 0xa0001057
#define MASK_VFMADD_VV 0xfc00707f
#define MATCH_VFMAX_VF 0x18005057
#define MASK_VFMAX_VF 0xfc00707f
#define MATCH_VFMAX_VV 0x18001057
#define MASK_VFMAX_VV 0xfc00707f
#define MATCH_VFMERGE_VFM 0x5c005057
#define MASK_VFMERGE_VFM 0xfe00707f
#define MATCH_VFMIN_VF 0x10005057
#define MASK_VFMIN_VF 0xfc00707f
#define MATCH_VFMIN_VV 0x10001057
#define MASK_VFMIN_VV 0xfc00707f
#define MATCH_VFMSAC_VF 0xb8005057
#define MASK_VFMSAC_VF 0xfc00707f
#define MATCH_VFMSAC_VV 0xb8001057
#define MASK_VFMSAC_VV 0xfc00707f
#define MATCH_VFMSUB_VF 0xa8005057
#define MASK_VFMSUB_VF 0xfc00707f
#define MATCH_VFMSUB_VV 0xa8001057
#define MASK_VFMSUB_VV 0xfc00707f
#define MATCH_VFMUL_VF 0x90005057
#define MASK_VFMUL_VF 0xfc00707f
#define MATCH_VFMUL_VV 0x90001057
#define MASK_VFMUL_VV 0xfc00707f
#define MATCH_VFMV_F_S 0x42001057
#define MASK_VFMV_F_S 0xfe0ff07f
#define MATCH_VFMV_S_F 0x42005057
#define MASK_VFMV_S_F 0xfff0707f
#define MATCH_VFMV_V_F 0x5e005057
#define MASK_VFMV_V_F 0xfff0707f
#define MATCH_VFNCVT_F_F_Q 0x480c9057
#define MASK_VFNCVT_F_F_Q 0xfc0ff07f
#define MATCH_VFNCVT_F_F_W 0x480a1057
#define MASK_VFNCVT_F_F_W 0xfc0ff07f
#define MATCH_VFNCVT_F_X_W 0x48099057
#define MASK_VFNCVT_F_X_W 0xfc0ff07f
#define MATCH_VFNCVT_F_XU_W 0x48091057
#define MASK_VFNCVT_F_XU_W 0xfc0ff07f
#define MATCH_VFNCVT_ROD_F_F_W 0x480a9057
#define MASK_VFNCVT_ROD_F_F_W 0xfc0ff07f
#define MATCH_VFNCVT_RTZ_X_F_W 0x480b9057
#define MASK_VFNCVT_RTZ_X_F_W 0xfc0ff07f
#define MATCH_VFNCVT_RTZ_XU_F_W 0x480b1057
#define MASK_VFNCVT_RTZ_XU_F_W 0xfc0ff07f
#define MATCH_VFNCVT_SAT_F_F_Q 0x480d9057
#define MASK_VFNCVT_SAT_F_F_Q 0xfc0ff07f
#define MATCH_VFNCVT_X_F_W 0x48089057
#define MASK_VFNCVT_X_F_W 0xfc0ff07f
#define MATCH_VFNCVT_XU_F_W 0x48081057
#define MASK_VFNCVT_XU_F_W 0xfc0ff07f
#define MATCH_VFNCVTBF16_F_F_W 0x480e9057
#define MASK_VFNCVTBF16_F_F_W 0xfc0ff07f
#define MATCH_VFNCVTBF16_SAT_F_F_W 0x480f9057
#define MASK_VFNCVTBF16_SAT_F_F_W 0xfc0ff07f
#define MATCH_VFNMACC_VF 0xb4005057
#define MASK_VFNMACC_VF 0xfc00707f
#define MATCH_VFNMACC_VV 0xb4001057
#define MASK_VFNMACC_VV 0xfc00707f
#define MATCH_VFNMADD_VF 0xa4005057
#define MASK_VFNMADD_VF 0xfc00707f
#define MATCH_VFNMADD_VV 0xa4001057
#define MASK_VFNMADD_VV 0xfc00707f
#define MATCH_VFNMSAC_VF 0xbc005057
#define MASK_VFNMSAC_VF 0xfc00707f
#define MATCH_VFNMSAC_VV 0xbc001057
#define MASK_VFNMSAC_VV 0xfc00707f
#define MATCH_VFNMSUB_VF 0xac005057
#define MASK_VFNMSUB_VF 0xfc00707f
#define MATCH_VFNMSUB_VV 0xac001057
#define MASK_VFNMSUB_VV 0xfc00707f
#define MATCH_VFQBDOT_ALT_VV 0xbc001077
#define MASK_VFQBDOT_ALT_VV 0xfc00707f
#define MATCH_VFQBDOT_VV 0xb8001077
#define MASK_VFQBDOT_VV 0xfc00707f
#define MATCH_VFQLDOT_ALT_VV 0x9c001077
#define MASK_VFQLDOT_ALT_VV 0xfc00707f
#define MATCH_VFQLDOT_VV 0x98001077
#define MASK_VFQLDOT_VV 0xfc00707f
#define MATCH_VFRDIV_VF 0x84005057
#define MASK_VFRDIV_VF 0xfc00707f
#define MATCH_VFREC7_V 0x4c029057
#define MASK_VFREC7_V 0xfc0ff07f
#define MATCH_VFREDMAX_VS 0x1c001057
#define MASK_VFREDMAX_VS 0xfc00707f
#define MATCH_VFREDMIN_VS 0x14001057
#define MASK_VFREDMIN_VS 0xfc00707f
#define MATCH_VFREDOSUM_VS 0xc001057
#define MASK_VFREDOSUM_VS 0xfc00707f
#define MATCH_VFREDUSUM_VS 0x4001057
#define MASK_VFREDUSUM_VS 0xfc00707f
#define MATCH_VFRSQRT7_V 0x4c021057
#define MASK_VFRSQRT7_V 0xfc0ff07f
#define MATCH_VFRSUB_VF 0x9c005057
#define MASK_VFRSUB_VF 0xfc00707f
#define MATCH_VFSGNJ_VF 0x20005057
#define MASK_VFSGNJ_VF 0xfc00707f
#define MATCH_VFSGNJ_VV 0x20001057
#define MASK_VFSGNJ_VV 0xfc00707f
#define MATCH_VFSGNJN_VF 0x24005057
#define MASK_VFSGNJN_VF 0xfc00707f
#define MATCH_VFSGNJN_VV 0x24001057
#define MASK_VFSGNJN_VV 0xfc00707f
#define MATCH_VFSGNJX_VF 0x28005057
#define MASK_VFSGNJX_VF 0xfc00707f
#define MATCH_VFSGNJX_VV 0x28001057
#define MASK_VFSGNJX_VV 0xfc00707f
#define MATCH_VFSLIDE1DOWN_VF 0x3c005057
#define MASK_VFSLIDE1DOWN_VF 0xfc00707f
#define MATCH_VFSLIDE1UP_VF 0x38005057
#define MASK_VFSLIDE1UP_VF 0xfc00707f
#define MATCH_VFSQRT_V 0x4c001057
#define MASK_VFSQRT_V 0xfc0ff07f
#define MATCH_VFSUB_VF 0x8005057
#define MASK_VFSUB_VF 0xfc00707f
#define MATCH_VFSUB_VV 0x8001057
#define MASK_VFSUB_VV 0xfc00707f
#define MATCH_VFWADD_VF 0xc0005057
#define MASK_VFWADD_VF 0xfc00707f
#define MATCH_VFWADD_VV 0xc0001057
#define MASK_VFWADD_VV 0xfc00707f
#define MATCH_VFWADD_WF 0xd0005057
#define MASK_VFWADD_WF 0xfc00707f
#define MATCH_VFWADD_WV 0xd0001057
#define MASK_VFWADD_WV 0xfc00707f
#define MATCH_VFWBDOT_VV 0xb0001077
#define MASK_VFWBDOT_VV 0xfc00707f
#define MATCH_VFWCVT_F_F_V 0x48061057
#define MASK_VFWCVT_F_F_V 0xfc0ff07f
#define MATCH_VFWCVT_F_X_V 0x48059057
#define MASK_VFWCVT_F_X_V 0xfc0ff07f
#define MATCH_VFWCVT_F_XU_V 0x48051057
#define MASK_VFWCVT_F_XU_V 0xfc0ff07f
#define MATCH_VFWCVT_RTZ_X_F_V 0x48079057
#define MASK_VFWCVT_RTZ_X_F_V 0xfc0ff07f
#define MATCH_VFWCVT_RTZ_XU_F_V 0x48071057
#define MASK_VFWCVT_RTZ_XU_F_V 0xfc0ff07f
#define MATCH_VFWCVT_X_F_V 0x48049057
#define MASK_VFWCVT_X_F_V 0xfc0ff07f
#define MATCH_VFWCVT_XU_F_V 0x48041057
#define MASK_VFWCVT_XU_F_V 0xfc0ff07f
#define MATCH_VFWCVTBF16_F_F_V 0x48069057
#define MASK_VFWCVTBF16_F_F_V 0xfc0ff07f
#define MATCH_VFWLDOT_VV 0x90001077
#define MASK_VFWLDOT_VV 0xfc00707f
#define MATCH_VFWMACC_VF 0xf0005057
#define MASK_VFWMACC_VF 0xfc00707f
#define MATCH_VFWMACC_VV 0xf0001057
#define MASK_VFWMACC_VV 0xfc00707f
#define MATCH_VFWMACCBF16_VF 0xec005057
#define MASK_VFWMACCBF16_VF 0xfc00707f
#define MATCH_VFWMACCBF16_VV 0xec001057
#define MASK_VFWMACCBF16_VV 0xfc00707f
#define MATCH_VFWMSAC_VF 0xf8005057
#define MASK_VFWMSAC_VF 0xfc00707f
#define MATCH_VFWMSAC_VV 0xf8001057
#define MASK_VFWMSAC_VV 0xfc00707f
#define MATCH_VFWMUL_VF 0xe0005057
#define MASK_VFWMUL_VF 0xfc00707f
#define MATCH_VFWMUL_VV 0xe0001057
#define MASK_VFWMUL_VV 0xfc00707f
#define MATCH_VFWNMACC_VF 0xf4005057
#define MASK_VFWNMACC_VF 0xfc00707f
#define MATCH_VFWNMACC_VV 0xf4001057
#define MASK_VFWNMACC_VV 0xfc00707f
#define MATCH_VFWNMSAC_VF 0xfc005057
#define MASK_VFWNMSAC_VF 0xfc00707f
#define MATCH_VFWNMSAC_VV 0xfc001057
#define MASK_VFWNMSAC_VV 0xfc00707f
#define MATCH_VFWREDOSUM_VS 0xcc001057
#define MASK_VFWREDOSUM_VS 0xfc00707f
#define MATCH_VFWREDUSUM_VS 0xc4001057
#define MASK_VFWREDUSUM_VS 0xfc00707f
#define MATCH_VFWSUB_VF 0xc8005057
#define MASK_VFWSUB_VF 0xfc00707f
#define MATCH_VFWSUB_VV 0xc8001057
#define MASK_VFWSUB_VV 0xfc00707f
#define MATCH_VFWSUB_WF 0xd8005057
#define MASK_VFWSUB_WF 0xfc00707f
#define MATCH_VFWSUB_WV 0xd8001057
#define MASK_VFWSUB_WV 0xfc00707f
#define MATCH_VGHSH_VV 0xb2002077
#define MASK_VGHSH_VV 0xfe00707f
#define MATCH_VGMUL_VV 0xa208a077
#define MASK_VGMUL_VV 0xfe0ff07f
#define MATCH_VID_V 0x5008a057
#define MASK_VID_V 0xfdfff07f
#define MATCH_VIOTA_M 0x50082057
#define MASK_VIOTA_M 0xfc0ff07f
#define MATCH_VL1RE16_V 0x2805007
#define MASK_VL1RE16_V 0xfff0707f
#define MATCH_VL1RE32_V 0x2806007
#define MASK_VL1RE32_V 0xfff0707f
#define MATCH_VL1RE64_V 0x2807007
#define MASK_VL1RE64_V 0xfff0707f
#define MATCH_VL1RE8_V 0x2800007
#define MASK_VL1RE8_V 0xfff0707f
#define MATCH_VL2RE16_V 0x22805007
#define MASK_VL2RE16_V 0xfff0707f
#define MATCH_VL2RE32_V 0x22806007
#define MASK_VL2RE32_V 0xfff0707f
#define MATCH_VL2RE64_V 0x22807007
#define MASK_VL2RE64_V 0xfff0707f
#define MATCH_VL2RE8_V 0x22800007
#define MASK_VL2RE8_V 0xfff0707f
#define MATCH_VL4RE16_V 0x62805007
#define MASK_VL4RE16_V 0xfff0707f
#define MATCH_VL4RE32_V 0x62806007
#define MASK_VL4RE32_V 0xfff0707f
#define MATCH_VL4RE64_V 0x62807007
#define MASK_VL4RE64_V 0xfff0707f
#define MATCH_VL4RE8_V 0x62800007
#define MASK_VL4RE8_V 0xfff0707f
#define MATCH_VL8RE16_V 0xe2805007
#define MASK_VL8RE16_V 0xfff0707f
#define MATCH_VL8RE32_V 0xe2806007
#define MASK_VL8RE32_V 0xfff0707f
#define MATCH_VL8RE64_V 0xe2807007
#define MASK_VL8RE64_V 0xfff0707f
#define MATCH_VL8RE8_V 0xe2800007
#define MASK_VL8RE8_V 0xfff0707f
#define MATCH_VLE16_V 0x5007
#define MASK_VLE16_V 0x1df0707f
#define MATCH_VLE16FF_V 0x1005007
#define MASK_VLE16FF_V 0x1df0707f
#define MATCH_VLE32_V 0x6007
#define MASK_VLE32_V 0x1df0707f
#define MATCH_VLE32FF_V 0x1006007
#define MASK_VLE32FF_V 0x1df0707f
#define MATCH_VLE64_V 0x7007
#define MASK_VLE64_V 0x1df0707f
#define MATCH_VLE64FF_V 0x1007007
#define MASK_VLE64FF_V 0x1df0707f
#define MATCH_VLE8_V 0x7
#define MASK_VLE8_V 0x1df0707f
#define MATCH_VLE8FF_V 0x1000007
#define MASK_VLE8FF_V 0x1df0707f
#define MATCH_VLM_V 0x2b00007
#define MASK_VLM_V 0xfff0707f
#define MATCH_VLOXEI16_V 0xc005007
#define MASK_VLOXEI16_V 0x1c00707f
#define MATCH_VLOXEI32_V 0xc006007
#define MASK_VLOXEI32_V 0x1c00707f
#define MATCH_VLOXEI64_V 0xc007007
#define MASK_VLOXEI64_V 0x1c00707f
#define MATCH_VLOXEI8_V 0xc000007
#define MASK_VLOXEI8_V 0x1c00707f
#define MATCH_VLSE16_V 0x8005007
#define MASK_VLSE16_V 0x1c00707f
#define MATCH_VLSE32_V 0x8006007
#define MASK_VLSE32_V 0x1c00707f
#define MATCH_VLSE64_V 0x8007007
#define MASK_VLSE64_V 0x1c00707f
#define MATCH_VLSE8_V 0x8000007
#define MASK_VLSE8_V 0x1c00707f
#define MATCH_VLUXEI16_V 0x4005007
#define MASK_VLUXEI16_V 0x1c00707f
#define MATCH_VLUXEI32_V 0x4006007
#define MASK_VLUXEI32_V 0x1c00707f
#define MATCH_VLUXEI64_V 0x4007007
#define MASK_VLUXEI64_V 0x1c00707f
#define MATCH_VLUXEI8_V 0x4000007
#define MASK_VLUXEI8_V 0x1c00707f
#define MATCH_VMACC_VV 0xb4002057
#define MASK_VMACC_VV 0xfc00707f
#define MATCH_VMACC_VX 0xb4006057
#define MASK_VMACC_VX 0xfc00707f
#define MATCH_VMADC_VI 0x46003057
#define MASK_VMADC_VI 0xfe00707f
#define MATCH_VMADC_VIM 0x44003057
#define MASK_VMADC_VIM 0xfe00707f
#define MATCH_VMADC_VV 0x46000057
#define MASK_VMADC_VV 0xfe00707f
#define MATCH_VMADC_VVM 0x44000057
#define MASK_VMADC_VVM 0xfe00707f
#define MATCH_VMADC_VX 0x46004057
#define MASK_VMADC_VX 0xfe00707f
#define MATCH_VMADC_VXM 0x44004057
#define MASK_VMADC_VXM 0xfe00707f
#define MATCH_VMADD_VV 0xa4002057
#define MASK_VMADD_VV 0xfc00707f
#define MATCH_VMADD_VX 0xa4006057
#define MASK_VMADD_VX 0xfc00707f
#define MATCH_VMAND_MM 0x66002057
#define MASK_VMAND_MM 0xfe00707f
#define MATCH_VMANDN_MM 0x62002057
#define MASK_VMANDN_MM 0xfe00707f
#define MATCH_VMAX_VV 0x1c000057
#define MASK_VMAX_VV 0xfc00707f
#define MATCH_VMAX_VX 0x1c004057
#define MASK_VMAX_VX 0xfc00707f
#define MATCH_VMAXU_VV 0x18000057
#define MASK_VMAXU_VV 0xfc00707f
#define MATCH_VMAXU_VX 0x18004057
#define MASK_VMAXU_VX 0xfc00707f
#define MATCH_VMERGE_VIM 0x5c003057
#define MASK_VMERGE_VIM 0xfe00707f
#define MATCH_VMERGE_VVM 0x5c000057
#define MASK_VMERGE_VVM 0xfe00707f
#define MATCH_VMERGE_VXM 0x5c004057
#define MASK_VMERGE_VXM 0xfe00707f
#define MATCH_VMFEQ_VF 0x60005057
#define MASK_VMFEQ_VF 0xfc00707f
#define MATCH_VMFEQ_VV 0x60001057
#define MASK_VMFEQ_VV 0xfc00707f
#define MATCH_VMFGE_VF 0x7c005057
#define MASK_VMFGE_VF 0xfc00707f
#define MATCH_VMFGT_VF 0x74005057
#define MASK_VMFGT_VF 0xfc00707f
#define MATCH_VMFLE_VF 0x64005057
#define MASK_VMFLE_VF 0xfc00707f
#define MATCH_VMFLE_VV 0x64001057
#define MASK_VMFLE_VV 0xfc00707f
#define MATCH_VMFLT_VF 0x6c005057
#define MASK_VMFLT_VF 0xfc00707f
#define MATCH_VMFLT_VV 0x6c001057
#define MASK_VMFLT_VV 0xfc00707f
#define MATCH_VMFNE_VF 0x70005057
#define MASK_VMFNE_VF 0xfc00707f
#define MATCH_VMFNE_VV 0x70001057
#define MASK_VMFNE_VV 0xfc00707f
#define MATCH_VMIN_VV 0x14000057
#define MASK_VMIN_VV 0xfc00707f
#define MATCH_VMIN_VX 0x14004057
#define MASK_VMIN_VX 0xfc00707f
#define MATCH_VMINU_VV 0x10000057
#define MASK_VMINU_VV 0xfc00707f
#define MATCH_VMINU_VX 0x10004057
#define MASK_VMINU_VX 0xfc00707f
#define MATCH_VMNAND_MM 0x76002057
#define MASK_VMNAND_MM 0xfe00707f
#define MATCH_VMNOR_MM 0x7a002057
#define MASK_VMNOR_MM 0xfe00707f
#define MATCH_VMOR_MM 0x6a002057
#define MASK_VMOR_MM 0xfe00707f
#define MATCH_VMORN_MM 0x72002057
#define MASK_VMORN_MM 0xfe00707f
#define MATCH_VMSBC_VV 0x4e000057
#define MASK_VMSBC_VV 0xfe00707f
#define MATCH_VMSBC_VVM 0x4c000057
#define MASK_VMSBC_VVM 0xfe00707f
#define MATCH_VMSBC_VX 0x4e004057
#define MASK_VMSBC_VX 0xfe00707f
#define MATCH_VMSBC_VXM 0x4c004057
#define MASK_VMSBC_VXM 0xfe00707f
#define MATCH_VMSBF_M 0x5000a057
#define MASK_VMSBF_M 0xfc0ff07f
#define MATCH_VMSEQ_VI 0x60003057
#define MASK_VMSEQ_VI 0xfc00707f
#define MATCH_VMSEQ_VV 0x60000057
#define MASK_VMSEQ_VV 0xfc00707f
#define MATCH_VMSEQ_VX 0x60004057
#define MASK_VMSEQ_VX 0xfc00707f
#define MATCH_VMSGT_VI 0x7c003057
#define MASK_VMSGT_VI 0xfc00707f
#define MATCH_VMSGT_VX 0x7c004057
#define MASK_VMSGT_VX 0xfc00707f
#define MATCH_VMSGTU_VI 0x78003057
#define MASK_VMSGTU_VI 0xfc00707f
#define MATCH_VMSGTU_VX 0x78004057
#define MASK_VMSGTU_VX 0xfc00707f
#define MATCH_VMSIF_M 0x5001a057
#define MASK_VMSIF_M 0xfc0ff07f
#define MATCH_VMSLE_VI 0x74003057
#define MASK_VMSLE_VI 0xfc00707f
#define MATCH_VMSLE_VV 0x74000057
#define MASK_VMSLE_VV 0xfc00707f
#define MATCH_VMSLE_VX 0x74004057
#define MASK_VMSLE_VX 0xfc00707f
#define MATCH_VMSLEU_VI 0x70003057
#define MASK_VMSLEU_VI 0xfc00707f
#define MATCH_VMSLEU_VV 0x70000057
#define MASK_VMSLEU_VV 0xfc00707f
#define MATCH_VMSLEU_VX 0x70004057
#define MASK_VMSLEU_VX 0xfc00707f
#define MATCH_VMSLT_VV 0x6c000057
#define MASK_VMSLT_VV 0xfc00707f
#define MATCH_VMSLT_VX 0x6c004057
#define MASK_VMSLT_VX 0xfc00707f
#define MATCH_VMSLTU_VV 0x68000057
#define MASK_VMSLTU_VV 0xfc00707f
#define MATCH_VMSLTU_VX 0x68004057
#define MASK_VMSLTU_VX 0xfc00707f
#define MATCH_VMSNE_VI 0x64003057
#define MASK_VMSNE_VI 0xfc00707f
#define MATCH_VMSNE_VV 0x64000057
#define MASK_VMSNE_VV 0xfc00707f
#define MATCH_VMSNE_VX 0x64004057
#define MASK_VMSNE_VX 0xfc00707f
#define MATCH_VMSOF_M 0x50012057
#define MASK_VMSOF_M 0xfc0ff07f
#define MATCH_VMUL_VV 0x94002057
#define MASK_VMUL_VV 0xfc00707f
#define MATCH_VMUL_VX 0x94006057
#define MASK_VMUL_VX 0xfc00707f
#define MATCH_VMULH_VV 0x9c002057
#define MASK_VMULH_VV 0xfc00707f
#define MATCH_VMULH_VX 0x9c006057
#define MASK_VMULH_VX 0xfc00707f
#define MATCH_VMULHSU_VV 0x98002057
#define MASK_VMULHSU_VV 0xfc00707f
#define MATCH_VMULHSU_VX 0x98006057
#define MASK_VMULHSU_VX 0xfc00707f
#define MATCH_VMULHU_VV 0x90002057
#define MASK_VMULHU_VV 0xfc00707f
#define MATCH_VMULHU_VX 0x90006057
#define MASK_VMULHU_VX 0xfc00707f
#define MATCH_VMV1R_V 0x9e003057
#define MASK_VMV1R_V 0xfe0ff07f
#define MATCH_VMV2R_V 0x9e00b057
#define MASK_VMV2R_V 0xfe0ff07f
#define MATCH_VMV4R_V 0x9e01b057
#define MASK_VMV4R_V 0xfe0ff07f
#define MATCH_VMV8R_V 0x9e03b057
#define MASK_VMV8R_V 0xfe0ff07f
#define MATCH_VMV_S_X 0x42006057
#define MASK_VMV_S_X 0xfff0707f
#define MATCH_VMV_V_I 0x5e003057
#define MASK_VMV_V_I 0xfff0707f
#define MATCH_VMV_V_V 0x5e000057
#define MASK_VMV_V_V 0xfff0707f
#define MATCH_VMV_V_X 0x5e004057
#define MASK_VMV_V_X 0xfff0707f
#define MATCH_VMV_X_S 0x42002057
#define MASK_VMV_X_S 0xfe0ff07f
#define MATCH_VMXNOR_MM 0x7e002057
#define MASK_VMXNOR_MM 0xfe00707f
#define MATCH_VMXOR_MM 0x6e002057
#define MASK_VMXOR_MM 0xfe00707f
#define MATCH_VNCLIP_WI 0xbc003057
#define MASK_VNCLIP_WI 0xfc00707f
#define MATCH_VNCLIP_WV 0xbc000057
#define MASK_VNCLIP_WV 0xfc00707f
#define MATCH_VNCLIP_WX 0xbc004057
#define MASK_VNCLIP_WX 0xfc00707f
#define MATCH_VNCLIPU_WI 0xb8003057
#define MASK_VNCLIPU_WI 0xfc00707f
#define MATCH_VNCLIPU_WV 0xb8000057
#define MASK_VNCLIPU_WV 0xfc00707f
#define MATCH_VNCLIPU_WX 0xb8004057
#define MASK_VNCLIPU_WX 0xfc00707f
#define MATCH_VNMSAC_VV 0xbc002057
#define MASK_VNMSAC_VV 0xfc00707f
#define MATCH_VNMSAC_VX 0xbc006057
#define MASK_VNMSAC_VX 0xfc00707f
#define MATCH_VNMSUB_VV 0xac002057
#define MASK_VNMSUB_VV 0xfc00707f
#define MATCH_VNMSUB_VX 0xac006057
#define MASK_VNMSUB_VX 0xfc00707f
#define MATCH_VNSRA_WI 0xb4003057
#define MASK_VNSRA_WI 0xfc00707f
#define MATCH_VNSRA_WV 0xb4000057
#define MASK_VNSRA_WV 0xfc00707f
#define MATCH_VNSRA_WX 0xb4004057
#define MASK_VNSRA_WX 0xfc00707f
#define MATCH_VNSRL_WI 0xb0003057
#define MASK_VNSRL_WI 0xfc00707f
#define MATCH_VNSRL_WV 0xb0000057
#define MASK_VNSRL_WV 0xfc00707f
#define MATCH_VNSRL_WX 0xb0004057
#define MASK_VNSRL_WX 0xfc00707f
#define MATCH_VOR_VI 0x28003057
#define MASK_VOR_VI 0xfc00707f
#define MATCH_VOR_VV 0x28000057
#define MASK_VOR_VV 0xfc00707f
#define MATCH_VOR_VX 0x28004057
#define MASK_VOR_VX 0xfc00707f
#define MATCH_VPAIRE_VV 0x3c000057
#define MASK_VPAIRE_VV 0xfc00707f
#define MATCH_VPAIRO_VV 0x3c002057
#define MASK_VPAIRO_VV 0xfc00707f
#define MATCH_VQBDOTS_VV 0xbc000077
#define MASK_VQBDOTS_VV 0xfc00707f
#define MATCH_VQBDOTU_VV 0xb8000077
#define MASK_VQBDOTU_VV 0xfc00707f
#define MATCH_VQDOT_VV 0xb0002057
#define MASK_VQDOT_VV 0xfc00707f
#define MATCH_VQDOT_VX 0xb0006057
#define MASK_VQDOT_VX 0xfc00707f
#define MATCH_VQDOTSU_VV 0xa8002057
#define MASK_VQDOTSU_VV 0xfc00707f
#define MATCH_VQDOTSU_VX 0xa8006057
#define MASK_VQDOTSU_VX 0xfc00707f
#define MATCH_VQDOTU_VV 0xa0002057
#define MASK_VQDOTU_VV 0xfc00707f
#define MATCH_VQDOTU_VX 0xa0006057
#define MASK_VQDOTU_VX 0xfc00707f
#define MATCH_VQDOTUS_VX 0xb8006057
#define MASK_VQDOTUS_VX 0xfc00707f
#define MATCH_VQLDOTS_VV 0x9c000077
#define MASK_VQLDOTS_VV 0xfc00707f
#define MATCH_VQLDOTU_VV 0x98000077
#define MASK_VQLDOTU_VV 0xfc00707f
#define MATCH_VREDAND_VS 0x4002057
#define MASK_VREDAND_VS 0xfc00707f
#define MATCH_VREDMAX_VS 0x1c002057
#define MASK_VREDMAX_VS 0xfc00707f
#define MATCH_VREDMAXU_VS 0x18002057
#define MASK_VREDMAXU_VS 0xfc00707f
#define MATCH_VREDMIN_VS 0x14002057
#define MASK_VREDMIN_VS 0xfc00707f
#define MATCH_VREDMINU_VS 0x10002057
#define MASK_VREDMINU_VS 0xfc00707f
#define MATCH_VREDOR_VS 0x8002057
#define MASK_VREDOR_VS 0xfc00707f
#define MATCH_VREDSUM_VS 0x2057
#define MASK_VREDSUM_VS 0xfc00707f
#define MATCH_VREDXOR_VS 0xc002057
#define MASK_VREDXOR_VS 0xfc00707f
#define MATCH_VREM_VV 0x8c002057
#define MASK_VREM_VV 0xfc00707f
#define MATCH_VREM_VX 0x8c006057
#define MASK_VREM_VX 0xfc00707f
#define MATCH_VREMU_VV 0x88002057
#define MASK_VREMU_VV 0xfc00707f
#define MATCH_VREMU_VX 0x88006057
#define MASK_VREMU_VX 0xfc00707f
#define MATCH_VREV8_V 0x4804a057
#define MASK_VREV8_V 0xfc0ff07f
#define MATCH_VRGATHER_VI 0x30003057
#define MASK_VRGATHER_VI 0xfc00707f
#define MATCH_VRGATHER_VV 0x30000057
#define MASK_VRGATHER_VV 0xfc00707f
#define MATCH_VRGATHER_VX 0x30004057
#define MASK_VRGATHER_VX 0xfc00707f
#define MATCH_VRGATHEREI16_VV 0x38000057
#define MASK_VRGATHEREI16_VV 0xfc00707f
#define MATCH_VROL_VV 0x54000057
#define MASK_VROL_VV 0xfc00707f
#define MATCH_VROL_VX 0x54004057
#define MASK_VROL_VX 0xfc00707f
#define MATCH_VROR_VI 0x50003057
#define MASK_VROR_VI 0xf800707f
#define MATCH_VROR_VV 0x50000057
#define MASK_VROR_VV 0xfc00707f
#define MATCH_VROR_VX 0x50004057
#define MASK_VROR_VX 0xfc00707f
#define MATCH_VRSUB_VI 0xc003057
#define MASK_VRSUB_VI 0xfc00707f
#define MATCH_VRSUB_VX 0xc004057
#define MASK_VRSUB_VX 0xfc00707f
#define MATCH_VS1R_V 0x2800027
#define MASK_VS1R_V 0xfff0707f
#define MATCH_VS2R_V 0x22800027
#define MASK_VS2R_V 0xfff0707f
#define MATCH_VS4R_V 0x62800027
#define MASK_VS4R_V 0xfff0707f
#define MATCH_VS8R_V 0xe2800027
#define MASK_VS8R_V 0xfff0707f
#define MATCH_VSADD_VI 0x84003057
#define MASK_VSADD_VI 0xfc00707f
#define MATCH_VSADD_VV 0x84000057
#define MASK_VSADD_VV 0xfc00707f
#define MATCH_VSADD_VX 0x84004057
#define MASK_VSADD_VX 0xfc00707f
#define MATCH_VSADDU_VI 0x80003057
#define MASK_VSADDU_VI 0xfc00707f
#define MATCH_VSADDU_VV 0x80000057
#define MASK_VSADDU_VV 0xfc00707f
#define MATCH_VSADDU_VX 0x80004057
#define MASK_VSADDU_VX 0xfc00707f
#define MATCH_VSBC_VVM 0x48000057
#define MASK_VSBC_VVM 0xfe00707f
#define MATCH_VSBC_VXM 0x48004057
#define MASK_VSBC_VXM 0xfe00707f
#define MATCH_VSE16_V 0x5027
#define MASK_VSE16_V 0x1df0707f
#define MATCH_VSE32_V 0x6027
#define MASK_VSE32_V 0x1df0707f
#define MATCH_VSE64_V 0x7027
#define MASK_VSE64_V 0x1df0707f
#define MATCH_VSE8_V 0x27
#define MASK_VSE8_V 0x1df0707f
#define MATCH_VSETIVLI 0xc0007057
#define MASK_VSETIVLI 0xc000707f
#define MATCH_VSETVL 0x80007057
#define MASK_VSETVL 0xfe00707f
#define MATCH_VSETVLI 0x7057
#define MASK_VSETVLI 0x8000707f
#define MATCH_VSEXT_VF2 0x4803a057
#define MASK_VSEXT_VF2 0xfc0ff07f
#define MATCH_VSEXT_VF4 0x4802a057
#define MASK_VSEXT_VF4 0xfc0ff07f
#define MATCH_VSEXT_VF8 0x4801a057
#define MASK_VSEXT_VF8 0xfc0ff07f
#define MATCH_VSHA2CH_VV 0xba002077
#define MASK_VSHA2CH_VV 0xfe00707f
#define MATCH_VSHA2CL_VV 0xbe002077
#define MASK_VSHA2CL_VV 0xfe00707f
#define MATCH_VSHA2MS_VV 0xb6002077
#define MASK_VSHA2MS_VV 0xfe00707f
#define MATCH_VSLIDE1DOWN_VX 0x3c006057
#define MASK_VSLIDE1DOWN_VX 0xfc00707f
#define MATCH_VSLIDE1UP_VX 0x38006057
#define MASK_VSLIDE1UP_VX 0xfc00707f
#define MATCH_VSLIDEDOWN_VI 0x3c003057
#define MASK_VSLIDEDOWN_VI 0xfc00707f
#define MATCH_VSLIDEDOWN_VX 0x3c004057
#define MASK_VSLIDEDOWN_VX 0xfc00707f
#define MATCH_VSLIDEUP_VI 0x38003057
#define MASK_VSLIDEUP_VI 0xfc00707f
#define MATCH_VSLIDEUP_VX 0x38004057
#define MASK_VSLIDEUP_VX 0xfc00707f
#define MATCH_VSLL_VI 0x94003057
#define MASK_VSLL_VI 0xfc00707f
#define MATCH_VSLL_VV 0x94000057
#define MASK_VSLL_VV 0xfc00707f
#define MATCH_VSLL_VX 0x94004057
#define MASK_VSLL_VX 0xfc00707f
#define MATCH_VSM3C_VI 0xae002077
#define MASK_VSM3C_VI 0xfe00707f
#define MATCH_VSM3ME_VV 0x82002077
#define MASK_VSM3ME_VV 0xfe00707f
#define MATCH_VSM4K_VI 0x86002077
#define MASK_VSM4K_VI 0xfe00707f
#define MATCH_VSM4R_VS 0xa6082077
#define MASK_VSM4R_VS 0xfe0ff07f
#define MATCH_VSM4R_VV 0xa2082077
#define MASK_VSM4R_VV 0xfe0ff07f
#define MATCH_VSM_V 0x2b00027
#define MASK_VSM_V 0xfff0707f
#define MATCH_VSMUL_VV 0x9c000057
#define MASK_VSMUL_VV 0xfc00707f
#define MATCH_VSMUL_VX 0x9c004057
#define MASK_VSMUL_VX 0xfc00707f
#define MATCH_VSOXEI16_V 0xc005027
#define MASK_VSOXEI16_V 0x1c00707f
#define MATCH_VSOXEI32_V 0xc006027
#define MASK_VSOXEI32_V 0x1c00707f
#define MATCH_VSOXEI64_V 0xc007027
#define MASK_VSOXEI64_V 0x1c00707f
#define MATCH_VSOXEI8_V 0xc000027
#define MASK_VSOXEI8_V 0x1c00707f
#define MATCH_VSRA_VI 0xa4003057
#define MASK_VSRA_VI 0xfc00707f
#define MATCH_VSRA_VV 0xa4000057
#define MASK_VSRA_VV 0xfc00707f
#define MATCH_VSRA_VX 0xa4004057
#define MASK_VSRA_VX 0xfc00707f
#define MATCH_VSRL_VI 0xa0003057
#define MASK_VSRL_VI 0xfc00707f
#define MATCH_VSRL_VV 0xa0000057
#define MASK_VSRL_VV 0xfc00707f
#define MATCH_VSRL_VX 0xa0004057
#define MASK_VSRL_VX 0xfc00707f
#define MATCH_VSSE16_V 0x8005027
#define MASK_VSSE16_V 0x1c00707f
#define MATCH_VSSE32_V 0x8006027
#define MASK_VSSE32_V 0x1c00707f
#define MATCH_VSSE64_V 0x8007027
#define MASK_VSSE64_V 0x1c00707f
#define MATCH_VSSE8_V 0x8000027
#define MASK_VSSE8_V 0x1c00707f
#define MATCH_VSSRA_VI 0xac003057
#define MASK_VSSRA_VI 0xfc00707f
#define MATCH_VSSRA_VV 0xac000057
#define MASK_VSSRA_VV 0xfc00707f
#define MATCH_VSSRA_VX 0xac004057
#define MASK_VSSRA_VX 0xfc00707f
#define MATCH_VSSRL_VI 0xa8003057
#define MASK_VSSRL_VI 0xfc00707f
#define MATCH_VSSRL_VV 0xa8000057
#define MASK_VSSRL_VV 0xfc00707f
#define MATCH_VSSRL_VX 0xa8004057
#define MASK_VSSRL_VX 0xfc00707f
#define MATCH_VSSUB_VV 0x8c000057
#define MASK_VSSUB_VV 0xfc00707f
#define MATCH_VSSUB_VX 0x8c004057
#define MASK_VSSUB_VX 0xfc00707f
#define MATCH_VSSUBU_VV 0x88000057
#define MASK_VSSUBU_VV 0xfc00707f
#define MATCH_VSSUBU_VX 0x88004057
#define MASK_VSSUBU_VX 0xfc00707f
#define MATCH_VSUB_VV 0x8000057
#define MASK_VSUB_VV 0xfc00707f
#define MATCH_VSUB_VX 0x8004057
#define MASK_VSUB_VX 0xfc00707f
#define MATCH_VSUXEI16_V 0x4005027
#define MASK_VSUXEI16_V 0x1c00707f
#define MATCH_VSUXEI32_V 0x4006027
#define MASK_VSUXEI32_V 0x1c00707f
#define MATCH_VSUXEI64_V 0x4007027
#define MASK_VSUXEI64_V 0x1c00707f
#define MATCH_VSUXEI8_V 0x4000027
#define MASK_VSUXEI8_V 0x1c00707f
#define MATCH_VUNZIPE_V 0x4805a057
#define MASK_VUNZIPE_V 0xfc0ff07f
#define MATCH_VUNZIPO_V 0x4807a057
#define MASK_VUNZIPO_V 0xfc0ff07f
#define MATCH_VWABDA_VV 0x54002057
#define MASK_VWABDA_VV 0xfc00707f
#define MATCH_VWABDAU_VV 0x58002057
#define MASK_VWABDAU_VV 0xfc00707f
#define MATCH_VWADD_VV 0xc4002057
#define MASK_VWADD_VV 0xfc00707f
#define MATCH_VWADD_VX 0xc4006057
#define MASK_VWADD_VX 0xfc00707f
#define MATCH_VWADD_WV 0xd4002057
#define MASK_VWADD_WV 0xfc00707f
#define MATCH_VWADD_WX 0xd4006057
#define MASK_VWADD_WX 0xfc00707f
#define MATCH_VWADDU_VV 0xc0002057
#define MASK_VWADDU_VV 0xfc00707f
#define MATCH_VWADDU_VX 0xc0006057
#define MASK_VWADDU_VX 0xfc00707f
#define MATCH_VWADDU_WV 0xd0002057
#define MASK_VWADDU_WV 0xfc00707f
#define MATCH_VWADDU_WX 0xd0006057
#define MASK_VWADDU_WX 0xfc00707f
#define MATCH_VWMACC_VV 0xf4002057
#define MASK_VWMACC_VV 0xfc00707f
#define MATCH_VWMACC_VX 0xf4006057
#define MASK_VWMACC_VX 0xfc00707f
#define MATCH_VWMACCSU_VV 0xfc002057
#define MASK_VWMACCSU_VV 0xfc00707f
#define MATCH_VWMACCSU_VX 0xfc006057
#define MASK_VWMACCSU_VX 0xfc00707f
#define MATCH_VWMACCU_VV 0xf0002057
#define MASK_VWMACCU_VV 0xfc00707f
#define MATCH_VWMACCU_VX 0xf0006057
#define MASK_VWMACCU_VX 0xfc00707f
#define MATCH_VWMACCUS_VX 0xf8006057
#define MASK_VWMACCUS_VX 0xfc00707f
#define MATCH_VWMUL_VV 0xec002057
#define MASK_VWMUL_VV 0xfc00707f
#define MATCH_VWMUL_VX 0xec006057
#define MASK_VWMUL_VX 0xfc00707f
#define MATCH_VWMULSU_VV 0xe8002057
#define MASK_VWMULSU_VV 0xfc00707f
#define MATCH_VWMULSU_VX 0xe8006057
#define MASK_VWMULSU_VX 0xfc00707f
#define MATCH_VWMULU_VV 0xe0002057
#define MASK_VWMULU_VV 0xfc00707f
#define MATCH_VWMULU_VX 0xe0006057
#define MASK_VWMULU_VX 0xfc00707f
#define MATCH_VWREDSUM_VS 0xc4000057
#define MASK_VWREDSUM_VS 0xfc00707f
#define MATCH_VWREDSUMU_VS 0xc0000057
#define MASK_VWREDSUMU_VS 0xfc00707f
#define MATCH_VWSLL_VI 0xd4003057
#define MASK_VWSLL_VI 0xfc00707f
#define MATCH_VWSLL_VV 0xd4000057
#define MASK_VWSLL_VV 0xfc00707f
#define MATCH_VWSLL_VX 0xd4004057
#define MASK_VWSLL_VX 0xfc00707f
#define MATCH_VWSUB_VV 0xcc002057
#define MASK_VWSUB_VV 0xfc00707f
#define MATCH_VWSUB_VX 0xcc006057
#define MASK_VWSUB_VX 0xfc00707f
#define MATCH_VWSUB_WV 0xdc002057
#define MASK_VWSUB_WV 0xfc00707f
#define MATCH_VWSUB_WX 0xdc006057
#define MASK_VWSUB_WX 0xfc00707f
#define MATCH_VWSUBU_VV 0xc8002057
#define MASK_VWSUBU_VV 0xfc00707f
#define MATCH_VWSUBU_VX 0xc8006057
#define MASK_VWSUBU_VX 0xfc00707f
#define MATCH_VWSUBU_WV 0xd8002057
#define MASK_VWSUBU_WV 0xfc00707f
#define MATCH_VWSUBU_WX 0xd8006057
#define MASK_VWSUBU_WX 0xfc00707f
#define MATCH_VXOR_VI 0x2c003057
#define MASK_VXOR_VI 0xfc00707f
#define MATCH_VXOR_VV 0x2c000057
#define MASK_VXOR_VV 0xfc00707f
#define MATCH_VXOR_VX 0x2c004057
#define MASK_VXOR_VX 0xfc00707f
#define MATCH_VZEXT_VF2 0x48032057
#define MASK_VZEXT_VF2 0xfc0ff07f
#define MATCH_VZEXT_VF4 0x48022057
#define MASK_VZEXT_VF4 0xfc0ff07f
#define MATCH_VZEXT_VF8 0x48012057
#define MASK_VZEXT_VF8 0xfc0ff07f
#define MATCH_VZIP_VV 0xf8002057
#define MASK_VZIP_VV 0xfc00707f
#define MATCH_WADD 0x200209b
#define MASK_WADD 0xfe0070ff
#define MATCH_WADDA 0xa00209b
#define MASK_WADDA 0xfe0070ff
#define MATCH_WADDAU 0x1a00209b
#define MASK_WADDAU 0xfe0070ff
#define MATCH_WADDU 0x1200209b
#define MASK_WADDU 0xfe0070ff
#define MATCH_WFI 0x10500073
#define MASK_WFI 0xffffffff
#define MATCH_WMACC 0x2a00209b
#define MASK_WMACC 0xfe0070ff
#define MATCH_WMACCSU 0x6a00209b
#define MASK_WMACCSU 0xfe0070ff
#define MATCH_WMACCU 0x3a00209b
#define MASK_WMACCU 0xfe0070ff
#define MATCH_WMUL 0x2200209b
#define MASK_WMUL 0xfe0070ff
#define MATCH_WMULSU 0x6200209b
#define MASK_WMULSU 0xfe0070ff
#define MATCH_WMULU 0x3200209b
#define MASK_WMULU 0xfe0070ff
#define MATCH_WRS_NTO 0xd00073
#define MASK_WRS_NTO 0xffffffff
#define MATCH_WRS_STO 0x1d00073
#define MASK_WRS_STO 0xffffffff
#define MATCH_WSLA 0x4e00201b
#define MASK_WSLA 0xfe0070ff
#define MATCH_WSLAI 0x4400201b
#define MASK_WSLAI 0xfc0070ff
#define MATCH_WSLL 0xe00201b
#define MASK_WSLL 0xfe0070ff
#define MATCH_WSLLI 0x400201b
#define MASK_WSLLI 0xfc0070ff
#define MATCH_WSUB 0x4200209b
#define MASK_WSUB 0xfe0070ff
#define MATCH_WSUBA 0x4a00209b
#define MASK_WSUBA 0xfe0070ff
#define MATCH_WSUBAU 0x5a00209b
#define MASK_WSUBAU 0xfe0070ff
#define MATCH_WSUBU 0x5200209b
#define MASK_WSUBU 0xfe0070ff
#define MATCH_WZIP16P 0x7a00201b
#define MASK_WZIP16P 0xfe0070ff
#define MATCH_WZIP8P 0x7800201b
#define MASK_WZIP8P 0xfe0070ff
#define MATCH_XNOR 0x40004033
#define MASK_XNOR 0xfe00707f
#define MATCH_XOR 0x4033
#define MASK_XOR 0xfe00707f
#define MATCH_XORI 0x4013
#define MASK_XORI 0x707f
#define MATCH_XPERM16 0x28006033
#define MASK_XPERM16 0xfe00707f
#define MATCH_XPERM32 0x28000033
#define MASK_XPERM32 0xfe00707f
#define MATCH_XPERM4 0x28002033
#define MASK_XPERM4 0xfe00707f
#define MATCH_XPERM8 0x28004033
#define MASK_XPERM8 0xfe00707f
#define MATCH_ZIP 0x8f01013
#define MASK_ZIP 0xfff0707f
#define MATCH_ZIP16HP 0xf600203b
#define MASK_ZIP16HP 0xfe00707f
#define MATCH_ZIP16P 0xf200203b
#define MASK_ZIP16P 0xfe00707f
#define MATCH_ZIP8HP 0xf400203b
#define MASK_ZIP8HP 0xfe00707f
#define MATCH_ZIP8P 0xf000203b
#define MASK_ZIP8P 0xfe00707f

#define CSR_FFLAGS 0x1
#define CSR_FRM 0x2
#define CSR_FCSR 0x3
#define CSR_VSTART 0x8
#define CSR_VXSAT 0x9
#define CSR_VXRM 0xa
#define CSR_VCSR 0xf
#define CSR_SSP 0x11
#define CSR_SEED 0x15
#define CSR_JVT 0x17
#define CSR_CYCLE 0xc00
#define CSR_TIME 0xc01
#define CSR_INSTRET 0xc02
#define CSR_HPMCOUNTER3 0xc03
#define CSR_HPMCOUNTER4 0xc04
#define CSR_HPMCOUNTER5 0xc05
#define CSR_HPMCOUNTER6 0xc06
#define CSR_HPMCOUNTER7 0xc07
#define CSR_HPMCOUNTER8 0xc08
#define CSR_HPMCOUNTER9 0xc09
#define CSR_HPMCOUNTER10 0xc0a
#define CSR_HPMCOUNTER11 0xc0b
#define CSR_HPMCOUNTER12 0xc0c
#define CSR_HPMCOUNTER13 0xc0d
#define CSR_HPMCOUNTER14 0xc0e
#define CSR_HPMCOUNTER15 0xc0f
#define CSR_HPMCOUNTER16 0xc10
#define CSR_HPMCOUNTER17 0xc11
#define CSR_HPMCOUNTER18 0xc12
#define CSR_HPMCOUNTER19 0xc13
#define CSR_HPMCOUNTER20 0xc14
#define CSR_HPMCOUNTER21 0xc15
#define CSR_HPMCOUNTER22 0xc16
#define CSR_HPMCOUNTER23 0xc17
#define CSR_HPMCOUNTER24 0xc18
#define CSR_HPMCOUNTER25 0xc19
#define CSR_HPMCOUNTER26 0xc1a
#define CSR_HPMCOUNTER27 0xc1b
#define CSR_HPMCOUNTER28 0xc1c
#define CSR_HPMCOUNTER29 0xc1d
#define CSR_HPMCOUNTER30 0xc1e
#define CSR_HPMCOUNTER31 0xc1f
#define CSR_VL 0xc20
#define CSR_VTYPE 0xc21
#define CSR_VLENB 0xc22
#define CSR_SSTATUS 0x100
#define CSR_SIE 0x104
#define CSR_STVEC 0x105
#define CSR_SCOUNTEREN 0x106
#define CSR_SENVCFG 0x10a
#define CSR_SSTATEEN0 0x10c
#define CSR_SSTATEEN1 0x10d
#define CSR_SSTATEEN2 0x10e
#define CSR_SSTATEEN3 0x10f
#define CSR_SCOUNTINHIBIT 0x120
#define CSR_SSCRATCH 0x140
#define CSR_SEPC 0x141
#define CSR_SCAUSE 0x142
#define CSR_STVAL 0x143
#define CSR_SIP 0x144
#define CSR_STIMECMP 0x14d
#define CSR_SCTRCTL 0x14e
#define CSR_SCTRSTATUS 0x14f
#define CSR_SISELECT 0x150
#define CSR_SIREG 0x151
#define CSR_SIREG2 0x152
#define CSR_SIREG3 0x153
#define CSR_SIREG4 0x155
#define CSR_SIREG5 0x156
#define CSR_SIREG6 0x157
#define CSR_STOPEI 0x15c
#define CSR_SCTRDEPTH 0x15f
#define CSR_SATP 0x180
#define CSR_SRMCFG 0x181
#define CSR_SPMPEN 0x183
#define CSR_SCONTEXT 0x5a8
#define CSR_VSSTATUS 0x200
#define CSR_VSIE 0x204
#define CSR_VSTVEC 0x205
#define CSR_VSSCRATCH 0x240
#define CSR_VSEPC 0x241
#define CSR_VSCAUSE 0x242
#define CSR_VSTVAL 0x243
#define CSR_VSIP 0x244
#define CSR_VSTIMECMP 0x24d
#define CSR_VSCTRCTL 0x24e
#define CSR_VSISELECT 0x250
#define CSR_VSIREG 0x251
#define CSR_VSIREG2 0x252
#define CSR_VSIREG3 0x253
#define CSR_VSIREG4 0x255
#define CSR_VSIREG5 0x256
#define CSR_VSIREG6 0x257
#define CSR_VSTOPEI 0x25c
#define CSR_VSATP 0x280
#define CSR_HSTATUS 0x600
#define CSR_HEDELEG 0x602
#define CSR_HIDELEG 0x603
#define CSR_HIE 0x604
#define CSR_HTIMEDELTA 0x605
#define CSR_HCOUNTEREN 0x606
#define CSR_HGEIE 0x607
#define CSR_HVIEN 0x608
#define CSR_HVICTL 0x609
#define CSR_HENVCFG 0x60a
#define CSR_HSTATEEN0 0x60c
#define CSR_HSTATEEN1 0x60d
#define CSR_HSTATEEN2 0x60e
#define CSR_HSTATEEN3 0x60f
#define CSR_HTVAL 0x643
#define CSR_HIP 0x644
#define CSR_HVIP 0x645
#define CSR_HVIPRIO1 0x646
#define CSR_HVIPRIO2 0x647
#define CSR_HTINST 0x64a
#define CSR_HGATP 0x680
#define CSR_HCONTEXT 0x6a8
#define CSR_HGEIP 0xe12
#define CSR_VSTOPI 0xeb0
#define CSR_SCOUNTOVF 0xda0
#define CSR_STOPI 0xdb0
#define CSR_UTVT 0x7
#define CSR_UNXTI 0x45
#define CSR_UINTSTATUS 0x46
#define CSR_USCRATCHCSW 0x48
#define CSR_USCRATCHCSWL 0x49
#define CSR_STVT 0x107
#define CSR_SNXTI 0x145
#define CSR_SINTSTATUS 0x146
#define CSR_SSCRATCHCSW 0x148
#define CSR_SSCRATCHCSWL 0x149
#define CSR_MTVT 0x307
#define CSR_MPMPDELEG 0x316
#define CSR_MNXTI 0x345
#define CSR_MINTSTATUS 0x346
#define CSR_MSCRATCHCSW 0x348
#define CSR_MSCRATCHCSWL 0x349
#define CSR_MSTATUS 0x300
#define CSR_MISA 0x301
#define CSR_MEDELEG 0x302
#define CSR_MIDELEG 0x303
#define CSR_MIE 0x304
#define CSR_MTVEC 0x305
#define CSR_MCOUNTEREN 0x306
#define CSR_MVIEN 0x308
#define CSR_MVIP 0x309
#define CSR_MENVCFG 0x30a
#define CSR_MSTATEEN0 0x30c
#define CSR_MSTATEEN1 0x30d
#define CSR_MSTATEEN2 0x30e
#define CSR_MSTATEEN3 0x30f
#define CSR_MCOUNTINHIBIT 0x320
#define CSR_MSCRATCH 0x340
#define CSR_MEPC 0x341
#define CSR_MCAUSE 0x342
#define CSR_MTVAL 0x343
#define CSR_MIP 0x344
#define CSR_MTINST 0x34a
#define CSR_MTVAL2 0x34b
#define CSR_MCTRCTL 0x34e
#define CSR_MISELECT 0x350
#define CSR_MIREG 0x351
#define CSR_MIREG2 0x352
#define CSR_MIREG3 0x353
#define CSR_MIREG4 0x355
#define CSR_MIREG5 0x356
#define CSR_MIREG6 0x357
#define CSR_MTOPEI 0x35c
#define CSR_PMPCFG0 0x3a0
#define CSR_PMPCFG1 0x3a1
#define CSR_PMPCFG2 0x3a2
#define CSR_PMPCFG3 0x3a3
#define CSR_PMPCFG4 0x3a4
#define CSR_PMPCFG5 0x3a5
#define CSR_PMPCFG6 0x3a6
#define CSR_PMPCFG7 0x3a7
#define CSR_PMPCFG8 0x3a8
#define CSR_PMPCFG9 0x3a9
#define CSR_PMPCFG10 0x3aa
#define CSR_PMPCFG11 0x3ab
#define CSR_PMPCFG12 0x3ac
#define CSR_PMPCFG13 0x3ad
#define CSR_PMPCFG14 0x3ae
#define CSR_PMPCFG15 0x3af
#define CSR_PMPADDR0 0x3b0
#define CSR_PMPADDR1 0x3b1
#define CSR_PMPADDR2 0x3b2
#define CSR_PMPADDR3 0x3b3
#define CSR_PMPADDR4 0x3b4
#define CSR_PMPADDR5 0x3b5
#define CSR_PMPADDR6 0x3b6
#define CSR_PMPADDR7 0x3b7
#define CSR_PMPADDR8 0x3b8
#define CSR_PMPADDR9 0x3b9
#define CSR_PMPADDR10 0x3ba
#define CSR_PMPADDR11 0x3bb
#define CSR_PMPADDR12 0x3bc
#define CSR_PMPADDR13 0x3bd
#define CSR_PMPADDR14 0x3be
#define CSR_PMPADDR15 0x3bf
#define CSR_PMPADDR16 0x3c0
#define CSR_PMPADDR17 0x3c1
#define CSR_PMPADDR18 0x3c2
#define CSR_PMPADDR19 0x3c3
#define CSR_PMPADDR20 0x3c4
#define CSR_PMPADDR21 0x3c5
#define CSR_PMPADDR22 0x3c6
#define CSR_PMPADDR23 0x3c7
#define CSR_PMPADDR24 0x3c8
#define CSR_PMPADDR25 0x3c9
#define CSR_PMPADDR26 0x3ca
#define CSR_PMPADDR27 0x3cb
#define CSR_PMPADDR28 0x3cc
#define CSR_PMPADDR29 0x3cd
#define CSR_PMPADDR30 0x3ce
#define CSR_PMPADDR31 0x3cf
#define CSR_PMPADDR32 0x3d0
#define CSR_PMPADDR33 0x3d1
#define CSR_PMPADDR34 0x3d2
#define CSR_PMPADDR35 0x3d3
#define CSR_PMPADDR36 0x3d4
#define CSR_PMPADDR37 0x3d5
#define CSR_PMPADDR38 0x3d6
#define CSR_PMPADDR39 0x3d7
#define CSR_PMPADDR40 0x3d8
#define CSR_PMPADDR41 0x3d9
#define CSR_PMPADDR42 0x3da
#define CSR_PMPADDR43 0x3db
#define CSR_PMPADDR44 0x3dc
#define CSR_PMPADDR45 0x3dd
#define CSR_PMPADDR46 0x3de
#define CSR_PMPADDR47 0x3df
#define CSR_PMPADDR48 0x3e0
#define CSR_PMPADDR49 0x3e1
#define CSR_PMPADDR50 0x3e2
#define CSR_PMPADDR51 0x3e3
#define CSR_PMPADDR52 0x3e4
#define CSR_PMPADDR53 0x3e5
#define CSR_PMPADDR54 0x3e6
#define CSR_PMPADDR55 0x3e7
#define CSR_PMPADDR56 0x3e8
#define CSR_PMPADDR57 0x3e9
#define CSR_PMPADDR58 0x3ea
#define CSR_PMPADDR59 0x3eb
#define CSR_PMPADDR60 0x3ec
#define CSR_PMPADDR61 0x3ed
#define CSR_PMPADDR62 0x3ee
#define CSR_PMPADDR63 0x3ef
#define CSR_MSECCFG 0x747
#define CSR_TSELECT 0x7a0
#define CSR_TDATA1 0x7a1
#define CSR_TDATA2 0x7a2
#define CSR_TDATA3 0x7a3
#define CSR_TINFO 0x7a4
#define CSR_TCONTROL 0x7a5
#define CSR_MCONTEXT 0x7a8
#define CSR_MSCONTEXT 0x7aa
#define CSR_DCSR 0x7b0
#define CSR_DPC 0x7b1
#define CSR_DSCRATCH0 0x7b2
#define CSR_DSCRATCH1 0x7b3
#define CSR_MCYCLE 0xb00
#define CSR_MINSTRET 0xb02
#define CSR_MHPMCOUNTER3 0xb03
#define CSR_MHPMCOUNTER4 0xb04
#define CSR_MHPMCOUNTER5 0xb05
#define CSR_MHPMCOUNTER6 0xb06
#define CSR_MHPMCOUNTER7 0xb07
#define CSR_MHPMCOUNTER8 0xb08
#define CSR_MHPMCOUNTER9 0xb09
#define CSR_MHPMCOUNTER10 0xb0a
#define CSR_MHPMCOUNTER11 0xb0b
#define CSR_MHPMCOUNTER12 0xb0c
#define CSR_MHPMCOUNTER13 0xb0d
#define CSR_MHPMCOUNTER14 0xb0e
#define CSR_MHPMCOUNTER15 0xb0f
#define CSR_MHPMCOUNTER16 0xb10
#define CSR_MHPMCOUNTER17 0xb11
#define CSR_MHPMCOUNTER18 0xb12
#define CSR_MHPMCOUNTER19 0xb13
#define CSR_MHPMCOUNTER20 0xb14
#define CSR_MHPMCOUNTER21 0xb15
#define CSR_MHPMCOUNTER22 0xb16
#define CSR_MHPMCOUNTER23 0xb17
#define CSR_MHPMCOUNTER24 0xb18
#define CSR_MHPMCOUNTER25 0xb19
#define CSR_MHPMCOUNTER26 0xb1a
#define CSR_MHPMCOUNTER27 0xb1b
#define CSR_MHPMCOUNTER28 0xb1c
#define CSR_MHPMCOUNTER29 0xb1d
#define CSR_MHPMCOUNTER30 0xb1e
#define CSR_MHPMCOUNTER31 0xb1f
#define CSR_MCYCLECFG 0x321
#define CSR_MINSTRETCFG 0x322
#define CSR_MHPMEVENT3 0x323
#define CSR_MHPMEVENT4 0x324
#define CSR_MHPMEVENT5 0x325
#define CSR_MHPMEVENT6 0x326
#define CSR_MHPMEVENT7 0x327
#define CSR_MHPMEVENT8 0x328
#define CSR_MHPMEVENT9 0x329
#define CSR_MHPMEVENT10 0x32a
#define CSR_MHPMEVENT11 0x32b
#define CSR_MHPMEVENT12 0x32c
#define CSR_MHPMEVENT13 0x32d
#define CSR_MHPMEVENT14 0x32e
#define CSR_MHPMEVENT15 0x32f
#define CSR_MHPMEVENT16 0x330
#define CSR_MHPMEVENT17 0x331
#define CSR_MHPMEVENT18 0x332
#define CSR_MHPMEVENT19 0x333
#define CSR_MHPMEVENT20 0x334
#define CSR_MHPMEVENT21 0x335
#define CSR_MHPMEVENT22 0x336
#define CSR_MHPMEVENT23 0x337
#define CSR_MHPMEVENT24 0x338
#define CSR_MHPMEVENT25 0x339
#define CSR_MHPMEVENT26 0x33a
#define CSR_MHPMEVENT27 0x33b
#define CSR_MHPMEVENT28 0x33c
#define CSR_MHPMEVENT29 0x33d
#define CSR_MHPMEVENT30 0x33e
#define CSR_MHPMEVENT31 0x33f
#define CSR_MVENDORID 0xf11
#define CSR_MARCHID 0xf12
#define CSR_MIMPID 0xf13
#define CSR_MHARTID 0xf14
#define CSR_MCONFIGPTR 0xf15
#define CSR_MTOPI 0xfb0
#define CSR_SIEH 0x114
#define CSR_SIPH 0x154
#define CSR_STIMECMPH 0x15d
#define CSR_SPMPENH 0x193
#define CSR_VSIEH 0x214
#define CSR_VSIPH 0x254
#define CSR_VSTIMECMPH 0x25d
#define CSR_MEDELEGH 0x312
#define CSR_HEDELEGH 0x612
#define CSR_HTIMEDELTAH 0x615
#define CSR_HIDELEGH 0x613
#define CSR_HVIENH 0x618
#define CSR_HENVCFGH 0x61a
#define CSR_HVIPH 0x655
#define CSR_HVIPRIO1H 0x656
#define CSR_HVIPRIO2H 0x657
#define CSR_HSTATEEN0H 0x61c
#define CSR_HSTATEEN1H 0x61d
#define CSR_HSTATEEN2H 0x61e
#define CSR_HSTATEEN3H 0x61f
#define CSR_CYCLEH 0xc80
#define CSR_TIMEH 0xc81
#define CSR_INSTRETH 0xc82
#define CSR_HPMCOUNTER3H 0xc83
#define CSR_HPMCOUNTER4H 0xc84
#define CSR_HPMCOUNTER5H 0xc85
#define CSR_HPMCOUNTER6H 0xc86
#define CSR_HPMCOUNTER7H 0xc87
#define CSR_HPMCOUNTER8H 0xc88
#define CSR_HPMCOUNTER9H 0xc89
#define CSR_HPMCOUNTER10H 0xc8a
#define CSR_HPMCOUNTER11H 0xc8b
#define CSR_HPMCOUNTER12H 0xc8c
#define CSR_HPMCOUNTER13H 0xc8d
#define CSR_HPMCOUNTER14H 0xc8e
#define CSR_HPMCOUNTER15H 0xc8f
#define CSR_HPMCOUNTER16H 0xc90
#define CSR_HPMCOUNTER17H 0xc91
#define CSR_HPMCOUNTER18H 0xc92
#define CSR_HPMCOUNTER19H 0xc93
#define CSR_HPMCOUNTER20H 0xc94
#define CSR_HPMCOUNTER21H 0xc95
#define CSR_HPMCOUNTER22H 0xc96
#define CSR_HPMCOUNTER23H 0xc97
#define CSR_HPMCOUNTER24H 0xc98
#define CSR_HPMCOUNTER25H 0xc99
#define CSR_HPMCOUNTER26H 0xc9a
#define CSR_HPMCOUNTER27H 0xc9b
#define CSR_HPMCOUNTER28H 0xc9c
#define CSR_HPMCOUNTER29H 0xc9d
#define CSR_HPMCOUNTER30H 0xc9e
#define CSR_HPMCOUNTER31H 0xc9f
#define CSR_MSTATUSH 0x310
#define CSR_MIDELEGH 0x313
#define CSR_MIEH 0x314
#define CSR_MVIENH 0x318
#define CSR_MVIPH 0x319
#define CSR_MENVCFGH 0x31a
#define CSR_MSTATEEN0H 0x31c
#define CSR_MSTATEEN1H 0x31d
#define CSR_MSTATEEN2H 0x31e
#define CSR_MSTATEEN3H 0x31f
#define CSR_MIPH 0x354
#define CSR_MCYCLECFGH 0x721
#define CSR_MINSTRETCFGH 0x722
#define CSR_MHPMEVENT3H 0x723
#define CSR_MHPMEVENT4H 0x724
#define CSR_MHPMEVENT5H 0x725
#define CSR_MHPMEVENT6H 0x726
#define CSR_MHPMEVENT7H 0x727
#define CSR_MHPMEVENT8H 0x728
#define CSR_MHPMEVENT9H 0x729
#define CSR_MHPMEVENT10H 0x72a
#define CSR_MHPMEVENT11H 0x72b
#define CSR_MHPMEVENT12H 0x72c
#define CSR_MHPMEVENT13H 0x72d
#define CSR_MHPMEVENT14H 0x72e
#define CSR_MHPMEVENT15H 0x72f
#define CSR_MHPMEVENT16H 0x730
#define CSR_MHPMEVENT17H 0x731
#define CSR_MHPMEVENT18H 0x732
#define CSR_MHPMEVENT19H 0x733
#define CSR_MHPMEVENT20H 0x734
#define CSR_MHPMEVENT21H 0x735
#define CSR_MHPMEVENT22H 0x736
#define CSR_MHPMEVENT23H 0x737
#define CSR_MHPMEVENT24H 0x738
#define CSR_MHPMEVENT25H 0x739
#define CSR_MHPMEVENT26H 0x73a
#define CSR_MHPMEVENT27H 0x73b
#define CSR_MHPMEVENT28H 0x73c
#define CSR_MHPMEVENT29H 0x73d
#define CSR_MHPMEVENT30H 0x73e
#define CSR_MHPMEVENT31H 0x73f
#define CSR_MNSCRATCH 0x740
#define CSR_MNEPC 0x741
#define CSR_MNCAUSE 0x742
#define CSR_MNSTATUS 0x744
#define CSR_MSECCFGH 0x757
#define CSR_MCYCLEH 0xb80
#define CSR_MINSTRETH 0xb82
#define CSR_MHPMCOUNTER3H 0xb83
#define CSR_MHPMCOUNTER4H 0xb84
#define CSR_MHPMCOUNTER5H 0xb85
#define CSR_MHPMCOUNTER6H 0xb86
#define CSR_MHPMCOUNTER7H 0xb87
#define CSR_MHPMCOUNTER8H 0xb88
#define CSR_MHPMCOUNTER9H 0xb89
#define CSR_MHPMCOUNTER10H 0xb8a
#define CSR_MHPMCOUNTER11H 0xb8b
#define CSR_MHPMCOUNTER12H 0xb8c
#define CSR_MHPMCOUNTER13H 0xb8d
#define CSR_MHPMCOUNTER14H 0xb8e
#define CSR_MHPMCOUNTER15H 0xb8f
#define CSR_MHPMCOUNTER16H 0xb90
#define CSR_MHPMCOUNTER17H 0xb91
#define CSR_MHPMCOUNTER18H 0xb92
#define CSR_MHPMCOUNTER19H 0xb93
#define CSR_MHPMCOUNTER20H 0xb94
#define CSR_MHPMCOUNTER21H 0xb95
#define CSR_MHPMCOUNTER22H 0xb96
#define CSR_MHPMCOUNTER23H 0xb97
#define CSR_MHPMCOUNTER24H 0xb98
#define CSR_MHPMCOUNTER25H 0xb99
#define CSR_MHPMCOUNTER26H 0xb9a
#define CSR_MHPMCOUNTER27H 0xb9b
#define CSR_MHPMCOUNTER28H 0xb9c
#define CSR_MHPMCOUNTER29H 0xb9d
#define CSR_MHPMCOUNTER30H 0xb9e
#define CSR_MHPMCOUNTER31H 0xb9f

#define CAUSE_MISALIGNED_FETCH 0x0
#define CAUSE_FETCH_ACCESS 0x1
#define CAUSE_ILLEGAL_INSTRUCTION 0x2
#define CAUSE_BREAKPOINT 0x3
#define CAUSE_MISALIGNED_LOAD 0x4
#define CAUSE_LOAD_ACCESS 0x5
#define CAUSE_MISALIGNED_STORE 0x6
#define CAUSE_STORE_ACCESS 0x7
#define CAUSE_USER_ECALL 0x8
#define CAUSE_SUPERVISOR_ECALL 0x9
#define CAUSE_VIRTUAL_SUPERVISOR_ECALL 0xa
#define CAUSE_MACHINE_ECALL 0xb
#define CAUSE_FETCH_PAGE_FAULT 0xc
#define CAUSE_LOAD_PAGE_FAULT 0xd
#define CAUSE_STORE_PAGE_FAULT 0xf
#define CAUSE_DOUBLE_TRAP 0x10
#define CAUSE_SOFTWARE_CHECK_FAULT 0x12
#define CAUSE_HARDWARE_ERROR_FAULT 0x13
#define CAUSE_FETCH_GUEST_PAGE_FAULT 0x14
#define CAUSE_LOAD_GUEST_PAGE_FAULT 0x15
#define CAUSE_VIRTUAL_INSTRUCTION 0x16
#define CAUSE_STORE_GUEST_PAGE_FAULT 0x17

#define INSN_FIELD_RD 0xf80
#define INSN_FIELD_RT 0xf8000
#define INSN_FIELD_RS1 0xf8000
#define INSN_FIELD_RS2 0x1f00000
#define INSN_FIELD_RS3 0xf8000000
#define INSN_FIELD_AQRL 0x6000000
#define INSN_FIELD_AQ 0x4000000
#define INSN_FIELD_RL 0x2000000
#define INSN_FIELD_FM 0xf0000000
#define INSN_FIELD_PRED 0xf000000
#define INSN_FIELD_SUCC 0xf00000
#define INSN_FIELD_RM 0x7000
#define INSN_FIELD_FUNCT3 0x7000
#define INSN_FIELD_FUNCT2 0x6000000
#define INSN_FIELD_IMM20 0xfffff000
#define INSN_FIELD_JIMM20 0xfffff000
#define INSN_FIELD_IMM12 0xfff00000
#define INSN_FIELD_CSR 0xfff00000
#define INSN_FIELD_IMM12HI 0xfe000000
#define INSN_FIELD_BIMM12HI 0xfe000000
#define INSN_FIELD_IMM12LO 0xf80
#define INSN_FIELD_BIMM12LO 0xf80
#define INSN_FIELD_SHAMTQ 0x7f00000
#define INSN_FIELD_SHAMTW 0x1f00000
#define INSN_FIELD_SHAMTW4 0xf00000
#define INSN_FIELD_SHAMTD 0x3f00000
#define INSN_FIELD_BS 0xc0000000
#define INSN_FIELD_RNUM 0xf00000
#define INSN_FIELD_RC 0x3e000000
#define INSN_FIELD_IMM2 0x300000
#define INSN_FIELD_IMM3 0x700000
#define INSN_FIELD_IMM4 0xf00000
#define INSN_FIELD_IMM5 0x1f00000
#define INSN_FIELD_IMM6 0x3f00000
#define INSN_FIELD_OPCODE 0x7f
#define INSN_FIELD_FUNCT7 0xfe000000
#define INSN_FIELD_VD 0xf80
#define INSN_FIELD_VS3 0xf80
#define INSN_FIELD_VS1 0xf8000
#define INSN_FIELD_VS2 0x1f00000
#define INSN_FIELD_VM 0x2000000
#define INSN_FIELD_WD 0x4000000
#define INSN_FIELD_AMOOP 0xf8000000
#define INSN_FIELD_NF 0xe0000000
#define INSN_FIELD_SIMM5 0xf8000
#define INSN_FIELD_ZIMM5 0xf8000
#define INSN_FIELD_ZIMM10 0x3ff00000
#define INSN_FIELD_ZIMM11 0x7ff00000
#define INSN_FIELD_ZIMM6HI 0x4000000
#define INSN_FIELD_ZIMM6LO 0xf8000
#define INSN_FIELD_C_NZUIMM10 0x1fe0
#define INSN_FIELD_C_UIMM7LO 0x60
#define INSN_FIELD_C_UIMM7HI 0x1c00
#define INSN_FIELD_C_UIMM8LO 0x60
#define INSN_FIELD_C_UIMM8HI 0x1c00
#define INSN_FIELD_C_UIMM9LO 0x60
#define INSN_FIELD_C_UIMM9HI 0x1c00
#define INSN_FIELD_C_NZIMM6LO 0x7c
#define INSN_FIELD_C_NZIMM6HI 0x1000
#define INSN_FIELD_C_IMM6LO 0x7c
#define INSN_FIELD_C_IMM6HI 0x1000
#define INSN_FIELD_C_NZIMM10HI 0x1000
#define INSN_FIELD_C_NZIMM10LO 0x7c
#define INSN_FIELD_C_NZIMM18HI 0x1000
#define INSN_FIELD_C_NZIMM18LO 0x7c
#define INSN_FIELD_C_IMM12 0x1ffc
#define INSN_FIELD_C_BIMM9LO 0x7c
#define INSN_FIELD_C_BIMM9HI 0x1c00
#define INSN_FIELD_C_NZUIMM5 0x7c
#define INSN_FIELD_C_NZUIMM6LO 0x7c
#define INSN_FIELD_C_NZUIMM6HI 0x1000
#define INSN_FIELD_C_UIMM8SPLO 0x7c
#define INSN_FIELD_C_UIMM8SPHI 0x1000
#define INSN_FIELD_C_UIMM8SP_S 0x1f80
#define INSN_FIELD_C_UIMM10SPLO 0x7c
#define INSN_FIELD_C_UIMM10SPHI 0x1000
#define INSN_FIELD_C_UIMM9SPLO 0x7c
#define INSN_FIELD_C_UIMM9SPHI 0x1000
#define INSN_FIELD_C_UIMM10SP_S 0x1f80
#define INSN_FIELD_C_UIMM9SP_S 0x1f80
#define INSN_FIELD_C_UIMM2 0x60
#define INSN_FIELD_C_UIMM1 0x20
#define INSN_FIELD_C_RLIST 0xf0
#define INSN_FIELD_C_SPIMM 0xc
#define INSN_FIELD_C_INDEX 0x3fc
#define INSN_FIELD_RS1_P 0x380
#define INSN_FIELD_RS2_P 0x1c
#define INSN_FIELD_RD_P 0x1c
#define INSN_FIELD_RD_RS1_N0 0xf80
#define INSN_FIELD_RD_RS1_P 0x380
#define INSN_FIELD_RD_RS1 0xf80
#define INSN_FIELD_RD_N2 0xf80
#define INSN_FIELD_RD_N0 0xf80
#define INSN_FIELD_RS1_N0 0xf80
#define INSN_FIELD_C_RS2_N0 0x7c
#define INSN_FIELD_C_RS1_N0 0xf80
#define INSN_FIELD_C_RS2 0x7c
#define INSN_FIELD_C_SREG1 0x380
#define INSN_FIELD_C_SREG2 0x1c
#define INSN_FIELD_RD_P_E 0x18
#define INSN_FIELD_RS2_P_E 0x18
#define INSN_FIELD_RD_N0_E 0xf00
#define INSN_FIELD_C_RS2_E 0x78
#define INSN_FIELD_RD_E 0xf00
#define INSN_FIELD_RS2_E 0x1e00000
#define INSN_FIELD_P_IMM10 0x1ff8000
#define INSN_FIELD_P_IMM8 0xff0000
#define INSN_FIELD_P_W_UIMM3 0x700000
#define INSN_FIELD_P_W_UIMM4 0xf00000
#define INSN_FIELD_P_W_UIMM5 0x1f00000
#define INSN_FIELD_P_W_UIMM6 0x3f00000
#define INSN_FIELD_P_W 0x6000000
#define INSN_FIELD_P_RD_P 0xf00
#define INSN_FIELD_P_RS1_P 0xf0000
#define INSN_FIELD_P_RS2_P 0x1e00000
#define INSN_FIELD_MOP_R_T_30 0x40000000
#define INSN_FIELD_MOP_R_T_27_26 0xc000000
#define INSN_FIELD_MOP_R_T_21_20 0x300000
#define INSN_FIELD_MOP_RR_T_30 0x40000000
#define INSN_FIELD_MOP_RR_T_27_26 0xc000000
#define INSN_FIELD_C_MOP_T 0x700
#define INSN_FIELD_RS2_EQ_RS1 0x1f00000
#endif
#ifdef DECLARE_INSN
DECLARE_INSN(aadd, MATCH_AADD, MASK_AADD)
DECLARE_INSN(aaddu, MATCH_AADDU, MASK_AADDU)
DECLARE_INSN(abs, MATCH_ABS, MASK_ABS)
DECLARE_INSN(absw, MATCH_ABSW, MASK_ABSW)
DECLARE_INSN(add, MATCH_ADD, MASK_ADD)
DECLARE_INSN(add_uw, MATCH_ADD_UW, MASK_ADD_UW)
DECLARE_INSN(addd, MATCH_ADDD, MASK_ADDD)
DECLARE_INSN(addi, MATCH_ADDI, MASK_ADDI)
DECLARE_INSN(addiw, MATCH_ADDIW, MASK_ADDIW)
DECLARE_INSN(addw, MATCH_ADDW, MASK_ADDW)
DECLARE_INSN(aes32dsi, MATCH_AES32DSI, MASK_AES32DSI)
DECLARE_INSN(aes32dsmi, MATCH_AES32DSMI, MASK_AES32DSMI)
DECLARE_INSN(aes32esi, MATCH_AES32ESI, MASK_AES32ESI)
DECLARE_INSN(aes32esmi, MATCH_AES32ESMI, MASK_AES32ESMI)
DECLARE_INSN(aes64ds, MATCH_AES64DS, MASK_AES64DS)
DECLARE_INSN(aes64dsm, MATCH_AES64DSM, MASK_AES64DSM)
DECLARE_INSN(aes64es, MATCH_AES64ES, MASK_AES64ES)
DECLARE_INSN(aes64esm, MATCH_AES64ESM, MASK_AES64ESM)
DECLARE_INSN(aes64im, MATCH_AES64IM, MASK_AES64IM)
DECLARE_INSN(aes64ks1i, MATCH_AES64KS1I, MASK_AES64KS1I)
DECLARE_INSN(aes64ks2, MATCH_AES64KS2, MASK_AES64KS2)
DECLARE_INSN(amoadd_b, MATCH_AMOADD_B, MASK_AMOADD_B)
DECLARE_INSN(amoadd_d, MATCH_AMOADD_D, MASK_AMOADD_D)
DECLARE_INSN(amoadd_h, MATCH_AMOADD_H, MASK_AMOADD_H)
DECLARE_INSN(amoadd_w, MATCH_AMOADD_W, MASK_AMOADD_W)
DECLARE_INSN(amoand_b, MATCH_AMOAND_B, MASK_AMOAND_B)
DECLARE_INSN(amoand_d, MATCH_AMOAND_D, MASK_AMOAND_D)
DECLARE_INSN(amoand_h, MATCH_AMOAND_H, MASK_AMOAND_H)
DECLARE_INSN(amoand_w, MATCH_AMOAND_W, MASK_AMOAND_W)
DECLARE_INSN(amocas_b, MATCH_AMOCAS_B, MASK_AMOCAS_B)
DECLARE_INSN(amocas_d, MATCH_AMOCAS_D, MASK_AMOCAS_D)
DECLARE_INSN(amocas_h, MATCH_AMOCAS_H, MASK_AMOCAS_H)
DECLARE_INSN(amocas_q, MATCH_AMOCAS_Q, MASK_AMOCAS_Q)
DECLARE_INSN(amocas_w, MATCH_AMOCAS_W, MASK_AMOCAS_W)
DECLARE_INSN(amomax_b, MATCH_AMOMAX_B, MASK_AMOMAX_B)
DECLARE_INSN(amomax_d, MATCH_AMOMAX_D, MASK_AMOMAX_D)
DECLARE_INSN(amomax_h, MATCH_AMOMAX_H, MASK_AMOMAX_H)
DECLARE_INSN(amomax_w, MATCH_AMOMAX_W, MASK_AMOMAX_W)
DECLARE_INSN(amomaxu_b, MATCH_AMOMAXU_B, MASK_AMOMAXU_B)
DECLARE_INSN(amomaxu_d, MATCH_AMOMAXU_D, MASK_AMOMAXU_D)
DECLARE_INSN(amomaxu_h, MATCH_AMOMAXU_H, MASK_AMOMAXU_H)
DECLARE_INSN(amomaxu_w, MATCH_AMOMAXU_W, MASK_AMOMAXU_W)
DECLARE_INSN(amomin_b, MATCH_AMOMIN_B, MASK_AMOMIN_B)
DECLARE_INSN(amomin_d, MATCH_AMOMIN_D, MASK_AMOMIN_D)
DECLARE_INSN(amomin_h, MATCH_AMOMIN_H, MASK_AMOMIN_H)
DECLARE_INSN(amomin_w, MATCH_AMOMIN_W, MASK_AMOMIN_W)
DECLARE_INSN(amominu_b, MATCH_AMOMINU_B, MASK_AMOMINU_B)
DECLARE_INSN(amominu_d, MATCH_AMOMINU_D, MASK_AMOMINU_D)
DECLARE_INSN(amominu_h, MATCH_AMOMINU_H, MASK_AMOMINU_H)
DECLARE_INSN(amominu_w, MATCH_AMOMINU_W, MASK_AMOMINU_W)
DECLARE_INSN(amoor_b, MATCH_AMOOR_B, MASK_AMOOR_B)
DECLARE_INSN(amoor_d, MATCH_AMOOR_D, MASK_AMOOR_D)
DECLARE_INSN(amoor_h, MATCH_AMOOR_H, MASK_AMOOR_H)
DECLARE_INSN(amoor_w, MATCH_AMOOR_W, MASK_AMOOR_W)
DECLARE_INSN(amoswap_b, MATCH_AMOSWAP_B, MASK_AMOSWAP_B)
DECLARE_INSN(amoswap_d, MATCH_AMOSWAP_D, MASK_AMOSWAP_D)
DECLARE_INSN(amoswap_h, MATCH_AMOSWAP_H, MASK_AMOSWAP_H)
DECLARE_INSN(amoswap_w, MATCH_AMOSWAP_W, MASK_AMOSWAP_W)
DECLARE_INSN(amoxor_b, MATCH_AMOXOR_B, MASK_AMOXOR_B)
DECLARE_INSN(amoxor_d, MATCH_AMOXOR_D, MASK_AMOXOR_D)
DECLARE_INSN(amoxor_h, MATCH_AMOXOR_H, MASK_AMOXOR_H)
DECLARE_INSN(amoxor_w, MATCH_AMOXOR_W, MASK_AMOXOR_W)
DECLARE_INSN(and, MATCH_AND, MASK_AND)
DECLARE_INSN(andi, MATCH_ANDI, MASK_ANDI)
DECLARE_INSN(andn, MATCH_ANDN, MASK_ANDN)
DECLARE_INSN(asub, MATCH_ASUB, MASK_ASUB)
DECLARE_INSN(asubu, MATCH_ASUBU, MASK_ASUBU)
DECLARE_INSN(auipc, MATCH_AUIPC, MASK_AUIPC)
DECLARE_INSN(bclr, MATCH_BCLR, MASK_BCLR)
DECLARE_INSN(bclri, MATCH_BCLRI, MASK_BCLRI)
DECLARE_INSN(beq, MATCH_BEQ, MASK_BEQ)
DECLARE_INSN(beqi, MATCH_BEQI, MASK_BEQI)
DECLARE_INSN(bext, MATCH_BEXT, MASK_BEXT)
DECLARE_INSN(bexti, MATCH_BEXTI, MASK_BEXTI)
DECLARE_INSN(bge, MATCH_BGE, MASK_BGE)
DECLARE_INSN(bgeu, MATCH_BGEU, MASK_BGEU)
DECLARE_INSN(binv, MATCH_BINV, MASK_BINV)
DECLARE_INSN(binvi, MATCH_BINVI, MASK_BINVI)
DECLARE_INSN(blt, MATCH_BLT, MASK_BLT)
DECLARE_INSN(bltu, MATCH_BLTU, MASK_BLTU)
DECLARE_INSN(bne, MATCH_BNE, MASK_BNE)
DECLARE_INSN(bnei, MATCH_BNEI, MASK_BNEI)
DECLARE_INSN(brev8, MATCH_BREV8, MASK_BREV8)
DECLARE_INSN(bset, MATCH_BSET, MASK_BSET)
DECLARE_INSN(bseti, MATCH_BSETI, MASK_BSETI)
DECLARE_INSN(c_add, MATCH_C_ADD, MASK_C_ADD)
DECLARE_INSN(c_addi, MATCH_C_ADDI, MASK_C_ADDI)
DECLARE_INSN(c_addi16sp, MATCH_C_ADDI16SP, MASK_C_ADDI16SP)
DECLARE_INSN(c_addi4spn, MATCH_C_ADDI4SPN, MASK_C_ADDI4SPN)
DECLARE_INSN(c_addiw, MATCH_C_ADDIW, MASK_C_ADDIW)
DECLARE_INSN(c_addw, MATCH_C_ADDW, MASK_C_ADDW)
DECLARE_INSN(c_and, MATCH_C_AND, MASK_C_AND)
DECLARE_INSN(c_andi, MATCH_C_ANDI, MASK_C_ANDI)
DECLARE_INSN(c_beqz, MATCH_C_BEQZ, MASK_C_BEQZ)
DECLARE_INSN(c_bnez, MATCH_C_BNEZ, MASK_C_BNEZ)
DECLARE_INSN(c_ebreak, MATCH_C_EBREAK, MASK_C_EBREAK)
DECLARE_INSN(c_fld, MATCH_C_FLD, MASK_C_FLD)
DECLARE_INSN(c_fldsp, MATCH_C_FLDSP, MASK_C_FLDSP)
DECLARE_INSN(c_flw, MATCH_C_FLW, MASK_C_FLW)
DECLARE_INSN(c_flwsp, MATCH_C_FLWSP, MASK_C_FLWSP)
DECLARE_INSN(c_fsd, MATCH_C_FSD, MASK_C_FSD)
DECLARE_INSN(c_fsdsp, MATCH_C_FSDSP, MASK_C_FSDSP)
DECLARE_INSN(c_fsw, MATCH_C_FSW, MASK_C_FSW)
DECLARE_INSN(c_fswsp, MATCH_C_FSWSP, MASK_C_FSWSP)
DECLARE_INSN(c_j, MATCH_C_J, MASK_C_J)
DECLARE_INSN(c_jal, MATCH_C_JAL, MASK_C_JAL)
DECLARE_INSN(c_jalr, MATCH_C_JALR, MASK_C_JALR)
DECLARE_INSN(c_jr, MATCH_C_JR, MASK_C_JR)
DECLARE_INSN(c_lbu, MATCH_C_LBU, MASK_C_LBU)
DECLARE_INSN(c_ld, MATCH_C_LD, MASK_C_LD)
DECLARE_INSN(c_ldsp, MATCH_C_LDSP, MASK_C_LDSP)
DECLARE_INSN(c_lh, MATCH_C_LH, MASK_C_LH)
DECLARE_INSN(c_lhu, MATCH_C_LHU, MASK_C_LHU)
DECLARE_INSN(c_li, MATCH_C_LI, MASK_C_LI)
DECLARE_INSN(c_lui, MATCH_C_LUI, MASK_C_LUI)
DECLARE_INSN(c_lw, MATCH_C_LW, MASK_C_LW)
DECLARE_INSN(c_lwsp, MATCH_C_LWSP, MASK_C_LWSP)
DECLARE_INSN(c_mop_1, MATCH_C_MOP_1, MASK_C_MOP_1)
DECLARE_INSN(c_mop_11, MATCH_C_MOP_11, MASK_C_MOP_11)
DECLARE_INSN(c_mop_13, MATCH_C_MOP_13, MASK_C_MOP_13)
DECLARE_INSN(c_mop_15, MATCH_C_MOP_15, MASK_C_MOP_15)
DECLARE_INSN(c_mop_3, MATCH_C_MOP_3, MASK_C_MOP_3)
DECLARE_INSN(c_mop_5, MATCH_C_MOP_5, MASK_C_MOP_5)
DECLARE_INSN(c_mop_7, MATCH_C_MOP_7, MASK_C_MOP_7)
DECLARE_INSN(c_mop_9, MATCH_C_MOP_9, MASK_C_MOP_9)
DECLARE_INSN(c_mop_N, MATCH_C_MOP_N, MASK_C_MOP_N)
DECLARE_INSN(c_mul, MATCH_C_MUL, MASK_C_MUL)
DECLARE_INSN(c_mv, MATCH_C_MV, MASK_C_MV)
DECLARE_INSN(c_nop, MATCH_C_NOP, MASK_C_NOP)
DECLARE_INSN(c_not, MATCH_C_NOT, MASK_C_NOT)
DECLARE_INSN(c_or, MATCH_C_OR, MASK_C_OR)
DECLARE_INSN(c_sb, MATCH_C_SB, MASK_C_SB)
DECLARE_INSN(c_sd, MATCH_C_SD, MASK_C_SD)
DECLARE_INSN(c_sdsp, MATCH_C_SDSP, MASK_C_SDSP)
DECLARE_INSN(c_sext_b, MATCH_C_SEXT_B, MASK_C_SEXT_B)
DECLARE_INSN(c_sext_h, MATCH_C_SEXT_H, MASK_C_SEXT_H)
DECLARE_INSN(c_sh, MATCH_C_SH, MASK_C_SH)
DECLARE_INSN(c_slli, MATCH_C_SLLI, MASK_C_SLLI)
DECLARE_INSN(c_srai, MATCH_C_SRAI, MASK_C_SRAI)
DECLARE_INSN(c_srli, MATCH_C_SRLI, MASK_C_SRLI)
DECLARE_INSN(c_sspopchk_x5, MATCH_C_SSPOPCHK_X5, MASK_C_SSPOPCHK_X5)
DECLARE_INSN(c_sspush_x1, MATCH_C_SSPUSH_X1, MASK_C_SSPUSH_X1)
DECLARE_INSN(c_sub, MATCH_C_SUB, MASK_C_SUB)
DECLARE_INSN(c_subw, MATCH_C_SUBW, MASK_C_SUBW)
DECLARE_INSN(c_sw, MATCH_C_SW, MASK_C_SW)
DECLARE_INSN(c_swsp, MATCH_C_SWSP, MASK_C_SWSP)
DECLARE_INSN(c_xor, MATCH_C_XOR, MASK_C_XOR)
DECLARE_INSN(c_zext_b, MATCH_C_ZEXT_B, MASK_C_ZEXT_B)
DECLARE_INSN(c_zext_h, MATCH_C_ZEXT_H, MASK_C_ZEXT_H)
DECLARE_INSN(c_zext_w, MATCH_C_ZEXT_W, MASK_C_ZEXT_W)
DECLARE_INSN(cbo_clean, MATCH_CBO_CLEAN, MASK_CBO_CLEAN)
DECLARE_INSN(cbo_flush, MATCH_CBO_FLUSH, MASK_CBO_FLUSH)
DECLARE_INSN(cbo_inval, MATCH_CBO_INVAL, MASK_CBO_INVAL)
DECLARE_INSN(cbo_zero, MATCH_CBO_ZERO, MASK_CBO_ZERO)
DECLARE_INSN(clmul, MATCH_CLMUL, MASK_CLMUL)
DECLARE_INSN(clmulh, MATCH_CLMULH, MASK_CLMULH)
DECLARE_INSN(clmulr, MATCH_CLMULR, MASK_CLMULR)
DECLARE_INSN(cls, MATCH_CLS, MASK_CLS)
DECLARE_INSN(clsw, MATCH_CLSW, MASK_CLSW)
DECLARE_INSN(clz, MATCH_CLZ, MASK_CLZ)
DECLARE_INSN(clzw, MATCH_CLZW, MASK_CLZW)
DECLARE_INSN(cm_jalt, MATCH_CM_JALT, MASK_CM_JALT)
DECLARE_INSN(cm_mva01s, MATCH_CM_MVA01S, MASK_CM_MVA01S)
DECLARE_INSN(cm_mvsa01, MATCH_CM_MVSA01, MASK_CM_MVSA01)
DECLARE_INSN(cm_pop, MATCH_CM_POP, MASK_CM_POP)
DECLARE_INSN(cm_popret, MATCH_CM_POPRET, MASK_CM_POPRET)
DECLARE_INSN(cm_popretz, MATCH_CM_POPRETZ, MASK_CM_POPRETZ)
DECLARE_INSN(cm_push, MATCH_CM_PUSH, MASK_CM_PUSH)
DECLARE_INSN(cpop, MATCH_CPOP, MASK_CPOP)
DECLARE_INSN(cpopw, MATCH_CPOPW, MASK_CPOPW)
DECLARE_INSN(csrrc, MATCH_CSRRC, MASK_CSRRC)
DECLARE_INSN(csrrci, MATCH_CSRRCI, MASK_CSRRCI)
DECLARE_INSN(csrrs, MATCH_CSRRS, MASK_CSRRS)
DECLARE_INSN(csrrsi, MATCH_CSRRSI, MASK_CSRRSI)
DECLARE_INSN(csrrw, MATCH_CSRRW, MASK_CSRRW)
DECLARE_INSN(csrrwi, MATCH_CSRRWI, MASK_CSRRWI)
DECLARE_INSN(ctz, MATCH_CTZ, MASK_CTZ)
DECLARE_INSN(ctzw, MATCH_CTZW, MASK_CTZW)
DECLARE_INSN(czero_eqz, MATCH_CZERO_EQZ, MASK_CZERO_EQZ)
DECLARE_INSN(czero_nez, MATCH_CZERO_NEZ, MASK_CZERO_NEZ)
DECLARE_INSN(div, MATCH_DIV, MASK_DIV)
DECLARE_INSN(divu, MATCH_DIVU, MASK_DIVU)
DECLARE_INSN(divuw, MATCH_DIVUW, MASK_DIVUW)
DECLARE_INSN(divw, MATCH_DIVW, MASK_DIVW)
DECLARE_INSN(dret, MATCH_DRET, MASK_DRET)
DECLARE_INSN(ebreak, MATCH_EBREAK, MASK_EBREAK)
DECLARE_INSN(ecall, MATCH_ECALL, MASK_ECALL)
DECLARE_INSN(fadd_d, MATCH_FADD_D, MASK_FADD_D)
DECLARE_INSN(fadd_h, MATCH_FADD_H, MASK_FADD_H)
DECLARE_INSN(fadd_q, MATCH_FADD_Q, MASK_FADD_Q)
DECLARE_INSN(fadd_s, MATCH_FADD_S, MASK_FADD_S)
DECLARE_INSN(fclass_d, MATCH_FCLASS_D, MASK_FCLASS_D)
DECLARE_INSN(fclass_h, MATCH_FCLASS_H, MASK_FCLASS_H)
DECLARE_INSN(fclass_q, MATCH_FCLASS_Q, MASK_FCLASS_Q)
DECLARE_INSN(fclass_s, MATCH_FCLASS_S, MASK_FCLASS_S)
DECLARE_INSN(fcvt_bf16_s, MATCH_FCVT_BF16_S, MASK_FCVT_BF16_S)
DECLARE_INSN(fcvt_d_h, MATCH_FCVT_D_H, MASK_FCVT_D_H)
DECLARE_INSN(fcvt_d_l, MATCH_FCVT_D_L, MASK_FCVT_D_L)
DECLARE_INSN(fcvt_d_lu, MATCH_FCVT_D_LU, MASK_FCVT_D_LU)
DECLARE_INSN(fcvt_d_q, MATCH_FCVT_D_Q, MASK_FCVT_D_Q)
DECLARE_INSN(fcvt_d_s, MATCH_FCVT_D_S, MASK_FCVT_D_S)
DECLARE_INSN(fcvt_d_w, MATCH_FCVT_D_W, MASK_FCVT_D_W)
DECLARE_INSN(fcvt_d_wu, MATCH_FCVT_D_WU, MASK_FCVT_D_WU)
DECLARE_INSN(fcvt_h_d, MATCH_FCVT_H_D, MASK_FCVT_H_D)
DECLARE_INSN(fcvt_h_l, MATCH_FCVT_H_L, MASK_FCVT_H_L)
DECLARE_INSN(fcvt_h_lu, MATCH_FCVT_H_LU, MASK_FCVT_H_LU)
DECLARE_INSN(fcvt_h_q, MATCH_FCVT_H_Q, MASK_FCVT_H_Q)
DECLARE_INSN(fcvt_h_s, MATCH_FCVT_H_S, MASK_FCVT_H_S)
DECLARE_INSN(fcvt_h_w, MATCH_FCVT_H_W, MASK_FCVT_H_W)
DECLARE_INSN(fcvt_h_wu, MATCH_FCVT_H_WU, MASK_FCVT_H_WU)
DECLARE_INSN(fcvt_l_d, MATCH_FCVT_L_D, MASK_FCVT_L_D)
DECLARE_INSN(fcvt_l_h, MATCH_FCVT_L_H, MASK_FCVT_L_H)
DECLARE_INSN(fcvt_l_q, MATCH_FCVT_L_Q, MASK_FCVT_L_Q)
DECLARE_INSN(fcvt_l_s, MATCH_FCVT_L_S, MASK_FCVT_L_S)
DECLARE_INSN(fcvt_lu_d, MATCH_FCVT_LU_D, MASK_FCVT_LU_D)
DECLARE_INSN(fcvt_lu_h, MATCH_FCVT_LU_H, MASK_FCVT_LU_H)
DECLARE_INSN(fcvt_lu_q, MATCH_FCVT_LU_Q, MASK_FCVT_LU_Q)
DECLARE_INSN(fcvt_lu_s, MATCH_FCVT_LU_S, MASK_FCVT_LU_S)
DECLARE_INSN(fcvt_q_d, MATCH_FCVT_Q_D, MASK_FCVT_Q_D)
DECLARE_INSN(fcvt_q_h, MATCH_FCVT_Q_H, MASK_FCVT_Q_H)
DECLARE_INSN(fcvt_q_l, MATCH_FCVT_Q_L, MASK_FCVT_Q_L)
DECLARE_INSN(fcvt_q_lu, MATCH_FCVT_Q_LU, MASK_FCVT_Q_LU)
DECLARE_INSN(fcvt_q_s, MATCH_FCVT_Q_S, MASK_FCVT_Q_S)
DECLARE_INSN(fcvt_q_w, MATCH_FCVT_Q_W, MASK_FCVT_Q_W)
DECLARE_INSN(fcvt_q_wu, MATCH_FCVT_Q_WU, MASK_FCVT_Q_WU)
DECLARE_INSN(fcvt_s_bf16, MATCH_FCVT_S_BF16, MASK_FCVT_S_BF16)
DECLARE_INSN(fcvt_s_d, MATCH_FCVT_S_D, MASK_FCVT_S_D)
DECLARE_INSN(fcvt_s_h, MATCH_FCVT_S_H, MASK_FCVT_S_H)
DECLARE_INSN(fcvt_s_l, MATCH_FCVT_S_L, MASK_FCVT_S_L)
DECLARE_INSN(fcvt_s_lu, MATCH_FCVT_S_LU, MASK_FCVT_S_LU)
DECLARE_INSN(fcvt_s_q, MATCH_FCVT_S_Q, MASK_FCVT_S_Q)
DECLARE_INSN(fcvt_s_w, MATCH_FCVT_S_W, MASK_FCVT_S_W)
DECLARE_INSN(fcvt_s_wu, MATCH_FCVT_S_WU, MASK_FCVT_S_WU)
DECLARE_INSN(fcvt_w_d, MATCH_FCVT_W_D, MASK_FCVT_W_D)
DECLARE_INSN(fcvt_w_h, MATCH_FCVT_W_H, MASK_FCVT_W_H)
DECLARE_INSN(fcvt_w_q, MATCH_FCVT_W_Q, MASK_FCVT_W_Q)
DECLARE_INSN(fcvt_w_s, MATCH_FCVT_W_S, MASK_FCVT_W_S)
DECLARE_INSN(fcvt_wu_d, MATCH_FCVT_WU_D, MASK_FCVT_WU_D)
DECLARE_INSN(fcvt_wu_h, MATCH_FCVT_WU_H, MASK_FCVT_WU_H)
DECLARE_INSN(fcvt_wu_q, MATCH_FCVT_WU_Q, MASK_FCVT_WU_Q)
DECLARE_INSN(fcvt_wu_s, MATCH_FCVT_WU_S, MASK_FCVT_WU_S)
DECLARE_INSN(fcvtmod_w_d, MATCH_FCVTMOD_W_D, MASK_FCVTMOD_W_D)
DECLARE_INSN(fdiv_d, MATCH_FDIV_D, MASK_FDIV_D)
DECLARE_INSN(fdiv_h, MATCH_FDIV_H, MASK_FDIV_H)
DECLARE_INSN(fdiv_q, MATCH_FDIV_Q, MASK_FDIV_Q)
DECLARE_INSN(fdiv_s, MATCH_FDIV_S, MASK_FDIV_S)
DECLARE_INSN(flush_data, MATCH_FLUSH_DATA, MASK_FLUSH_DATA)
DECLARE_INSN(fence, MATCH_FENCE, MASK_FENCE)
DECLARE_INSN(fence_i, MATCH_FENCE_I, MASK_FENCE_I)
DECLARE_INSN(feq_d, MATCH_FEQ_D, MASK_FEQ_D)
DECLARE_INSN(feq_h, MATCH_FEQ_H, MASK_FEQ_H)
DECLARE_INSN(feq_q, MATCH_FEQ_Q, MASK_FEQ_Q)
DECLARE_INSN(feq_s, MATCH_FEQ_S, MASK_FEQ_S)
DECLARE_INSN(fld, MATCH_FLD, MASK_FLD)
DECLARE_INSN(fle_d, MATCH_FLE_D, MASK_FLE_D)
DECLARE_INSN(fle_h, MATCH_FLE_H, MASK_FLE_H)
DECLARE_INSN(fle_q, MATCH_FLE_Q, MASK_FLE_Q)
DECLARE_INSN(fle_s, MATCH_FLE_S, MASK_FLE_S)
DECLARE_INSN(fleq_d, MATCH_FLEQ_D, MASK_FLEQ_D)
DECLARE_INSN(fleq_h, MATCH_FLEQ_H, MASK_FLEQ_H)
DECLARE_INSN(fleq_q, MATCH_FLEQ_Q, MASK_FLEQ_Q)
DECLARE_INSN(fleq_s, MATCH_FLEQ_S, MASK_FLEQ_S)
DECLARE_INSN(flh, MATCH_FLH, MASK_FLH)
DECLARE_INSN(fli_d, MATCH_FLI_D, MASK_FLI_D)
DECLARE_INSN(fli_h, MATCH_FLI_H, MASK_FLI_H)
DECLARE_INSN(fli_q, MATCH_FLI_Q, MASK_FLI_Q)
DECLARE_INSN(fli_s, MATCH_FLI_S, MASK_FLI_S)
DECLARE_INSN(flq, MATCH_FLQ, MASK_FLQ)
DECLARE_INSN(flt_d, MATCH_FLT_D, MASK_FLT_D)
DECLARE_INSN(flt_h, MATCH_FLT_H, MASK_FLT_H)
DECLARE_INSN(flt_q, MATCH_FLT_Q, MASK_FLT_Q)
DECLARE_INSN(flt_s, MATCH_FLT_S, MASK_FLT_S)
DECLARE_INSN(fltq_d, MATCH_FLTQ_D, MASK_FLTQ_D)
DECLARE_INSN(fltq_h, MATCH_FLTQ_H, MASK_FLTQ_H)
DECLARE_INSN(fltq_q, MATCH_FLTQ_Q, MASK_FLTQ_Q)
DECLARE_INSN(fltq_s, MATCH_FLTQ_S, MASK_FLTQ_S)
DECLARE_INSN(flw, MATCH_FLW, MASK_FLW)
DECLARE_INSN(fmadd_d, MATCH_FMADD_D, MASK_FMADD_D)
DECLARE_INSN(fmadd_h, MATCH_FMADD_H, MASK_FMADD_H)
DECLARE_INSN(fmadd_q, MATCH_FMADD_Q, MASK_FMADD_Q)
DECLARE_INSN(fmadd_s, MATCH_FMADD_S, MASK_FMADD_S)
DECLARE_INSN(fmax_d, MATCH_FMAX_D, MASK_FMAX_D)
DECLARE_INSN(fmax_h, MATCH_FMAX_H, MASK_FMAX_H)
DECLARE_INSN(fmax_q, MATCH_FMAX_Q, MASK_FMAX_Q)
DECLARE_INSN(fmax_s, MATCH_FMAX_S, MASK_FMAX_S)
DECLARE_INSN(fmaxm_d, MATCH_FMAXM_D, MASK_FMAXM_D)
DECLARE_INSN(fmaxm_h, MATCH_FMAXM_H, MASK_FMAXM_H)
DECLARE_INSN(fmaxm_q, MATCH_FMAXM_Q, MASK_FMAXM_Q)
DECLARE_INSN(fmaxm_s, MATCH_FMAXM_S, MASK_FMAXM_S)
DECLARE_INSN(fmin_d, MATCH_FMIN_D, MASK_FMIN_D)
DECLARE_INSN(fmin_h, MATCH_FMIN_H, MASK_FMIN_H)
DECLARE_INSN(fmin_q, MATCH_FMIN_Q, MASK_FMIN_Q)
DECLARE_INSN(fmin_s, MATCH_FMIN_S, MASK_FMIN_S)
DECLARE_INSN(fminm_d, MATCH_FMINM_D, MASK_FMINM_D)
DECLARE_INSN(fminm_h, MATCH_FMINM_H, MASK_FMINM_H)
DECLARE_INSN(fminm_q, MATCH_FMINM_Q, MASK_FMINM_Q)
DECLARE_INSN(fminm_s, MATCH_FMINM_S, MASK_FMINM_S)
DECLARE_INSN(fmsub_d, MATCH_FMSUB_D, MASK_FMSUB_D)
DECLARE_INSN(fmsub_h, MATCH_FMSUB_H, MASK_FMSUB_H)
DECLARE_INSN(fmsub_q, MATCH_FMSUB_Q, MASK_FMSUB_Q)
DECLARE_INSN(fmsub_s, MATCH_FMSUB_S, MASK_FMSUB_S)
DECLARE_INSN(fmul_d, MATCH_FMUL_D, MASK_FMUL_D)
DECLARE_INSN(fmul_h, MATCH_FMUL_H, MASK_FMUL_H)
DECLARE_INSN(fmul_q, MATCH_FMUL_Q, MASK_FMUL_Q)
DECLARE_INSN(fmul_s, MATCH_FMUL_S, MASK_FMUL_S)
DECLARE_INSN(fmv_d_x, MATCH_FMV_D_X, MASK_FMV_D_X)
DECLARE_INSN(fmv_h_x, MATCH_FMV_H_X, MASK_FMV_H_X)
DECLARE_INSN(fmv_w_x, MATCH_FMV_W_X, MASK_FMV_W_X)
DECLARE_INSN(fmv_x_d, MATCH_FMV_X_D, MASK_FMV_X_D)
DECLARE_INSN(fmv_x_h, MATCH_FMV_X_H, MASK_FMV_X_H)
DECLARE_INSN(fmv_x_w, MATCH_FMV_X_W, MASK_FMV_X_W)
DECLARE_INSN(fmvh_x_d, MATCH_FMVH_X_D, MASK_FMVH_X_D)
DECLARE_INSN(fmvh_x_q, MATCH_FMVH_X_Q, MASK_FMVH_X_Q)
DECLARE_INSN(fmvp_d_x, MATCH_FMVP_D_X, MASK_FMVP_D_X)
DECLARE_INSN(fmvp_q_x, MATCH_FMVP_Q_X, MASK_FMVP_Q_X)
DECLARE_INSN(fnmadd_d, MATCH_FNMADD_D, MASK_FNMADD_D)
DECLARE_INSN(fnmadd_h, MATCH_FNMADD_H, MASK_FNMADD_H)
DECLARE_INSN(fnmadd_q, MATCH_FNMADD_Q, MASK_FNMADD_Q)
DECLARE_INSN(fnmadd_s, MATCH_FNMADD_S, MASK_FNMADD_S)
DECLARE_INSN(fnmsub_d, MATCH_FNMSUB_D, MASK_FNMSUB_D)
DECLARE_INSN(fnmsub_h, MATCH_FNMSUB_H, MASK_FNMSUB_H)
DECLARE_INSN(fnmsub_q, MATCH_FNMSUB_Q, MASK_FNMSUB_Q)
DECLARE_INSN(fnmsub_s, MATCH_FNMSUB_S, MASK_FNMSUB_S)
DECLARE_INSN(fround_d, MATCH_FROUND_D, MASK_FROUND_D)
DECLARE_INSN(fround_h, MATCH_FROUND_H, MASK_FROUND_H)
DECLARE_INSN(fround_q, MATCH_FROUND_Q, MASK_FROUND_Q)
DECLARE_INSN(fround_s, MATCH_FROUND_S, MASK_FROUND_S)
DECLARE_INSN(froundnx_d, MATCH_FROUNDNX_D, MASK_FROUNDNX_D)
DECLARE_INSN(froundnx_h, MATCH_FROUNDNX_H, MASK_FROUNDNX_H)
DECLARE_INSN(froundnx_q, MATCH_FROUNDNX_Q, MASK_FROUNDNX_Q)
DECLARE_INSN(froundnx_s, MATCH_FROUNDNX_S, MASK_FROUNDNX_S)
DECLARE_INSN(fsd, MATCH_FSD, MASK_FSD)
DECLARE_INSN(fsgnj_d, MATCH_FSGNJ_D, MASK_FSGNJ_D)
DECLARE_INSN(fsgnj_h, MATCH_FSGNJ_H, MASK_FSGNJ_H)
DECLARE_INSN(fsgnj_q, MATCH_FSGNJ_Q, MASK_FSGNJ_Q)
DECLARE_INSN(fsgnj_s, MATCH_FSGNJ_S, MASK_FSGNJ_S)
DECLARE_INSN(fsgnjn_d, MATCH_FSGNJN_D, MASK_FSGNJN_D)
DECLARE_INSN(fsgnjn_h, MATCH_FSGNJN_H, MASK_FSGNJN_H)
DECLARE_INSN(fsgnjn_q, MATCH_FSGNJN_Q, MASK_FSGNJN_Q)
DECLARE_INSN(fsgnjn_s, MATCH_FSGNJN_S, MASK_FSGNJN_S)
DECLARE_INSN(fsgnjx_d, MATCH_FSGNJX_D, MASK_FSGNJX_D)
DECLARE_INSN(fsgnjx_h, MATCH_FSGNJX_H, MASK_FSGNJX_H)
DECLARE_INSN(fsgnjx_q, MATCH_FSGNJX_Q, MASK_FSGNJX_Q)
DECLARE_INSN(fsgnjx_s, MATCH_FSGNJX_S, MASK_FSGNJX_S)
DECLARE_INSN(fsh, MATCH_FSH, MASK_FSH)
DECLARE_INSN(fsq, MATCH_FSQ, MASK_FSQ)
DECLARE_INSN(fsqrt_d, MATCH_FSQRT_D, MASK_FSQRT_D)
DECLARE_INSN(fsqrt_h, MATCH_FSQRT_H, MASK_FSQRT_H)
DECLARE_INSN(fsqrt_q, MATCH_FSQRT_Q, MASK_FSQRT_Q)
DECLARE_INSN(fsqrt_s, MATCH_FSQRT_S, MASK_FSQRT_S)
DECLARE_INSN(fsub_d, MATCH_FSUB_D, MASK_FSUB_D)
DECLARE_INSN(fsub_h, MATCH_FSUB_H, MASK_FSUB_H)
DECLARE_INSN(fsub_q, MATCH_FSUB_Q, MASK_FSUB_Q)
DECLARE_INSN(fsub_s, MATCH_FSUB_S, MASK_FSUB_S)
DECLARE_INSN(fsw, MATCH_FSW, MASK_FSW)
DECLARE_INSN(hfence_gvma, MATCH_HFENCE_GVMA, MASK_HFENCE_GVMA)
DECLARE_INSN(hfence_vvma, MATCH_HFENCE_VVMA, MASK_HFENCE_VVMA)
DECLARE_INSN(hinval_gvma, MATCH_HINVAL_GVMA, MASK_HINVAL_GVMA)
DECLARE_INSN(hinval_vvma, MATCH_HINVAL_VVMA, MASK_HINVAL_VVMA)
DECLARE_INSN(hlv_b, MATCH_HLV_B, MASK_HLV_B)
DECLARE_INSN(hlv_bu, MATCH_HLV_BU, MASK_HLV_BU)
DECLARE_INSN(hlv_d, MATCH_HLV_D, MASK_HLV_D)
DECLARE_INSN(hlv_h, MATCH_HLV_H, MASK_HLV_H)
DECLARE_INSN(hlv_hu, MATCH_HLV_HU, MASK_HLV_HU)
DECLARE_INSN(hlv_w, MATCH_HLV_W, MASK_HLV_W)
DECLARE_INSN(hlv_wu, MATCH_HLV_WU, MASK_HLV_WU)
DECLARE_INSN(hlvx_hu, MATCH_HLVX_HU, MASK_HLVX_HU)
DECLARE_INSN(hlvx_wu, MATCH_HLVX_WU, MASK_HLVX_WU)
DECLARE_INSN(hsv_b, MATCH_HSV_B, MASK_HSV_B)
DECLARE_INSN(hsv_d, MATCH_HSV_D, MASK_HSV_D)
DECLARE_INSN(hsv_h, MATCH_HSV_H, MASK_HSV_H)
DECLARE_INSN(hsv_w, MATCH_HSV_W, MASK_HSV_W)
DECLARE_INSN(jal, MATCH_JAL, MASK_JAL)
DECLARE_INSN(jalr, MATCH_JALR, MASK_JALR)
DECLARE_INSN(lb, MATCH_LB, MASK_LB)
DECLARE_INSN(lb_aq, MATCH_LB_AQ, MASK_LB_AQ)
DECLARE_INSN(lbu, MATCH_LBU, MASK_LBU)
DECLARE_INSN(ld, MATCH_LD, MASK_LD)
DECLARE_INSN(ld_aq, MATCH_LD_AQ, MASK_LD_AQ)
DECLARE_INSN(lh, MATCH_LH, MASK_LH)
DECLARE_INSN(lh_aq, MATCH_LH_AQ, MASK_LH_AQ)
DECLARE_INSN(lhu, MATCH_LHU, MASK_LHU)
DECLARE_INSN(lpad, MATCH_LPAD, MASK_LPAD)
DECLARE_INSN(lr_d, MATCH_LR_D, MASK_LR_D)
DECLARE_INSN(lr_w, MATCH_LR_W, MASK_LR_W)
DECLARE_INSN(lui, MATCH_LUI, MASK_LUI)
DECLARE_INSN(lw, MATCH_LW, MASK_LW)
DECLARE_INSN(lw_aq, MATCH_LW_AQ, MASK_LW_AQ)
DECLARE_INSN(lwu, MATCH_LWU, MASK_LWU)
DECLARE_INSN(macc_h00, MATCH_MACC_H00, MASK_MACC_H00)
DECLARE_INSN(macc_h01, MATCH_MACC_H01, MASK_MACC_H01)
DECLARE_INSN(macc_h11, MATCH_MACC_H11, MASK_MACC_H11)
DECLARE_INSN(macc_w00, MATCH_MACC_W00, MASK_MACC_W00)
DECLARE_INSN(macc_w01, MATCH_MACC_W01, MASK_MACC_W01)
DECLARE_INSN(macc_w11, MATCH_MACC_W11, MASK_MACC_W11)
DECLARE_INSN(maccsu_h00, MATCH_MACCSU_H00, MASK_MACCSU_H00)
DECLARE_INSN(maccsu_h11, MATCH_MACCSU_H11, MASK_MACCSU_H11)
DECLARE_INSN(maccsu_w00, MATCH_MACCSU_W00, MASK_MACCSU_W00)
DECLARE_INSN(maccsu_w11, MATCH_MACCSU_W11, MASK_MACCSU_W11)
DECLARE_INSN(maccu_h00, MATCH_MACCU_H00, MASK_MACCU_H00)
DECLARE_INSN(maccu_h01, MATCH_MACCU_H01, MASK_MACCU_H01)
DECLARE_INSN(maccu_h11, MATCH_MACCU_H11, MASK_MACCU_H11)
DECLARE_INSN(maccu_w00, MATCH_MACCU_W00, MASK_MACCU_W00)
DECLARE_INSN(maccu_w01, MATCH_MACCU_W01, MASK_MACCU_W01)
DECLARE_INSN(maccu_w11, MATCH_MACCU_W11, MASK_MACCU_W11)
DECLARE_INSN(max, MATCH_MAX, MASK_MAX)
DECLARE_INSN(maxu, MATCH_MAXU, MASK_MAXU)
DECLARE_INSN(merge, MATCH_MERGE, MASK_MERGE)
DECLARE_INSN(mhacc, MATCH_MHACC, MASK_MHACC)
DECLARE_INSN(mhacc_h0, MATCH_MHACC_H0, MASK_MHACC_H0)
DECLARE_INSN(mhacc_h1, MATCH_MHACC_H1, MASK_MHACC_H1)
DECLARE_INSN(mhaccsu, MATCH_MHACCSU, MASK_MHACCSU)
DECLARE_INSN(mhaccsu_h0, MATCH_MHACCSU_H0, MASK_MHACCSU_H0)
DECLARE_INSN(mhaccsu_h1, MATCH_MHACCSU_H1, MASK_MHACCSU_H1)
DECLARE_INSN(mhaccu, MATCH_MHACCU, MASK_MHACCU)
DECLARE_INSN(mhracc, MATCH_MHRACC, MASK_MHRACC)
DECLARE_INSN(mhraccsu, MATCH_MHRACCSU, MASK_MHRACCSU)
DECLARE_INSN(mhraccu, MATCH_MHRACCU, MASK_MHRACCU)
DECLARE_INSN(min, MATCH_MIN, MASK_MIN)
DECLARE_INSN(minu, MATCH_MINU, MASK_MINU)
DECLARE_INSN(mnret, MATCH_MNRET, MASK_MNRET)
DECLARE_INSN(mop_r_0, MATCH_MOP_R_0, MASK_MOP_R_0)
DECLARE_INSN(mop_r_1, MATCH_MOP_R_1, MASK_MOP_R_1)
DECLARE_INSN(mop_r_10, MATCH_MOP_R_10, MASK_MOP_R_10)
DECLARE_INSN(mop_r_11, MATCH_MOP_R_11, MASK_MOP_R_11)
DECLARE_INSN(mop_r_12, MATCH_MOP_R_12, MASK_MOP_R_12)
DECLARE_INSN(mop_r_13, MATCH_MOP_R_13, MASK_MOP_R_13)
DECLARE_INSN(mop_r_14, MATCH_MOP_R_14, MASK_MOP_R_14)
DECLARE_INSN(mop_r_15, MATCH_MOP_R_15, MASK_MOP_R_15)
DECLARE_INSN(mop_r_16, MATCH_MOP_R_16, MASK_MOP_R_16)
DECLARE_INSN(mop_r_17, MATCH_MOP_R_17, MASK_MOP_R_17)
DECLARE_INSN(mop_r_18, MATCH_MOP_R_18, MASK_MOP_R_18)
DECLARE_INSN(mop_r_19, MATCH_MOP_R_19, MASK_MOP_R_19)
DECLARE_INSN(mop_r_2, MATCH_MOP_R_2, MASK_MOP_R_2)
DECLARE_INSN(mop_r_20, MATCH_MOP_R_20, MASK_MOP_R_20)
DECLARE_INSN(mop_r_21, MATCH_MOP_R_21, MASK_MOP_R_21)
DECLARE_INSN(mop_r_22, MATCH_MOP_R_22, MASK_MOP_R_22)
DECLARE_INSN(mop_r_23, MATCH_MOP_R_23, MASK_MOP_R_23)
DECLARE_INSN(mop_r_24, MATCH_MOP_R_24, MASK_MOP_R_24)
DECLARE_INSN(mop_r_25, MATCH_MOP_R_25, MASK_MOP_R_25)
DECLARE_INSN(mop_r_26, MATCH_MOP_R_26, MASK_MOP_R_26)
DECLARE_INSN(mop_r_27, MATCH_MOP_R_27, MASK_MOP_R_27)
DECLARE_INSN(mop_r_28, MATCH_MOP_R_28, MASK_MOP_R_28)
DECLARE_INSN(mop_r_29, MATCH_MOP_R_29, MASK_MOP_R_29)
DECLARE_INSN(mop_r_3, MATCH_MOP_R_3, MASK_MOP_R_3)
DECLARE_INSN(mop_r_30, MATCH_MOP_R_30, MASK_MOP_R_30)
DECLARE_INSN(mop_r_31, MATCH_MOP_R_31, MASK_MOP_R_31)
DECLARE_INSN(mop_r_4, MATCH_MOP_R_4, MASK_MOP_R_4)
DECLARE_INSN(mop_r_5, MATCH_MOP_R_5, MASK_MOP_R_5)
DECLARE_INSN(mop_r_6, MATCH_MOP_R_6, MASK_MOP_R_6)
DECLARE_INSN(mop_r_7, MATCH_MOP_R_7, MASK_MOP_R_7)
DECLARE_INSN(mop_r_8, MATCH_MOP_R_8, MASK_MOP_R_8)
DECLARE_INSN(mop_r_9, MATCH_MOP_R_9, MASK_MOP_R_9)
DECLARE_INSN(mop_r_N, MATCH_MOP_R_N, MASK_MOP_R_N)
DECLARE_INSN(mop_rr_0, MATCH_MOP_RR_0, MASK_MOP_RR_0)
DECLARE_INSN(mop_rr_1, MATCH_MOP_RR_1, MASK_MOP_RR_1)
DECLARE_INSN(mop_rr_2, MATCH_MOP_RR_2, MASK_MOP_RR_2)
DECLARE_INSN(mop_rr_3, MATCH_MOP_RR_3, MASK_MOP_RR_3)
DECLARE_INSN(mop_rr_4, MATCH_MOP_RR_4, MASK_MOP_RR_4)
DECLARE_INSN(mop_rr_5, MATCH_MOP_RR_5, MASK_MOP_RR_5)
DECLARE_INSN(mop_rr_6, MATCH_MOP_RR_6, MASK_MOP_RR_6)
DECLARE_INSN(mop_rr_7, MATCH_MOP_RR_7, MASK_MOP_RR_7)
DECLARE_INSN(mop_rr_N, MATCH_MOP_RR_N, MASK_MOP_RR_N)
DECLARE_INSN(mqacc_h00, MATCH_MQACC_H00, MASK_MQACC_H00)
DECLARE_INSN(mqacc_h01, MATCH_MQACC_H01, MASK_MQACC_H01)
DECLARE_INSN(mqacc_h11, MATCH_MQACC_H11, MASK_MQACC_H11)
DECLARE_INSN(mqacc_w00, MATCH_MQACC_W00, MASK_MQACC_W00)
DECLARE_INSN(mqacc_w01, MATCH_MQACC_W01, MASK_MQACC_W01)
DECLARE_INSN(mqacc_w11, MATCH_MQACC_W11, MASK_MQACC_W11)
DECLARE_INSN(mqracc_h00, MATCH_MQRACC_H00, MASK_MQRACC_H00)
DECLARE_INSN(mqracc_h01, MATCH_MQRACC_H01, MASK_MQRACC_H01)
DECLARE_INSN(mqracc_h11, MATCH_MQRACC_H11, MASK_MQRACC_H11)
DECLARE_INSN(mqracc_w00, MATCH_MQRACC_W00, MASK_MQRACC_W00)
DECLARE_INSN(mqracc_w01, MATCH_MQRACC_W01, MASK_MQRACC_W01)
DECLARE_INSN(mqracc_w11, MATCH_MQRACC_W11, MASK_MQRACC_W11)
DECLARE_INSN(mqrwacc, MATCH_MQRWACC, MASK_MQRWACC)
DECLARE_INSN(mqwacc, MATCH_MQWACC, MASK_MQWACC)
DECLARE_INSN(mret, MATCH_MRET, MASK_MRET)
DECLARE_INSN(mseq, MATCH_MSEQ, MASK_MSEQ)
DECLARE_INSN(mslt, MATCH_MSLT, MASK_MSLT)
DECLARE_INSN(msltu, MATCH_MSLTU, MASK_MSLTU)
DECLARE_INSN(mul, MATCH_MUL, MASK_MUL)
DECLARE_INSN(mul_h00, MATCH_MUL_H00, MASK_MUL_H00)
DECLARE_INSN(mul_h01, MATCH_MUL_H01, MASK_MUL_H01)
DECLARE_INSN(mul_h11, MATCH_MUL_H11, MASK_MUL_H11)
DECLARE_INSN(mul_w00, MATCH_MUL_W00, MASK_MUL_W00)
DECLARE_INSN(mul_w01, MATCH_MUL_W01, MASK_MUL_W01)
DECLARE_INSN(mul_w11, MATCH_MUL_W11, MASK_MUL_W11)
DECLARE_INSN(mulh, MATCH_MULH, MASK_MULH)
DECLARE_INSN(mulh_h0, MATCH_MULH_H0, MASK_MULH_H0)
DECLARE_INSN(mulh_h1, MATCH_MULH_H1, MASK_MULH_H1)
DECLARE_INSN(mulhr, MATCH_MULHR, MASK_MULHR)
DECLARE_INSN(mulhrsu, MATCH_MULHRSU, MASK_MULHRSU)
DECLARE_INSN(mulhru, MATCH_MULHRU, MASK_MULHRU)
DECLARE_INSN(mulhsu, MATCH_MULHSU, MASK_MULHSU)
DECLARE_INSN(mulhsu_h0, MATCH_MULHSU_H0, MASK_MULHSU_H0)
DECLARE_INSN(mulhsu_h1, MATCH_MULHSU_H1, MASK_MULHSU_H1)
DECLARE_INSN(mulhu, MATCH_MULHU, MASK_MULHU)
DECLARE_INSN(mulq, MATCH_MULQ, MASK_MULQ)
DECLARE_INSN(mulqr, MATCH_MULQR, MASK_MULQR)
DECLARE_INSN(mulsu_h00, MATCH_MULSU_H00, MASK_MULSU_H00)
DECLARE_INSN(mulsu_h11, MATCH_MULSU_H11, MASK_MULSU_H11)
DECLARE_INSN(mulsu_w00, MATCH_MULSU_W00, MASK_MULSU_W00)
DECLARE_INSN(mulsu_w11, MATCH_MULSU_W11, MASK_MULSU_W11)
DECLARE_INSN(mulu_h00, MATCH_MULU_H00, MASK_MULU_H00)
DECLARE_INSN(mulu_h01, MATCH_MULU_H01, MASK_MULU_H01)
DECLARE_INSN(mulu_h11, MATCH_MULU_H11, MASK_MULU_H11)
DECLARE_INSN(mulu_w00, MATCH_MULU_W00, MASK_MULU_W00)
DECLARE_INSN(mulu_w01, MATCH_MULU_W01, MASK_MULU_W01)
DECLARE_INSN(mulu_w11, MATCH_MULU_W11, MASK_MULU_W11)
DECLARE_INSN(mulw, MATCH_MULW, MASK_MULW)
DECLARE_INSN(mvm, MATCH_MVM, MASK_MVM)
DECLARE_INSN(mvmn, MATCH_MVMN, MASK_MVMN)
DECLARE_INSN(nclip, MATCH_NCLIP, MASK_NCLIP)
DECLARE_INSN(nclipi, MATCH_NCLIPI, MASK_NCLIPI)
DECLARE_INSN(nclipiu, MATCH_NCLIPIU, MASK_NCLIPIU)
DECLARE_INSN(nclipr, MATCH_NCLIPR, MASK_NCLIPR)
DECLARE_INSN(nclipri, MATCH_NCLIPRI, MASK_NCLIPRI)
DECLARE_INSN(nclipriu, MATCH_NCLIPRIU, MASK_NCLIPRIU)
DECLARE_INSN(nclipru, MATCH_NCLIPRU, MASK_NCLIPRU)
DECLARE_INSN(nclipu, MATCH_NCLIPU, MASK_NCLIPU)
DECLARE_INSN(nsra, MATCH_NSRA, MASK_NSRA)
DECLARE_INSN(nsrai, MATCH_NSRAI, MASK_NSRAI)
DECLARE_INSN(nsrar, MATCH_NSRAR, MASK_NSRAR)
DECLARE_INSN(nsrari, MATCH_NSRARI, MASK_NSRARI)
DECLARE_INSN(nsrl, MATCH_NSRL, MASK_NSRL)
DECLARE_INSN(nsrli, MATCH_NSRLI, MASK_NSRLI)
DECLARE_INSN(or, MATCH_OR, MASK_OR)
DECLARE_INSN(orc_b, MATCH_ORC_B, MASK_ORC_B)
DECLARE_INSN(ori, MATCH_ORI, MASK_ORI)
DECLARE_INSN(orn, MATCH_ORN, MASK_ORN)
DECLARE_INSN(paadd_b, MATCH_PAADD_B, MASK_PAADD_B)
DECLARE_INSN(paadd_db, MATCH_PAADD_DB, MASK_PAADD_DB)
DECLARE_INSN(paadd_dh, MATCH_PAADD_DH, MASK_PAADD_DH)
DECLARE_INSN(paadd_dw, MATCH_PAADD_DW, MASK_PAADD_DW)
DECLARE_INSN(paadd_h, MATCH_PAADD_H, MASK_PAADD_H)
DECLARE_INSN(paadd_w, MATCH_PAADD_W, MASK_PAADD_W)
DECLARE_INSN(paaddu_b, MATCH_PAADDU_B, MASK_PAADDU_B)
DECLARE_INSN(paaddu_db, MATCH_PAADDU_DB, MASK_PAADDU_DB)
DECLARE_INSN(paaddu_dh, MATCH_PAADDU_DH, MASK_PAADDU_DH)
DECLARE_INSN(paaddu_dw, MATCH_PAADDU_DW, MASK_PAADDU_DW)
DECLARE_INSN(paaddu_h, MATCH_PAADDU_H, MASK_PAADDU_H)
DECLARE_INSN(paaddu_w, MATCH_PAADDU_W, MASK_PAADDU_W)
DECLARE_INSN(paas_dhx, MATCH_PAAS_DHX, MASK_PAAS_DHX)
DECLARE_INSN(paas_hx, MATCH_PAAS_HX, MASK_PAAS_HX)
DECLARE_INSN(paas_wx, MATCH_PAAS_WX, MASK_PAAS_WX)
DECLARE_INSN(pabd_b, MATCH_PABD_B, MASK_PABD_B)
DECLARE_INSN(pabd_db, MATCH_PABD_DB, MASK_PABD_DB)
DECLARE_INSN(pabd_dh, MATCH_PABD_DH, MASK_PABD_DH)
DECLARE_INSN(pabd_h, MATCH_PABD_H, MASK_PABD_H)
DECLARE_INSN(pabdsumau_b, MATCH_PABDSUMAU_B, MASK_PABDSUMAU_B)
DECLARE_INSN(pabdsumu_b, MATCH_PABDSUMU_B, MASK_PABDSUMU_B)
DECLARE_INSN(pabdu_b, MATCH_PABDU_B, MASK_PABDU_B)
DECLARE_INSN(pabdu_db, MATCH_PABDU_DB, MASK_PABDU_DB)
DECLARE_INSN(pabdu_dh, MATCH_PABDU_DH, MASK_PABDU_DH)
DECLARE_INSN(pabdu_h, MATCH_PABDU_H, MASK_PABDU_H)
DECLARE_INSN(pack, MATCH_PACK, MASK_PACK)
DECLARE_INSN(packh, MATCH_PACKH, MASK_PACKH)
DECLARE_INSN(packw, MATCH_PACKW, MASK_PACKW)
DECLARE_INSN(padd_b, MATCH_PADD_B, MASK_PADD_B)
DECLARE_INSN(padd_bs, MATCH_PADD_BS, MASK_PADD_BS)
DECLARE_INSN(padd_db, MATCH_PADD_DB, MASK_PADD_DB)
DECLARE_INSN(padd_dbs, MATCH_PADD_DBS, MASK_PADD_DBS)
DECLARE_INSN(padd_dh, MATCH_PADD_DH, MASK_PADD_DH)
DECLARE_INSN(padd_dhs, MATCH_PADD_DHS, MASK_PADD_DHS)
DECLARE_INSN(padd_dw, MATCH_PADD_DW, MASK_PADD_DW)
DECLARE_INSN(padd_dws, MATCH_PADD_DWS, MASK_PADD_DWS)
DECLARE_INSN(padd_h, MATCH_PADD_H, MASK_PADD_H)
DECLARE_INSN(padd_hs, MATCH_PADD_HS, MASK_PADD_HS)
DECLARE_INSN(padd_w, MATCH_PADD_W, MASK_PADD_W)
DECLARE_INSN(padd_ws, MATCH_PADD_WS, MASK_PADD_WS)
DECLARE_INSN(pas_dhx, MATCH_PAS_DHX, MASK_PAS_DHX)
DECLARE_INSN(pas_hx, MATCH_PAS_HX, MASK_PAS_HX)
DECLARE_INSN(pas_wx, MATCH_PAS_WX, MASK_PAS_WX)
DECLARE_INSN(pasa_dhx, MATCH_PASA_DHX, MASK_PASA_DHX)
DECLARE_INSN(pasa_hx, MATCH_PASA_HX, MASK_PASA_HX)
DECLARE_INSN(pasa_wx, MATCH_PASA_WX, MASK_PASA_WX)
DECLARE_INSN(pasub_b, MATCH_PASUB_B, MASK_PASUB_B)
DECLARE_INSN(pasub_db, MATCH_PASUB_DB, MASK_PASUB_DB)
DECLARE_INSN(pasub_dh, MATCH_PASUB_DH, MASK_PASUB_DH)
DECLARE_INSN(pasub_dw, MATCH_PASUB_DW, MASK_PASUB_DW)
DECLARE_INSN(pasub_h, MATCH_PASUB_H, MASK_PASUB_H)
DECLARE_INSN(pasub_w, MATCH_PASUB_W, MASK_PASUB_W)
DECLARE_INSN(pasubu_b, MATCH_PASUBU_B, MASK_PASUBU_B)
DECLARE_INSN(pasubu_db, MATCH_PASUBU_DB, MASK_PASUBU_DB)
DECLARE_INSN(pasubu_dh, MATCH_PASUBU_DH, MASK_PASUBU_DH)
DECLARE_INSN(pasubu_dw, MATCH_PASUBU_DW, MASK_PASUBU_DW)
DECLARE_INSN(pasubu_h, MATCH_PASUBU_H, MASK_PASUBU_H)
DECLARE_INSN(pasubu_w, MATCH_PASUBU_W, MASK_PASUBU_W)
DECLARE_INSN(pause, MATCH_PAUSE, MASK_PAUSE)
DECLARE_INSN(pli_b, MATCH_PLI_B, MASK_PLI_B)
DECLARE_INSN(pli_db, MATCH_PLI_DB, MASK_PLI_DB)
DECLARE_INSN(pli_dh, MATCH_PLI_DH, MASK_PLI_DH)
DECLARE_INSN(pli_h, MATCH_PLI_H, MASK_PLI_H)
DECLARE_INSN(pli_w, MATCH_PLI_W, MASK_PLI_W)
DECLARE_INSN(plui_dh, MATCH_PLUI_DH, MASK_PLUI_DH)
DECLARE_INSN(plui_h, MATCH_PLUI_H, MASK_PLUI_H)
DECLARE_INSN(plui_w, MATCH_PLUI_W, MASK_PLUI_W)
DECLARE_INSN(pm2add_h, MATCH_PM2ADD_H, MASK_PM2ADD_H)
DECLARE_INSN(pm2add_hx, MATCH_PM2ADD_HX, MASK_PM2ADD_HX)
DECLARE_INSN(pm2add_w, MATCH_PM2ADD_W, MASK_PM2ADD_W)
DECLARE_INSN(pm2add_wx, MATCH_PM2ADD_WX, MASK_PM2ADD_WX)
DECLARE_INSN(pm2adda_h, MATCH_PM2ADDA_H, MASK_PM2ADDA_H)
DECLARE_INSN(pm2adda_hx, MATCH_PM2ADDA_HX, MASK_PM2ADDA_HX)
DECLARE_INSN(pm2adda_w, MATCH_PM2ADDA_W, MASK_PM2ADDA_W)
DECLARE_INSN(pm2adda_wx, MATCH_PM2ADDA_WX, MASK_PM2ADDA_WX)
DECLARE_INSN(pm2addasu_h, MATCH_PM2ADDASU_H, MASK_PM2ADDASU_H)
DECLARE_INSN(pm2addasu_w, MATCH_PM2ADDASU_W, MASK_PM2ADDASU_W)
DECLARE_INSN(pm2addau_h, MATCH_PM2ADDAU_H, MASK_PM2ADDAU_H)
DECLARE_INSN(pm2addau_w, MATCH_PM2ADDAU_W, MASK_PM2ADDAU_W)
DECLARE_INSN(pm2addsu_h, MATCH_PM2ADDSU_H, MASK_PM2ADDSU_H)
DECLARE_INSN(pm2addsu_w, MATCH_PM2ADDSU_W, MASK_PM2ADDSU_W)
DECLARE_INSN(pm2addu_h, MATCH_PM2ADDU_H, MASK_PM2ADDU_H)
DECLARE_INSN(pm2addu_w, MATCH_PM2ADDU_W, MASK_PM2ADDU_W)
DECLARE_INSN(pm2sadd_h, MATCH_PM2SADD_H, MASK_PM2SADD_H)
DECLARE_INSN(pm2sadd_hx, MATCH_PM2SADD_HX, MASK_PM2SADD_HX)
DECLARE_INSN(pm2sub_h, MATCH_PM2SUB_H, MASK_PM2SUB_H)
DECLARE_INSN(pm2sub_hx, MATCH_PM2SUB_HX, MASK_PM2SUB_HX)
DECLARE_INSN(pm2sub_w, MATCH_PM2SUB_W, MASK_PM2SUB_W)
DECLARE_INSN(pm2sub_wx, MATCH_PM2SUB_WX, MASK_PM2SUB_WX)
DECLARE_INSN(pm2suba_h, MATCH_PM2SUBA_H, MASK_PM2SUBA_H)
DECLARE_INSN(pm2suba_hx, MATCH_PM2SUBA_HX, MASK_PM2SUBA_HX)
DECLARE_INSN(pm2suba_w, MATCH_PM2SUBA_W, MASK_PM2SUBA_W)
DECLARE_INSN(pm2suba_wx, MATCH_PM2SUBA_WX, MASK_PM2SUBA_WX)
DECLARE_INSN(pm2wadd_h, MATCH_PM2WADD_H, MASK_PM2WADD_H)
DECLARE_INSN(pm2wadd_hx, MATCH_PM2WADD_HX, MASK_PM2WADD_HX)
DECLARE_INSN(pm2wadda_h, MATCH_PM2WADDA_H, MASK_PM2WADDA_H)
DECLARE_INSN(pm2wadda_hx, MATCH_PM2WADDA_HX, MASK_PM2WADDA_HX)
DECLARE_INSN(pm2waddasu_h, MATCH_PM2WADDASU_H, MASK_PM2WADDASU_H)
DECLARE_INSN(pm2waddau_h, MATCH_PM2WADDAU_H, MASK_PM2WADDAU_H)
DECLARE_INSN(pm2waddsu_h, MATCH_PM2WADDSU_H, MASK_PM2WADDSU_H)
DECLARE_INSN(pm2waddu_h, MATCH_PM2WADDU_H, MASK_PM2WADDU_H)
DECLARE_INSN(pm2wsub_h, MATCH_PM2WSUB_H, MASK_PM2WSUB_H)
DECLARE_INSN(pm2wsub_hx, MATCH_PM2WSUB_HX, MASK_PM2WSUB_HX)
DECLARE_INSN(pm2wsuba_h, MATCH_PM2WSUBA_H, MASK_PM2WSUBA_H)
DECLARE_INSN(pm2wsuba_hx, MATCH_PM2WSUBA_HX, MASK_PM2WSUBA_HX)
DECLARE_INSN(pm4add_b, MATCH_PM4ADD_B, MASK_PM4ADD_B)
DECLARE_INSN(pm4add_h, MATCH_PM4ADD_H, MASK_PM4ADD_H)
DECLARE_INSN(pm4adda_b, MATCH_PM4ADDA_B, MASK_PM4ADDA_B)
DECLARE_INSN(pm4adda_h, MATCH_PM4ADDA_H, MASK_PM4ADDA_H)
DECLARE_INSN(pm4addasu_b, MATCH_PM4ADDASU_B, MASK_PM4ADDASU_B)
DECLARE_INSN(pm4addasu_h, MATCH_PM4ADDASU_H, MASK_PM4ADDASU_H)
DECLARE_INSN(pm4addau_b, MATCH_PM4ADDAU_B, MASK_PM4ADDAU_B)
DECLARE_INSN(pm4addau_h, MATCH_PM4ADDAU_H, MASK_PM4ADDAU_H)
DECLARE_INSN(pm4addsu_b, MATCH_PM4ADDSU_B, MASK_PM4ADDSU_B)
DECLARE_INSN(pm4addsu_h, MATCH_PM4ADDSU_H, MASK_PM4ADDSU_H)
DECLARE_INSN(pm4addu_b, MATCH_PM4ADDU_B, MASK_PM4ADDU_B)
DECLARE_INSN(pm4addu_h, MATCH_PM4ADDU_H, MASK_PM4ADDU_H)
DECLARE_INSN(pmacc_w_h00, MATCH_PMACC_W_H00, MASK_PMACC_W_H00)
DECLARE_INSN(pmacc_w_h01, MATCH_PMACC_W_H01, MASK_PMACC_W_H01)
DECLARE_INSN(pmacc_w_h11, MATCH_PMACC_W_H11, MASK_PMACC_W_H11)
DECLARE_INSN(pmaccsu_w_h00, MATCH_PMACCSU_W_H00, MASK_PMACCSU_W_H00)
DECLARE_INSN(pmaccsu_w_h11, MATCH_PMACCSU_W_H11, MASK_PMACCSU_W_H11)
DECLARE_INSN(pmaccu_w_h00, MATCH_PMACCU_W_H00, MASK_PMACCU_W_H00)
DECLARE_INSN(pmaccu_w_h01, MATCH_PMACCU_W_H01, MASK_PMACCU_W_H01)
DECLARE_INSN(pmaccu_w_h11, MATCH_PMACCU_W_H11, MASK_PMACCU_W_H11)
DECLARE_INSN(pmax_b, MATCH_PMAX_B, MASK_PMAX_B)
DECLARE_INSN(pmax_db, MATCH_PMAX_DB, MASK_PMAX_DB)
DECLARE_INSN(pmax_dh, MATCH_PMAX_DH, MASK_PMAX_DH)
DECLARE_INSN(pmax_dw, MATCH_PMAX_DW, MASK_PMAX_DW)
DECLARE_INSN(pmax_h, MATCH_PMAX_H, MASK_PMAX_H)
DECLARE_INSN(pmax_w, MATCH_PMAX_W, MASK_PMAX_W)
DECLARE_INSN(pmaxu_b, MATCH_PMAXU_B, MASK_PMAXU_B)
DECLARE_INSN(pmaxu_db, MATCH_PMAXU_DB, MASK_PMAXU_DB)
DECLARE_INSN(pmaxu_dh, MATCH_PMAXU_DH, MASK_PMAXU_DH)
DECLARE_INSN(pmaxu_dw, MATCH_PMAXU_DW, MASK_PMAXU_DW)
DECLARE_INSN(pmaxu_h, MATCH_PMAXU_H, MASK_PMAXU_H)
DECLARE_INSN(pmaxu_w, MATCH_PMAXU_W, MASK_PMAXU_W)
DECLARE_INSN(pmhacc_h, MATCH_PMHACC_H, MASK_PMHACC_H)
DECLARE_INSN(pmhacc_h_b0, MATCH_PMHACC_H_B0, MASK_PMHACC_H_B0)
DECLARE_INSN(pmhacc_h_b1, MATCH_PMHACC_H_B1, MASK_PMHACC_H_B1)
DECLARE_INSN(pmhacc_w, MATCH_PMHACC_W, MASK_PMHACC_W)
DECLARE_INSN(pmhacc_w_h0, MATCH_PMHACC_W_H0, MASK_PMHACC_W_H0)
DECLARE_INSN(pmhacc_w_h1, MATCH_PMHACC_W_H1, MASK_PMHACC_W_H1)
DECLARE_INSN(pmhaccsu_h, MATCH_PMHACCSU_H, MASK_PMHACCSU_H)
DECLARE_INSN(pmhaccsu_h_b0, MATCH_PMHACCSU_H_B0, MASK_PMHACCSU_H_B0)
DECLARE_INSN(pmhaccsu_h_b1, MATCH_PMHACCSU_H_B1, MASK_PMHACCSU_H_B1)
DECLARE_INSN(pmhaccsu_w, MATCH_PMHACCSU_W, MASK_PMHACCSU_W)
DECLARE_INSN(pmhaccsu_w_h0, MATCH_PMHACCSU_W_H0, MASK_PMHACCSU_W_H0)
DECLARE_INSN(pmhaccsu_w_h1, MATCH_PMHACCSU_W_H1, MASK_PMHACCSU_W_H1)
DECLARE_INSN(pmhaccu_h, MATCH_PMHACCU_H, MASK_PMHACCU_H)
DECLARE_INSN(pmhaccu_w, MATCH_PMHACCU_W, MASK_PMHACCU_W)
DECLARE_INSN(pmhracc_h, MATCH_PMHRACC_H, MASK_PMHRACC_H)
DECLARE_INSN(pmhracc_w, MATCH_PMHRACC_W, MASK_PMHRACC_W)
DECLARE_INSN(pmhraccsu_h, MATCH_PMHRACCSU_H, MASK_PMHRACCSU_H)
DECLARE_INSN(pmhraccsu_w, MATCH_PMHRACCSU_W, MASK_PMHRACCSU_W)
DECLARE_INSN(pmhraccu_h, MATCH_PMHRACCU_H, MASK_PMHRACCU_H)
DECLARE_INSN(pmhraccu_w, MATCH_PMHRACCU_W, MASK_PMHRACCU_W)
DECLARE_INSN(pmin_b, MATCH_PMIN_B, MASK_PMIN_B)
DECLARE_INSN(pmin_db, MATCH_PMIN_DB, MASK_PMIN_DB)
DECLARE_INSN(pmin_dh, MATCH_PMIN_DH, MASK_PMIN_DH)
DECLARE_INSN(pmin_dw, MATCH_PMIN_DW, MASK_PMIN_DW)
DECLARE_INSN(pmin_h, MATCH_PMIN_H, MASK_PMIN_H)
DECLARE_INSN(pmin_w, MATCH_PMIN_W, MASK_PMIN_W)
DECLARE_INSN(pminu_b, MATCH_PMINU_B, MASK_PMINU_B)
DECLARE_INSN(pminu_db, MATCH_PMINU_DB, MASK_PMINU_DB)
DECLARE_INSN(pminu_dh, MATCH_PMINU_DH, MASK_PMINU_DH)
DECLARE_INSN(pminu_dw, MATCH_PMINU_DW, MASK_PMINU_DW)
DECLARE_INSN(pminu_h, MATCH_PMINU_H, MASK_PMINU_H)
DECLARE_INSN(pminu_w, MATCH_PMINU_W, MASK_PMINU_W)
DECLARE_INSN(pmq2add_h, MATCH_PMQ2ADD_H, MASK_PMQ2ADD_H)
DECLARE_INSN(pmq2add_w, MATCH_PMQ2ADD_W, MASK_PMQ2ADD_W)
DECLARE_INSN(pmq2adda_h, MATCH_PMQ2ADDA_H, MASK_PMQ2ADDA_H)
DECLARE_INSN(pmq2adda_w, MATCH_PMQ2ADDA_W, MASK_PMQ2ADDA_W)
DECLARE_INSN(pmqacc_w_h00, MATCH_PMQACC_W_H00, MASK_PMQACC_W_H00)
DECLARE_INSN(pmqacc_w_h01, MATCH_PMQACC_W_H01, MASK_PMQACC_W_H01)
DECLARE_INSN(pmqacc_w_h11, MATCH_PMQACC_W_H11, MASK_PMQACC_W_H11)
DECLARE_INSN(pmqr2add_h, MATCH_PMQR2ADD_H, MASK_PMQR2ADD_H)
DECLARE_INSN(pmqr2add_w, MATCH_PMQR2ADD_W, MASK_PMQR2ADD_W)
DECLARE_INSN(pmqr2adda_h, MATCH_PMQR2ADDA_H, MASK_PMQR2ADDA_H)
DECLARE_INSN(pmqr2adda_w, MATCH_PMQR2ADDA_W, MASK_PMQR2ADDA_W)
DECLARE_INSN(pmqracc_w_h00, MATCH_PMQRACC_W_H00, MASK_PMQRACC_W_H00)
DECLARE_INSN(pmqracc_w_h01, MATCH_PMQRACC_W_H01, MASK_PMQRACC_W_H01)
DECLARE_INSN(pmqracc_w_h11, MATCH_PMQRACC_W_H11, MASK_PMQRACC_W_H11)
DECLARE_INSN(pmqrwacc_h, MATCH_PMQRWACC_H, MASK_PMQRWACC_H)
DECLARE_INSN(pmqwacc_h, MATCH_PMQWACC_H, MASK_PMQWACC_H)
DECLARE_INSN(pmseq_b, MATCH_PMSEQ_B, MASK_PMSEQ_B)
DECLARE_INSN(pmseq_db, MATCH_PMSEQ_DB, MASK_PMSEQ_DB)
DECLARE_INSN(pmseq_dh, MATCH_PMSEQ_DH, MASK_PMSEQ_DH)
DECLARE_INSN(pmseq_dw, MATCH_PMSEQ_DW, MASK_PMSEQ_DW)
DECLARE_INSN(pmseq_h, MATCH_PMSEQ_H, MASK_PMSEQ_H)
DECLARE_INSN(pmseq_w, MATCH_PMSEQ_W, MASK_PMSEQ_W)
DECLARE_INSN(pmslt_b, MATCH_PMSLT_B, MASK_PMSLT_B)
DECLARE_INSN(pmslt_db, MATCH_PMSLT_DB, MASK_PMSLT_DB)
DECLARE_INSN(pmslt_dh, MATCH_PMSLT_DH, MASK_PMSLT_DH)
DECLARE_INSN(pmslt_dw, MATCH_PMSLT_DW, MASK_PMSLT_DW)
DECLARE_INSN(pmslt_h, MATCH_PMSLT_H, MASK_PMSLT_H)
DECLARE_INSN(pmslt_w, MATCH_PMSLT_W, MASK_PMSLT_W)
DECLARE_INSN(pmsltu_b, MATCH_PMSLTU_B, MASK_PMSLTU_B)
DECLARE_INSN(pmsltu_db, MATCH_PMSLTU_DB, MASK_PMSLTU_DB)
DECLARE_INSN(pmsltu_dh, MATCH_PMSLTU_DH, MASK_PMSLTU_DH)
DECLARE_INSN(pmsltu_dw, MATCH_PMSLTU_DW, MASK_PMSLTU_DW)
DECLARE_INSN(pmsltu_h, MATCH_PMSLTU_H, MASK_PMSLTU_H)
DECLARE_INSN(pmsltu_w, MATCH_PMSLTU_W, MASK_PMSLTU_W)
DECLARE_INSN(pmul_h_b00, MATCH_PMUL_H_B00, MASK_PMUL_H_B00)
DECLARE_INSN(pmul_h_b01, MATCH_PMUL_H_B01, MASK_PMUL_H_B01)
DECLARE_INSN(pmul_h_b11, MATCH_PMUL_H_B11, MASK_PMUL_H_B11)
DECLARE_INSN(pmul_w_h00, MATCH_PMUL_W_H00, MASK_PMUL_W_H00)
DECLARE_INSN(pmul_w_h01, MATCH_PMUL_W_H01, MASK_PMUL_W_H01)
DECLARE_INSN(pmul_w_h11, MATCH_PMUL_W_H11, MASK_PMUL_W_H11)
DECLARE_INSN(pmulh_h, MATCH_PMULH_H, MASK_PMULH_H)
DECLARE_INSN(pmulh_h_b0, MATCH_PMULH_H_B0, MASK_PMULH_H_B0)
DECLARE_INSN(pmulh_h_b1, MATCH_PMULH_H_B1, MASK_PMULH_H_B1)
DECLARE_INSN(pmulh_w, MATCH_PMULH_W, MASK_PMULH_W)
DECLARE_INSN(pmulh_w_h0, MATCH_PMULH_W_H0, MASK_PMULH_W_H0)
DECLARE_INSN(pmulh_w_h1, MATCH_PMULH_W_H1, MASK_PMULH_W_H1)
DECLARE_INSN(pmulhr_h, MATCH_PMULHR_H, MASK_PMULHR_H)
DECLARE_INSN(pmulhr_w, MATCH_PMULHR_W, MASK_PMULHR_W)
DECLARE_INSN(pmulhrsu_h, MATCH_PMULHRSU_H, MASK_PMULHRSU_H)
DECLARE_INSN(pmulhrsu_w, MATCH_PMULHRSU_W, MASK_PMULHRSU_W)
DECLARE_INSN(pmulhru_h, MATCH_PMULHRU_H, MASK_PMULHRU_H)
DECLARE_INSN(pmulhru_w, MATCH_PMULHRU_W, MASK_PMULHRU_W)
DECLARE_INSN(pmulhsu_h, MATCH_PMULHSU_H, MASK_PMULHSU_H)
DECLARE_INSN(pmulhsu_h_b0, MATCH_PMULHSU_H_B0, MASK_PMULHSU_H_B0)
DECLARE_INSN(pmulhsu_h_b1, MATCH_PMULHSU_H_B1, MASK_PMULHSU_H_B1)
DECLARE_INSN(pmulhsu_w, MATCH_PMULHSU_W, MASK_PMULHSU_W)
DECLARE_INSN(pmulhsu_w_h0, MATCH_PMULHSU_W_H0, MASK_PMULHSU_W_H0)
DECLARE_INSN(pmulhsu_w_h1, MATCH_PMULHSU_W_H1, MASK_PMULHSU_W_H1)
DECLARE_INSN(pmulhu_h, MATCH_PMULHU_H, MASK_PMULHU_H)
DECLARE_INSN(pmulhu_w, MATCH_PMULHU_W, MASK_PMULHU_W)
DECLARE_INSN(pmulq_h, MATCH_PMULQ_H, MASK_PMULQ_H)
DECLARE_INSN(pmulq_w, MATCH_PMULQ_W, MASK_PMULQ_W)
DECLARE_INSN(pmulqr_h, MATCH_PMULQR_H, MASK_PMULQR_H)
DECLARE_INSN(pmulqr_w, MATCH_PMULQR_W, MASK_PMULQR_W)
DECLARE_INSN(pmulsu_h_b00, MATCH_PMULSU_H_B00, MASK_PMULSU_H_B00)
DECLARE_INSN(pmulsu_h_b11, MATCH_PMULSU_H_B11, MASK_PMULSU_H_B11)
DECLARE_INSN(pmulsu_w_h00, MATCH_PMULSU_W_H00, MASK_PMULSU_W_H00)
DECLARE_INSN(pmulsu_w_h11, MATCH_PMULSU_W_H11, MASK_PMULSU_W_H11)
DECLARE_INSN(pmulu_h_b00, MATCH_PMULU_H_B00, MASK_PMULU_H_B00)
DECLARE_INSN(pmulu_h_b01, MATCH_PMULU_H_B01, MASK_PMULU_H_B01)
DECLARE_INSN(pmulu_h_b11, MATCH_PMULU_H_B11, MASK_PMULU_H_B11)
DECLARE_INSN(pmulu_w_h00, MATCH_PMULU_W_H00, MASK_PMULU_W_H00)
DECLARE_INSN(pmulu_w_h01, MATCH_PMULU_W_H01, MASK_PMULU_W_H01)
DECLARE_INSN(pmulu_w_h11, MATCH_PMULU_W_H11, MASK_PMULU_W_H11)
DECLARE_INSN(pnclip_bs, MATCH_PNCLIP_BS, MASK_PNCLIP_BS)
DECLARE_INSN(pnclip_hs, MATCH_PNCLIP_HS, MASK_PNCLIP_HS)
DECLARE_INSN(pnclipi_b, MATCH_PNCLIPI_B, MASK_PNCLIPI_B)
DECLARE_INSN(pnclipi_h, MATCH_PNCLIPI_H, MASK_PNCLIPI_H)
DECLARE_INSN(pnclipiu_b, MATCH_PNCLIPIU_B, MASK_PNCLIPIU_B)
DECLARE_INSN(pnclipiu_h, MATCH_PNCLIPIU_H, MASK_PNCLIPIU_H)
DECLARE_INSN(pnclipp_b, MATCH_PNCLIPP_B, MASK_PNCLIPP_B)
DECLARE_INSN(pnclipp_h, MATCH_PNCLIPP_H, MASK_PNCLIPP_H)
DECLARE_INSN(pnclipp_w, MATCH_PNCLIPP_W, MASK_PNCLIPP_W)
DECLARE_INSN(pnclipr_bs, MATCH_PNCLIPR_BS, MASK_PNCLIPR_BS)
DECLARE_INSN(pnclipr_hs, MATCH_PNCLIPR_HS, MASK_PNCLIPR_HS)
DECLARE_INSN(pnclipri_b, MATCH_PNCLIPRI_B, MASK_PNCLIPRI_B)
DECLARE_INSN(pnclipri_h, MATCH_PNCLIPRI_H, MASK_PNCLIPRI_H)
DECLARE_INSN(pnclipriu_b, MATCH_PNCLIPRIU_B, MASK_PNCLIPRIU_B)
DECLARE_INSN(pnclipriu_h, MATCH_PNCLIPRIU_H, MASK_PNCLIPRIU_H)
DECLARE_INSN(pnclipru_bs, MATCH_PNCLIPRU_BS, MASK_PNCLIPRU_BS)
DECLARE_INSN(pnclipru_hs, MATCH_PNCLIPRU_HS, MASK_PNCLIPRU_HS)
DECLARE_INSN(pnclipu_bs, MATCH_PNCLIPU_BS, MASK_PNCLIPU_BS)
DECLARE_INSN(pnclipu_hs, MATCH_PNCLIPU_HS, MASK_PNCLIPU_HS)
DECLARE_INSN(pnclipup_b, MATCH_PNCLIPUP_B, MASK_PNCLIPUP_B)
DECLARE_INSN(pnclipup_h, MATCH_PNCLIPUP_H, MASK_PNCLIPUP_H)
DECLARE_INSN(pnclipup_w, MATCH_PNCLIPUP_W, MASK_PNCLIPUP_W)
DECLARE_INSN(pnsra_bs, MATCH_PNSRA_BS, MASK_PNSRA_BS)
DECLARE_INSN(pnsra_hs, MATCH_PNSRA_HS, MASK_PNSRA_HS)
DECLARE_INSN(pnsrai_b, MATCH_PNSRAI_B, MASK_PNSRAI_B)
DECLARE_INSN(pnsrai_h, MATCH_PNSRAI_H, MASK_PNSRAI_H)
DECLARE_INSN(pnsrar_bs, MATCH_PNSRAR_BS, MASK_PNSRAR_BS)
DECLARE_INSN(pnsrar_hs, MATCH_PNSRAR_HS, MASK_PNSRAR_HS)
DECLARE_INSN(pnsrari_b, MATCH_PNSRARI_B, MASK_PNSRARI_B)
DECLARE_INSN(pnsrari_h, MATCH_PNSRARI_H, MASK_PNSRARI_H)
DECLARE_INSN(pnsrl_bs, MATCH_PNSRL_BS, MASK_PNSRL_BS)
DECLARE_INSN(pnsrl_hs, MATCH_PNSRL_HS, MASK_PNSRL_HS)
DECLARE_INSN(pnsrli_b, MATCH_PNSRLI_B, MASK_PNSRLI_B)
DECLARE_INSN(pnsrli_h, MATCH_PNSRLI_H, MASK_PNSRLI_H)
DECLARE_INSN(ppaire_b, MATCH_PPAIRE_B, MASK_PPAIRE_B)
DECLARE_INSN(ppaire_db, MATCH_PPAIRE_DB, MASK_PPAIRE_DB)
DECLARE_INSN(ppaire_dh, MATCH_PPAIRE_DH, MASK_PPAIRE_DH)
DECLARE_INSN(ppaire_h, MATCH_PPAIRE_H, MASK_PPAIRE_H)
DECLARE_INSN(ppaireo_b, MATCH_PPAIREO_B, MASK_PPAIREO_B)
DECLARE_INSN(ppaireo_db, MATCH_PPAIREO_DB, MASK_PPAIREO_DB)
DECLARE_INSN(ppaireo_dh, MATCH_PPAIREO_DH, MASK_PPAIREO_DH)
DECLARE_INSN(ppaireo_h, MATCH_PPAIREO_H, MASK_PPAIREO_H)
DECLARE_INSN(ppaireo_w, MATCH_PPAIREO_W, MASK_PPAIREO_W)
DECLARE_INSN(ppairo_b, MATCH_PPAIRO_B, MASK_PPAIRO_B)
DECLARE_INSN(ppairo_db, MATCH_PPAIRO_DB, MASK_PPAIRO_DB)
DECLARE_INSN(ppairo_dh, MATCH_PPAIRO_DH, MASK_PPAIRO_DH)
DECLARE_INSN(ppairo_h, MATCH_PPAIRO_H, MASK_PPAIRO_H)
DECLARE_INSN(ppairo_w, MATCH_PPAIRO_W, MASK_PPAIRO_W)
DECLARE_INSN(ppairoe_b, MATCH_PPAIROE_B, MASK_PPAIROE_B)
DECLARE_INSN(ppairoe_db, MATCH_PPAIROE_DB, MASK_PPAIROE_DB)
DECLARE_INSN(ppairoe_dh, MATCH_PPAIROE_DH, MASK_PPAIROE_DH)
DECLARE_INSN(ppairoe_h, MATCH_PPAIROE_H, MASK_PPAIROE_H)
DECLARE_INSN(ppairoe_w, MATCH_PPAIROE_W, MASK_PPAIROE_W)
DECLARE_INSN(predsum_bs, MATCH_PREDSUM_BS, MASK_PREDSUM_BS)
DECLARE_INSN(predsum_dbs, MATCH_PREDSUM_DBS, MASK_PREDSUM_DBS)
DECLARE_INSN(predsum_dhs, MATCH_PREDSUM_DHS, MASK_PREDSUM_DHS)
DECLARE_INSN(predsum_hs, MATCH_PREDSUM_HS, MASK_PREDSUM_HS)
DECLARE_INSN(predsum_ws, MATCH_PREDSUM_WS, MASK_PREDSUM_WS)
DECLARE_INSN(predsumu_bs, MATCH_PREDSUMU_BS, MASK_PREDSUMU_BS)
DECLARE_INSN(predsumu_dbs, MATCH_PREDSUMU_DBS, MASK_PREDSUMU_DBS)
DECLARE_INSN(predsumu_dhs, MATCH_PREDSUMU_DHS, MASK_PREDSUMU_DHS)
DECLARE_INSN(predsumu_hs, MATCH_PREDSUMU_HS, MASK_PREDSUMU_HS)
DECLARE_INSN(predsumu_ws, MATCH_PREDSUMU_WS, MASK_PREDSUMU_WS)
DECLARE_INSN(prefetch_i, MATCH_PREFETCH_I, MASK_PREFETCH_I)
DECLARE_INSN(prefetch_r, MATCH_PREFETCH_R, MASK_PREFETCH_R)
DECLARE_INSN(prefetch_w, MATCH_PREFETCH_W, MASK_PREFETCH_W)
DECLARE_INSN(psa_dhx, MATCH_PSA_DHX, MASK_PSA_DHX)
DECLARE_INSN(psa_hx, MATCH_PSA_HX, MASK_PSA_HX)
DECLARE_INSN(psa_wx, MATCH_PSA_WX, MASK_PSA_WX)
DECLARE_INSN(psabs_b, MATCH_PSABS_B, MASK_PSABS_B)
DECLARE_INSN(psabs_db, MATCH_PSABS_DB, MASK_PSABS_DB)
DECLARE_INSN(psabs_dh, MATCH_PSABS_DH, MASK_PSABS_DH)
DECLARE_INSN(psabs_h, MATCH_PSABS_H, MASK_PSABS_H)
DECLARE_INSN(psadd_b, MATCH_PSADD_B, MASK_PSADD_B)
DECLARE_INSN(psadd_db, MATCH_PSADD_DB, MASK_PSADD_DB)
DECLARE_INSN(psadd_dh, MATCH_PSADD_DH, MASK_PSADD_DH)
DECLARE_INSN(psadd_dw, MATCH_PSADD_DW, MASK_PSADD_DW)
DECLARE_INSN(psadd_h, MATCH_PSADD_H, MASK_PSADD_H)
DECLARE_INSN(psadd_w, MATCH_PSADD_W, MASK_PSADD_W)
DECLARE_INSN(psaddu_b, MATCH_PSADDU_B, MASK_PSADDU_B)
DECLARE_INSN(psaddu_db, MATCH_PSADDU_DB, MASK_PSADDU_DB)
DECLARE_INSN(psaddu_dh, MATCH_PSADDU_DH, MASK_PSADDU_DH)
DECLARE_INSN(psaddu_dw, MATCH_PSADDU_DW, MASK_PSADDU_DW)
DECLARE_INSN(psaddu_h, MATCH_PSADDU_H, MASK_PSADDU_H)
DECLARE_INSN(psaddu_w, MATCH_PSADDU_W, MASK_PSADDU_W)
DECLARE_INSN(psas_dhx, MATCH_PSAS_DHX, MASK_PSAS_DHX)
DECLARE_INSN(psas_hx, MATCH_PSAS_HX, MASK_PSAS_HX)
DECLARE_INSN(psas_wx, MATCH_PSAS_WX, MASK_PSAS_WX)
DECLARE_INSN(psati_dh, MATCH_PSATI_DH, MASK_PSATI_DH)
DECLARE_INSN(psati_dw, MATCH_PSATI_DW, MASK_PSATI_DW)
DECLARE_INSN(psati_h, MATCH_PSATI_H, MASK_PSATI_H)
DECLARE_INSN(psati_w, MATCH_PSATI_W, MASK_PSATI_W)
DECLARE_INSN(psext_dh_b, MATCH_PSEXT_DH_B, MASK_PSEXT_DH_B)
DECLARE_INSN(psext_dw_b, MATCH_PSEXT_DW_B, MASK_PSEXT_DW_B)
DECLARE_INSN(psext_dw_h, MATCH_PSEXT_DW_H, MASK_PSEXT_DW_H)
DECLARE_INSN(psext_h_b, MATCH_PSEXT_H_B, MASK_PSEXT_H_B)
DECLARE_INSN(psext_w_b, MATCH_PSEXT_W_B, MASK_PSEXT_W_B)
DECLARE_INSN(psext_w_h, MATCH_PSEXT_W_H, MASK_PSEXT_W_H)
DECLARE_INSN(psh1add_dh, MATCH_PSH1ADD_DH, MASK_PSH1ADD_DH)
DECLARE_INSN(psh1add_dw, MATCH_PSH1ADD_DW, MASK_PSH1ADD_DW)
DECLARE_INSN(psh1add_h, MATCH_PSH1ADD_H, MASK_PSH1ADD_H)
DECLARE_INSN(psh1add_w, MATCH_PSH1ADD_W, MASK_PSH1ADD_W)
DECLARE_INSN(psll_bs, MATCH_PSLL_BS, MASK_PSLL_BS)
DECLARE_INSN(psll_dbs, MATCH_PSLL_DBS, MASK_PSLL_DBS)
DECLARE_INSN(psll_dhs, MATCH_PSLL_DHS, MASK_PSLL_DHS)
DECLARE_INSN(psll_dws, MATCH_PSLL_DWS, MASK_PSLL_DWS)
DECLARE_INSN(psll_hs, MATCH_PSLL_HS, MASK_PSLL_HS)
DECLARE_INSN(psll_ws, MATCH_PSLL_WS, MASK_PSLL_WS)
DECLARE_INSN(pslli_b, MATCH_PSLLI_B, MASK_PSLLI_B)
DECLARE_INSN(pslli_db, MATCH_PSLLI_DB, MASK_PSLLI_DB)
DECLARE_INSN(pslli_dh, MATCH_PSLLI_DH, MASK_PSLLI_DH)
DECLARE_INSN(pslli_dw, MATCH_PSLLI_DW, MASK_PSLLI_DW)
DECLARE_INSN(pslli_h, MATCH_PSLLI_H, MASK_PSLLI_H)
DECLARE_INSN(pslli_w, MATCH_PSLLI_W, MASK_PSLLI_W)
DECLARE_INSN(psra_bs, MATCH_PSRA_BS, MASK_PSRA_BS)
DECLARE_INSN(psra_dbs, MATCH_PSRA_DBS, MASK_PSRA_DBS)
DECLARE_INSN(psra_dhs, MATCH_PSRA_DHS, MASK_PSRA_DHS)
DECLARE_INSN(psra_dws, MATCH_PSRA_DWS, MASK_PSRA_DWS)
DECLARE_INSN(psra_hs, MATCH_PSRA_HS, MASK_PSRA_HS)
DECLARE_INSN(psra_ws, MATCH_PSRA_WS, MASK_PSRA_WS)
DECLARE_INSN(psrai_b, MATCH_PSRAI_B, MASK_PSRAI_B)
DECLARE_INSN(psrai_db, MATCH_PSRAI_DB, MASK_PSRAI_DB)
DECLARE_INSN(psrai_dh, MATCH_PSRAI_DH, MASK_PSRAI_DH)
DECLARE_INSN(psrai_dw, MATCH_PSRAI_DW, MASK_PSRAI_DW)
DECLARE_INSN(psrai_h, MATCH_PSRAI_H, MASK_PSRAI_H)
DECLARE_INSN(psrai_w, MATCH_PSRAI_W, MASK_PSRAI_W)
DECLARE_INSN(psrari_dh, MATCH_PSRARI_DH, MASK_PSRARI_DH)
DECLARE_INSN(psrari_dw, MATCH_PSRARI_DW, MASK_PSRARI_DW)
DECLARE_INSN(psrari_h, MATCH_PSRARI_H, MASK_PSRARI_H)
DECLARE_INSN(psrari_w, MATCH_PSRARI_W, MASK_PSRARI_W)
DECLARE_INSN(psrl_bs, MATCH_PSRL_BS, MASK_PSRL_BS)
DECLARE_INSN(psrl_dbs, MATCH_PSRL_DBS, MASK_PSRL_DBS)
DECLARE_INSN(psrl_dhs, MATCH_PSRL_DHS, MASK_PSRL_DHS)
DECLARE_INSN(psrl_dws, MATCH_PSRL_DWS, MASK_PSRL_DWS)
DECLARE_INSN(psrl_hs, MATCH_PSRL_HS, MASK_PSRL_HS)
DECLARE_INSN(psrl_ws, MATCH_PSRL_WS, MASK_PSRL_WS)
DECLARE_INSN(psrli_b, MATCH_PSRLI_B, MASK_PSRLI_B)
DECLARE_INSN(psrli_db, MATCH_PSRLI_DB, MASK_PSRLI_DB)
DECLARE_INSN(psrli_dh, MATCH_PSRLI_DH, MASK_PSRLI_DH)
DECLARE_INSN(psrli_dw, MATCH_PSRLI_DW, MASK_PSRLI_DW)
DECLARE_INSN(psrli_h, MATCH_PSRLI_H, MASK_PSRLI_H)
DECLARE_INSN(psrli_w, MATCH_PSRLI_W, MASK_PSRLI_W)
DECLARE_INSN(pssa_dhx, MATCH_PSSA_DHX, MASK_PSSA_DHX)
DECLARE_INSN(pssa_hx, MATCH_PSSA_HX, MASK_PSSA_HX)
DECLARE_INSN(pssa_wx, MATCH_PSSA_WX, MASK_PSSA_WX)
DECLARE_INSN(pssh1sadd_dh, MATCH_PSSH1SADD_DH, MASK_PSSH1SADD_DH)
DECLARE_INSN(pssh1sadd_dw, MATCH_PSSH1SADD_DW, MASK_PSSH1SADD_DW)
DECLARE_INSN(pssh1sadd_h, MATCH_PSSH1SADD_H, MASK_PSSH1SADD_H)
DECLARE_INSN(pssh1sadd_w, MATCH_PSSH1SADD_W, MASK_PSSH1SADD_W)
DECLARE_INSN(pssha_dhs, MATCH_PSSHA_DHS, MASK_PSSHA_DHS)
DECLARE_INSN(pssha_dws, MATCH_PSSHA_DWS, MASK_PSSHA_DWS)
DECLARE_INSN(pssha_hs, MATCH_PSSHA_HS, MASK_PSSHA_HS)
DECLARE_INSN(pssha_ws, MATCH_PSSHA_WS, MASK_PSSHA_WS)
DECLARE_INSN(psshar_dhs, MATCH_PSSHAR_DHS, MASK_PSSHAR_DHS)
DECLARE_INSN(psshar_dws, MATCH_PSSHAR_DWS, MASK_PSSHAR_DWS)
DECLARE_INSN(psshar_hs, MATCH_PSSHAR_HS, MASK_PSSHAR_HS)
DECLARE_INSN(psshar_ws, MATCH_PSSHAR_WS, MASK_PSSHAR_WS)
DECLARE_INSN(psshl_dhs, MATCH_PSSHL_DHS, MASK_PSSHL_DHS)
DECLARE_INSN(psshl_dws, MATCH_PSSHL_DWS, MASK_PSSHL_DWS)
DECLARE_INSN(psshl_hs, MATCH_PSSHL_HS, MASK_PSSHL_HS)
DECLARE_INSN(psshl_ws, MATCH_PSSHL_WS, MASK_PSSHL_WS)
DECLARE_INSN(psshlr_dhs, MATCH_PSSHLR_DHS, MASK_PSSHLR_DHS)
DECLARE_INSN(psshlr_dws, MATCH_PSSHLR_DWS, MASK_PSSHLR_DWS)
DECLARE_INSN(psshlr_hs, MATCH_PSSHLR_HS, MASK_PSSHLR_HS)
DECLARE_INSN(psshlr_ws, MATCH_PSSHLR_WS, MASK_PSSHLR_WS)
DECLARE_INSN(psslai_dh, MATCH_PSSLAI_DH, MASK_PSSLAI_DH)
DECLARE_INSN(psslai_dw, MATCH_PSSLAI_DW, MASK_PSSLAI_DW)
DECLARE_INSN(psslai_h, MATCH_PSSLAI_H, MASK_PSSLAI_H)
DECLARE_INSN(psslai_w, MATCH_PSSLAI_W, MASK_PSSLAI_W)
DECLARE_INSN(pssub_b, MATCH_PSSUB_B, MASK_PSSUB_B)
DECLARE_INSN(pssub_db, MATCH_PSSUB_DB, MASK_PSSUB_DB)
DECLARE_INSN(pssub_dh, MATCH_PSSUB_DH, MASK_PSSUB_DH)
DECLARE_INSN(pssub_dw, MATCH_PSSUB_DW, MASK_PSSUB_DW)
DECLARE_INSN(pssub_h, MATCH_PSSUB_H, MASK_PSSUB_H)
DECLARE_INSN(pssub_w, MATCH_PSSUB_W, MASK_PSSUB_W)
DECLARE_INSN(pssubu_b, MATCH_PSSUBU_B, MASK_PSSUBU_B)
DECLARE_INSN(pssubu_db, MATCH_PSSUBU_DB, MASK_PSSUBU_DB)
DECLARE_INSN(pssubu_dh, MATCH_PSSUBU_DH, MASK_PSSUBU_DH)
DECLARE_INSN(pssubu_dw, MATCH_PSSUBU_DW, MASK_PSSUBU_DW)
DECLARE_INSN(pssubu_h, MATCH_PSSUBU_H, MASK_PSSUBU_H)
DECLARE_INSN(pssubu_w, MATCH_PSSUBU_W, MASK_PSSUBU_W)
DECLARE_INSN(psub_b, MATCH_PSUB_B, MASK_PSUB_B)
DECLARE_INSN(psub_db, MATCH_PSUB_DB, MASK_PSUB_DB)
DECLARE_INSN(psub_dh, MATCH_PSUB_DH, MASK_PSUB_DH)
DECLARE_INSN(psub_dw, MATCH_PSUB_DW, MASK_PSUB_DW)
DECLARE_INSN(psub_h, MATCH_PSUB_H, MASK_PSUB_H)
DECLARE_INSN(psub_w, MATCH_PSUB_W, MASK_PSUB_W)
DECLARE_INSN(pusati_dh, MATCH_PUSATI_DH, MASK_PUSATI_DH)
DECLARE_INSN(pusati_dw, MATCH_PUSATI_DW, MASK_PUSATI_DW)
DECLARE_INSN(pusati_h, MATCH_PUSATI_H, MASK_PUSATI_H)
DECLARE_INSN(pusati_w, MATCH_PUSATI_W, MASK_PUSATI_W)
DECLARE_INSN(pwadd_b, MATCH_PWADD_B, MASK_PWADD_B)
DECLARE_INSN(pwadd_h, MATCH_PWADD_H, MASK_PWADD_H)
DECLARE_INSN(pwadda_b, MATCH_PWADDA_B, MASK_PWADDA_B)
DECLARE_INSN(pwadda_h, MATCH_PWADDA_H, MASK_PWADDA_H)
DECLARE_INSN(pwaddau_b, MATCH_PWADDAU_B, MASK_PWADDAU_B)
DECLARE_INSN(pwaddau_h, MATCH_PWADDAU_H, MASK_PWADDAU_H)
DECLARE_INSN(pwaddu_b, MATCH_PWADDU_B, MASK_PWADDU_B)
DECLARE_INSN(pwaddu_h, MATCH_PWADDU_H, MASK_PWADDU_H)
DECLARE_INSN(pwmacc_h, MATCH_PWMACC_H, MASK_PWMACC_H)
DECLARE_INSN(pwmaccsu_h, MATCH_PWMACCSU_H, MASK_PWMACCSU_H)
DECLARE_INSN(pwmaccu_h, MATCH_PWMACCU_H, MASK_PWMACCU_H)
DECLARE_INSN(pwmul_b, MATCH_PWMUL_B, MASK_PWMUL_B)
DECLARE_INSN(pwmul_h, MATCH_PWMUL_H, MASK_PWMUL_H)
DECLARE_INSN(pwmulsu_b, MATCH_PWMULSU_B, MASK_PWMULSU_B)
DECLARE_INSN(pwmulsu_h, MATCH_PWMULSU_H, MASK_PWMULSU_H)
DECLARE_INSN(pwmulu_b, MATCH_PWMULU_B, MASK_PWMULU_B)
DECLARE_INSN(pwmulu_h, MATCH_PWMULU_H, MASK_PWMULU_H)
DECLARE_INSN(pwsla_bs, MATCH_PWSLA_BS, MASK_PWSLA_BS)
DECLARE_INSN(pwsla_hs, MATCH_PWSLA_HS, MASK_PWSLA_HS)
DECLARE_INSN(pwslai_b, MATCH_PWSLAI_B, MASK_PWSLAI_B)
DECLARE_INSN(pwslai_h, MATCH_PWSLAI_H, MASK_PWSLAI_H)
DECLARE_INSN(pwsll_bs, MATCH_PWSLL_BS, MASK_PWSLL_BS)
DECLARE_INSN(pwsll_hs, MATCH_PWSLL_HS, MASK_PWSLL_HS)
DECLARE_INSN(pwslli_b, MATCH_PWSLLI_B, MASK_PWSLLI_B)
DECLARE_INSN(pwslli_h, MATCH_PWSLLI_H, MASK_PWSLLI_H)
DECLARE_INSN(pwsub_b, MATCH_PWSUB_B, MASK_PWSUB_B)
DECLARE_INSN(pwsub_h, MATCH_PWSUB_H, MASK_PWSUB_H)
DECLARE_INSN(pwsuba_b, MATCH_PWSUBA_B, MASK_PWSUBA_B)
DECLARE_INSN(pwsuba_h, MATCH_PWSUBA_H, MASK_PWSUBA_H)
DECLARE_INSN(pwsubau_b, MATCH_PWSUBAU_B, MASK_PWSUBAU_B)
DECLARE_INSN(pwsubau_h, MATCH_PWSUBAU_H, MASK_PWSUBAU_H)
DECLARE_INSN(pwsubu_b, MATCH_PWSUBU_B, MASK_PWSUBU_B)
DECLARE_INSN(pwsubu_h, MATCH_PWSUBU_H, MASK_PWSUBU_H)
DECLARE_INSN(rem, MATCH_REM, MASK_REM)
DECLARE_INSN(remu, MATCH_REMU, MASK_REMU)
DECLARE_INSN(remuw, MATCH_REMUW, MASK_REMUW)
DECLARE_INSN(remw, MATCH_REMW, MASK_REMW)
DECLARE_INSN(rev, MATCH_REV, MASK_REV)
DECLARE_INSN(rev16, MATCH_REV16, MASK_REV16)
DECLARE_INSN(rev8, MATCH_REV8, MASK_REV8)
DECLARE_INSN(rev8_rv32, MATCH_REV8_RV32, MASK_REV8_RV32)
DECLARE_INSN(rev_rv32, MATCH_REV_RV32, MASK_REV_RV32)
DECLARE_INSN(rol, MATCH_ROL, MASK_ROL)
DECLARE_INSN(rolw, MATCH_ROLW, MASK_ROLW)
DECLARE_INSN(ror, MATCH_ROR, MASK_ROR)
DECLARE_INSN(rori, MATCH_RORI, MASK_RORI)
DECLARE_INSN(roriw, MATCH_RORIW, MASK_RORIW)
DECLARE_INSN(rorw, MATCH_RORW, MASK_RORW)
DECLARE_INSN(sadd, MATCH_SADD, MASK_SADD)
DECLARE_INSN(saddu, MATCH_SADDU, MASK_SADDU)
DECLARE_INSN(sati, MATCH_SATI, MASK_SATI)
DECLARE_INSN(sati_rv32, MATCH_SATI_RV32, MASK_SATI_RV32)
DECLARE_INSN(sb, MATCH_SB, MASK_SB)
DECLARE_INSN(sb_rl, MATCH_SB_RL, MASK_SB_RL)
DECLARE_INSN(sc_d, MATCH_SC_D, MASK_SC_D)
DECLARE_INSN(sc_w, MATCH_SC_W, MASK_SC_W)
DECLARE_INSN(sctrclr, MATCH_SCTRCLR, MASK_SCTRCLR)
DECLARE_INSN(sd, MATCH_SD, MASK_SD)
DECLARE_INSN(sd_rl, MATCH_SD_RL, MASK_SD_RL)
DECLARE_INSN(sext_b, MATCH_SEXT_B, MASK_SEXT_B)
DECLARE_INSN(sext_h, MATCH_SEXT_H, MASK_SEXT_H)
DECLARE_INSN(sfence_inval_ir, MATCH_SFENCE_INVAL_IR, MASK_SFENCE_INVAL_IR)
DECLARE_INSN(sfence_vma, MATCH_SFENCE_VMA, MASK_SFENCE_VMA)
DECLARE_INSN(sfence_w_inval, MATCH_SFENCE_W_INVAL, MASK_SFENCE_W_INVAL)
DECLARE_INSN(sh, MATCH_SH, MASK_SH)
DECLARE_INSN(sh1add, MATCH_SH1ADD, MASK_SH1ADD)
DECLARE_INSN(sh1add_uw, MATCH_SH1ADD_UW, MASK_SH1ADD_UW)
DECLARE_INSN(sh2add, MATCH_SH2ADD, MASK_SH2ADD)
DECLARE_INSN(sh2add_uw, MATCH_SH2ADD_UW, MASK_SH2ADD_UW)
DECLARE_INSN(sh3add, MATCH_SH3ADD, MASK_SH3ADD)
DECLARE_INSN(sh3add_uw, MATCH_SH3ADD_UW, MASK_SH3ADD_UW)
DECLARE_INSN(sh_rl, MATCH_SH_RL, MASK_SH_RL)
DECLARE_INSN(sha, MATCH_SHA, MASK_SHA)
DECLARE_INSN(sha256sig0, MATCH_SHA256SIG0, MASK_SHA256SIG0)
DECLARE_INSN(sha256sig1, MATCH_SHA256SIG1, MASK_SHA256SIG1)
DECLARE_INSN(sha256sum0, MATCH_SHA256SUM0, MASK_SHA256SUM0)
DECLARE_INSN(sha256sum1, MATCH_SHA256SUM1, MASK_SHA256SUM1)
DECLARE_INSN(sha512sig0, MATCH_SHA512SIG0, MASK_SHA512SIG0)
DECLARE_INSN(sha512sig0h, MATCH_SHA512SIG0H, MASK_SHA512SIG0H)
DECLARE_INSN(sha512sig0l, MATCH_SHA512SIG0L, MASK_SHA512SIG0L)
DECLARE_INSN(sha512sig1, MATCH_SHA512SIG1, MASK_SHA512SIG1)
DECLARE_INSN(sha512sig1h, MATCH_SHA512SIG1H, MASK_SHA512SIG1H)
DECLARE_INSN(sha512sig1l, MATCH_SHA512SIG1L, MASK_SHA512SIG1L)
DECLARE_INSN(sha512sum0, MATCH_SHA512SUM0, MASK_SHA512SUM0)
DECLARE_INSN(sha512sum0r, MATCH_SHA512SUM0R, MASK_SHA512SUM0R)
DECLARE_INSN(sha512sum1, MATCH_SHA512SUM1, MASK_SHA512SUM1)
DECLARE_INSN(sha512sum1r, MATCH_SHA512SUM1R, MASK_SHA512SUM1R)
DECLARE_INSN(shar, MATCH_SHAR, MASK_SHAR)
DECLARE_INSN(shl, MATCH_SHL, MASK_SHL)
DECLARE_INSN(shlr, MATCH_SHLR, MASK_SHLR)
DECLARE_INSN(sinval_vma, MATCH_SINVAL_VMA, MASK_SINVAL_VMA)
DECLARE_INSN(sll, MATCH_SLL, MASK_SLL)
DECLARE_INSN(slli, MATCH_SLLI, MASK_SLLI)
DECLARE_INSN(slli_rv32, MATCH_SLLI_RV32, MASK_SLLI_RV32)
DECLARE_INSN(slli_uw, MATCH_SLLI_UW, MASK_SLLI_UW)
DECLARE_INSN(slliw, MATCH_SLLIW, MASK_SLLIW)
DECLARE_INSN(sllw, MATCH_SLLW, MASK_SLLW)
DECLARE_INSN(slt, MATCH_SLT, MASK_SLT)
DECLARE_INSN(slti, MATCH_SLTI, MASK_SLTI)
DECLARE_INSN(sltiu, MATCH_SLTIU, MASK_SLTIU)
DECLARE_INSN(sltu, MATCH_SLTU, MASK_SLTU)
DECLARE_INSN(slx, MATCH_SLX, MASK_SLX)
DECLARE_INSN(sm3p0, MATCH_SM3P0, MASK_SM3P0)
DECLARE_INSN(sm3p1, MATCH_SM3P1, MASK_SM3P1)
DECLARE_INSN(sm4ed, MATCH_SM4ED, MASK_SM4ED)
DECLARE_INSN(sm4ks, MATCH_SM4KS, MASK_SM4KS)
DECLARE_INSN(sra, MATCH_SRA, MASK_SRA)
DECLARE_INSN(srai, MATCH_SRAI, MASK_SRAI)
DECLARE_INSN(srai_rv32, MATCH_SRAI_RV32, MASK_SRAI_RV32)
DECLARE_INSN(sraiw, MATCH_SRAIW, MASK_SRAIW)
DECLARE_INSN(srari, MATCH_SRARI, MASK_SRARI)
DECLARE_INSN(srari_rv32, MATCH_SRARI_RV32, MASK_SRARI_RV32)
DECLARE_INSN(sraw, MATCH_SRAW, MASK_SRAW)
DECLARE_INSN(sret, MATCH_SRET, MASK_SRET)
DECLARE_INSN(srl, MATCH_SRL, MASK_SRL)
DECLARE_INSN(srli, MATCH_SRLI, MASK_SRLI)
DECLARE_INSN(srli_rv32, MATCH_SRLI_RV32, MASK_SRLI_RV32)
DECLARE_INSN(srliw, MATCH_SRLIW, MASK_SRLIW)
DECLARE_INSN(srlw, MATCH_SRLW, MASK_SRLW)
DECLARE_INSN(srx, MATCH_SRX, MASK_SRX)
DECLARE_INSN(ssamoswap_d, MATCH_SSAMOSWAP_D, MASK_SSAMOSWAP_D)
DECLARE_INSN(ssamoswap_w, MATCH_SSAMOSWAP_W, MASK_SSAMOSWAP_W)
DECLARE_INSN(ssh1sadd, MATCH_SSH1SADD, MASK_SSH1SADD)
DECLARE_INSN(ssha, MATCH_SSHA, MASK_SSHA)
DECLARE_INSN(sshar, MATCH_SSHAR, MASK_SSHAR)
DECLARE_INSN(sshl, MATCH_SSHL, MASK_SSHL)
DECLARE_INSN(sshlr, MATCH_SSHLR, MASK_SSHLR)
DECLARE_INSN(sslai, MATCH_SSLAI, MASK_SSLAI)
DECLARE_INSN(sspopchk_x1, MATCH_SSPOPCHK_X1, MASK_SSPOPCHK_X1)
DECLARE_INSN(sspopchk_x5, MATCH_SSPOPCHK_X5, MASK_SSPOPCHK_X5)
DECLARE_INSN(sspush_x1, MATCH_SSPUSH_X1, MASK_SSPUSH_X1)
DECLARE_INSN(sspush_x5, MATCH_SSPUSH_X5, MASK_SSPUSH_X5)
DECLARE_INSN(ssrdp, MATCH_SSRDP, MASK_SSRDP)
DECLARE_INSN(ssub, MATCH_SSUB, MASK_SSUB)
DECLARE_INSN(ssubu, MATCH_SSUBU, MASK_SSUBU)
DECLARE_INSN(sub, MATCH_SUB, MASK_SUB)
DECLARE_INSN(subd, MATCH_SUBD, MASK_SUBD)
DECLARE_INSN(subw, MATCH_SUBW, MASK_SUBW)
DECLARE_INSN(sw, MATCH_SW, MASK_SW)
DECLARE_INSN(sw_rl, MATCH_SW_RL, MASK_SW_RL)
DECLARE_INSN(unzip, MATCH_UNZIP, MASK_UNZIP)
DECLARE_INSN(unzip16hp, MATCH_UNZIP16HP, MASK_UNZIP16HP)
DECLARE_INSN(unzip16p, MATCH_UNZIP16P, MASK_UNZIP16P)
DECLARE_INSN(unzip8hp, MATCH_UNZIP8HP, MASK_UNZIP8HP)
DECLARE_INSN(unzip8p, MATCH_UNZIP8P, MASK_UNZIP8P)
DECLARE_INSN(usati, MATCH_USATI, MASK_USATI)
DECLARE_INSN(usati_rv32, MATCH_USATI_RV32, MASK_USATI_RV32)
DECLARE_INSN(vaadd_vv, MATCH_VAADD_VV, MASK_VAADD_VV)
DECLARE_INSN(vaadd_vx, MATCH_VAADD_VX, MASK_VAADD_VX)
DECLARE_INSN(vaaddu_vv, MATCH_VAADDU_VV, MASK_VAADDU_VV)
DECLARE_INSN(vaaddu_vx, MATCH_VAADDU_VX, MASK_VAADDU_VX)
DECLARE_INSN(vabd_vv, MATCH_VABD_VV, MASK_VABD_VV)
DECLARE_INSN(vabdu_vv, MATCH_VABDU_VV, MASK_VABDU_VV)
DECLARE_INSN(vabs_v, MATCH_VABS_V, MASK_VABS_V)
DECLARE_INSN(vadc_vim, MATCH_VADC_VIM, MASK_VADC_VIM)
DECLARE_INSN(vadc_vvm, MATCH_VADC_VVM, MASK_VADC_VVM)
DECLARE_INSN(vadc_vxm, MATCH_VADC_VXM, MASK_VADC_VXM)
DECLARE_INSN(vadd_vi, MATCH_VADD_VI, MASK_VADD_VI)
DECLARE_INSN(vadd_vv, MATCH_VADD_VV, MASK_VADD_VV)
DECLARE_INSN(vadd_vx, MATCH_VADD_VX, MASK_VADD_VX)
DECLARE_INSN(vaesdf_vs, MATCH_VAESDF_VS, MASK_VAESDF_VS)
DECLARE_INSN(vaesdf_vv, MATCH_VAESDF_VV, MASK_VAESDF_VV)
DECLARE_INSN(vaesdm_vs, MATCH_VAESDM_VS, MASK_VAESDM_VS)
DECLARE_INSN(vaesdm_vv, MATCH_VAESDM_VV, MASK_VAESDM_VV)
DECLARE_INSN(vaesef_vs, MATCH_VAESEF_VS, MASK_VAESEF_VS)
DECLARE_INSN(vaesef_vv, MATCH_VAESEF_VV, MASK_VAESEF_VV)
DECLARE_INSN(vaesem_vs, MATCH_VAESEM_VS, MASK_VAESEM_VS)
DECLARE_INSN(vaesem_vv, MATCH_VAESEM_VV, MASK_VAESEM_VV)
DECLARE_INSN(vaeskf1_vi, MATCH_VAESKF1_VI, MASK_VAESKF1_VI)
DECLARE_INSN(vaeskf2_vi, MATCH_VAESKF2_VI, MASK_VAESKF2_VI)
DECLARE_INSN(vaesz_vs, MATCH_VAESZ_VS, MASK_VAESZ_VS)
DECLARE_INSN(vand_vi, MATCH_VAND_VI, MASK_VAND_VI)
DECLARE_INSN(vand_vv, MATCH_VAND_VV, MASK_VAND_VV)
DECLARE_INSN(vand_vx, MATCH_VAND_VX, MASK_VAND_VX)
DECLARE_INSN(vandn_vv, MATCH_VANDN_VV, MASK_VANDN_VV)
DECLARE_INSN(vandn_vx, MATCH_VANDN_VX, MASK_VANDN_VX)
DECLARE_INSN(vasub_vv, MATCH_VASUB_VV, MASK_VASUB_VV)
DECLARE_INSN(vasub_vx, MATCH_VASUB_VX, MASK_VASUB_VX)
DECLARE_INSN(vasubu_vv, MATCH_VASUBU_VV, MASK_VASUBU_VV)
DECLARE_INSN(vasubu_vx, MATCH_VASUBU_VX, MASK_VASUBU_VX)
DECLARE_INSN(vbrev8_v, MATCH_VBREV8_V, MASK_VBREV8_V)
DECLARE_INSN(vbrev_v, MATCH_VBREV_V, MASK_VBREV_V)
DECLARE_INSN(vclmul_vv, MATCH_VCLMUL_VV, MASK_VCLMUL_VV)
DECLARE_INSN(vclmul_vx, MATCH_VCLMUL_VX, MASK_VCLMUL_VX)
DECLARE_INSN(vclmulh_vv, MATCH_VCLMULH_VV, MASK_VCLMULH_VV)
DECLARE_INSN(vclmulh_vx, MATCH_VCLMULH_VX, MASK_VCLMULH_VX)
DECLARE_INSN(vclz_v, MATCH_VCLZ_V, MASK_VCLZ_V)
DECLARE_INSN(vcompress_vm, MATCH_VCOMPRESS_VM, MASK_VCOMPRESS_VM)
DECLARE_INSN(vcpop_m, MATCH_VCPOP_M, MASK_VCPOP_M)
DECLARE_INSN(vcpop_v, MATCH_VCPOP_V, MASK_VCPOP_V)
DECLARE_INSN(vctz_v, MATCH_VCTZ_V, MASK_VCTZ_V)
DECLARE_INSN(vdiv_vv, MATCH_VDIV_VV, MASK_VDIV_VV)
DECLARE_INSN(vdiv_vx, MATCH_VDIV_VX, MASK_VDIV_VX)
DECLARE_INSN(vdivu_vv, MATCH_VDIVU_VV, MASK_VDIVU_VV)
DECLARE_INSN(vdivu_vx, MATCH_VDIVU_VX, MASK_VDIVU_VX)
DECLARE_INSN(vfadd_vf, MATCH_VFADD_VF, MASK_VFADD_VF)
DECLARE_INSN(vfadd_vv, MATCH_VFADD_VV, MASK_VFADD_VV)
DECLARE_INSN(vfbdot_vv, MATCH_VFBDOT_VV, MASK_VFBDOT_VV)
DECLARE_INSN(vfclass_v, MATCH_VFCLASS_V, MASK_VFCLASS_V)
DECLARE_INSN(vfcvt_f_x_v, MATCH_VFCVT_F_X_V, MASK_VFCVT_F_X_V)
DECLARE_INSN(vfcvt_f_xu_v, MATCH_VFCVT_F_XU_V, MASK_VFCVT_F_XU_V)
DECLARE_INSN(vfcvt_rtz_x_f_v, MATCH_VFCVT_RTZ_X_F_V, MASK_VFCVT_RTZ_X_F_V)
DECLARE_INSN(vfcvt_rtz_xu_f_v, MATCH_VFCVT_RTZ_XU_F_V, MASK_VFCVT_RTZ_XU_F_V)
DECLARE_INSN(vfcvt_x_f_v, MATCH_VFCVT_X_F_V, MASK_VFCVT_X_F_V)
DECLARE_INSN(vfcvt_xu_f_v, MATCH_VFCVT_XU_F_V, MASK_VFCVT_XU_F_V)
DECLARE_INSN(vfdiv_vf, MATCH_VFDIV_VF, MASK_VFDIV_VF)
DECLARE_INSN(vfdiv_vv, MATCH_VFDIV_VV, MASK_VFDIV_VV)
DECLARE_INSN(vfext_vf2, MATCH_VFEXT_VF2, MASK_VFEXT_VF2)
DECLARE_INSN(vfirst_m, MATCH_VFIRST_M, MASK_VFIRST_M)
DECLARE_INSN(vfmacc_vf, MATCH_VFMACC_VF, MASK_VFMACC_VF)
DECLARE_INSN(vfmacc_vv, MATCH_VFMACC_VV, MASK_VFMACC_VV)
DECLARE_INSN(vfmadd_vf, MATCH_VFMADD_VF, MASK_VFMADD_VF)
DECLARE_INSN(vfmadd_vv, MATCH_VFMADD_VV, MASK_VFMADD_VV)
DECLARE_INSN(vfmax_vf, MATCH_VFMAX_VF, MASK_VFMAX_VF)
DECLARE_INSN(vfmax_vv, MATCH_VFMAX_VV, MASK_VFMAX_VV)
DECLARE_INSN(vfmerge_vfm, MATCH_VFMERGE_VFM, MASK_VFMERGE_VFM)
DECLARE_INSN(vfmin_vf, MATCH_VFMIN_VF, MASK_VFMIN_VF)
DECLARE_INSN(vfmin_vv, MATCH_VFMIN_VV, MASK_VFMIN_VV)
DECLARE_INSN(vfmsac_vf, MATCH_VFMSAC_VF, MASK_VFMSAC_VF)
DECLARE_INSN(vfmsac_vv, MATCH_VFMSAC_VV, MASK_VFMSAC_VV)
DECLARE_INSN(vfmsub_vf, MATCH_VFMSUB_VF, MASK_VFMSUB_VF)
DECLARE_INSN(vfmsub_vv, MATCH_VFMSUB_VV, MASK_VFMSUB_VV)
DECLARE_INSN(vfmul_vf, MATCH_VFMUL_VF, MASK_VFMUL_VF)
DECLARE_INSN(vfmul_vv, MATCH_VFMUL_VV, MASK_VFMUL_VV)
DECLARE_INSN(vfmv_f_s, MATCH_VFMV_F_S, MASK_VFMV_F_S)
DECLARE_INSN(vfmv_s_f, MATCH_VFMV_S_F, MASK_VFMV_S_F)
DECLARE_INSN(vfmv_v_f, MATCH_VFMV_V_F, MASK_VFMV_V_F)
DECLARE_INSN(vfncvt_f_f_q, MATCH_VFNCVT_F_F_Q, MASK_VFNCVT_F_F_Q)
DECLARE_INSN(vfncvt_f_f_w, MATCH_VFNCVT_F_F_W, MASK_VFNCVT_F_F_W)
DECLARE_INSN(vfncvt_f_x_w, MATCH_VFNCVT_F_X_W, MASK_VFNCVT_F_X_W)
DECLARE_INSN(vfncvt_f_xu_w, MATCH_VFNCVT_F_XU_W, MASK_VFNCVT_F_XU_W)
DECLARE_INSN(vfncvt_rod_f_f_w, MATCH_VFNCVT_ROD_F_F_W, MASK_VFNCVT_ROD_F_F_W)
DECLARE_INSN(vfncvt_rtz_x_f_w, MATCH_VFNCVT_RTZ_X_F_W, MASK_VFNCVT_RTZ_X_F_W)
DECLARE_INSN(vfncvt_rtz_xu_f_w, MATCH_VFNCVT_RTZ_XU_F_W, MASK_VFNCVT_RTZ_XU_F_W)
DECLARE_INSN(vfncvt_sat_f_f_q, MATCH_VFNCVT_SAT_F_F_Q, MASK_VFNCVT_SAT_F_F_Q)
DECLARE_INSN(vfncvt_x_f_w, MATCH_VFNCVT_X_F_W, MASK_VFNCVT_X_F_W)
DECLARE_INSN(vfncvt_xu_f_w, MATCH_VFNCVT_XU_F_W, MASK_VFNCVT_XU_F_W)
DECLARE_INSN(vfncvtbf16_f_f_w, MATCH_VFNCVTBF16_F_F_W, MASK_VFNCVTBF16_F_F_W)
DECLARE_INSN(vfncvtbf16_sat_f_f_w, MATCH_VFNCVTBF16_SAT_F_F_W, MASK_VFNCVTBF16_SAT_F_F_W)
DECLARE_INSN(vfnmacc_vf, MATCH_VFNMACC_VF, MASK_VFNMACC_VF)
DECLARE_INSN(vfnmacc_vv, MATCH_VFNMACC_VV, MASK_VFNMACC_VV)
DECLARE_INSN(vfnmadd_vf, MATCH_VFNMADD_VF, MASK_VFNMADD_VF)
DECLARE_INSN(vfnmadd_vv, MATCH_VFNMADD_VV, MASK_VFNMADD_VV)
DECLARE_INSN(vfnmsac_vf, MATCH_VFNMSAC_VF, MASK_VFNMSAC_VF)
DECLARE_INSN(vfnmsac_vv, MATCH_VFNMSAC_VV, MASK_VFNMSAC_VV)
DECLARE_INSN(vfnmsub_vf, MATCH_VFNMSUB_VF, MASK_VFNMSUB_VF)
DECLARE_INSN(vfnmsub_vv, MATCH_VFNMSUB_VV, MASK_VFNMSUB_VV)
DECLARE_INSN(vfqbdot_alt_vv, MATCH_VFQBDOT_ALT_VV, MASK_VFQBDOT_ALT_VV)
DECLARE_INSN(vfqbdot_vv, MATCH_VFQBDOT_VV, MASK_VFQBDOT_VV)
DECLARE_INSN(vfqldot_alt_vv, MATCH_VFQLDOT_ALT_VV, MASK_VFQLDOT_ALT_VV)
DECLARE_INSN(vfqldot_vv, MATCH_VFQLDOT_VV, MASK_VFQLDOT_VV)
DECLARE_INSN(vfrdiv_vf, MATCH_VFRDIV_VF, MASK_VFRDIV_VF)
DECLARE_INSN(vfrec7_v, MATCH_VFREC7_V, MASK_VFREC7_V)
DECLARE_INSN(vfredmax_vs, MATCH_VFREDMAX_VS, MASK_VFREDMAX_VS)
DECLARE_INSN(vfredmin_vs, MATCH_VFREDMIN_VS, MASK_VFREDMIN_VS)
DECLARE_INSN(vfredosum_vs, MATCH_VFREDOSUM_VS, MASK_VFREDOSUM_VS)
DECLARE_INSN(vfredusum_vs, MATCH_VFREDUSUM_VS, MASK_VFREDUSUM_VS)
DECLARE_INSN(vfrsqrt7_v, MATCH_VFRSQRT7_V, MASK_VFRSQRT7_V)
DECLARE_INSN(vfrsub_vf, MATCH_VFRSUB_VF, MASK_VFRSUB_VF)
DECLARE_INSN(vfsgnj_vf, MATCH_VFSGNJ_VF, MASK_VFSGNJ_VF)
DECLARE_INSN(vfsgnj_vv, MATCH_VFSGNJ_VV, MASK_VFSGNJ_VV)
DECLARE_INSN(vfsgnjn_vf, MATCH_VFSGNJN_VF, MASK_VFSGNJN_VF)
DECLARE_INSN(vfsgnjn_vv, MATCH_VFSGNJN_VV, MASK_VFSGNJN_VV)
DECLARE_INSN(vfsgnjx_vf, MATCH_VFSGNJX_VF, MASK_VFSGNJX_VF)
DECLARE_INSN(vfsgnjx_vv, MATCH_VFSGNJX_VV, MASK_VFSGNJX_VV)
DECLARE_INSN(vfslide1down_vf, MATCH_VFSLIDE1DOWN_VF, MASK_VFSLIDE1DOWN_VF)
DECLARE_INSN(vfslide1up_vf, MATCH_VFSLIDE1UP_VF, MASK_VFSLIDE1UP_VF)
DECLARE_INSN(vfsqrt_v, MATCH_VFSQRT_V, MASK_VFSQRT_V)
DECLARE_INSN(vfsub_vf, MATCH_VFSUB_VF, MASK_VFSUB_VF)
DECLARE_INSN(vfsub_vv, MATCH_VFSUB_VV, MASK_VFSUB_VV)
DECLARE_INSN(vfwadd_vf, MATCH_VFWADD_VF, MASK_VFWADD_VF)
DECLARE_INSN(vfwadd_vv, MATCH_VFWADD_VV, MASK_VFWADD_VV)
DECLARE_INSN(vfwadd_wf, MATCH_VFWADD_WF, MASK_VFWADD_WF)
DECLARE_INSN(vfwadd_wv, MATCH_VFWADD_WV, MASK_VFWADD_WV)
DECLARE_INSN(vfwbdot_vv, MATCH_VFWBDOT_VV, MASK_VFWBDOT_VV)
DECLARE_INSN(vfwcvt_f_f_v, MATCH_VFWCVT_F_F_V, MASK_VFWCVT_F_F_V)
DECLARE_INSN(vfwcvt_f_x_v, MATCH_VFWCVT_F_X_V, MASK_VFWCVT_F_X_V)
DECLARE_INSN(vfwcvt_f_xu_v, MATCH_VFWCVT_F_XU_V, MASK_VFWCVT_F_XU_V)
DECLARE_INSN(vfwcvt_rtz_x_f_v, MATCH_VFWCVT_RTZ_X_F_V, MASK_VFWCVT_RTZ_X_F_V)
DECLARE_INSN(vfwcvt_rtz_xu_f_v, MATCH_VFWCVT_RTZ_XU_F_V, MASK_VFWCVT_RTZ_XU_F_V)
DECLARE_INSN(vfwcvt_x_f_v, MATCH_VFWCVT_X_F_V, MASK_VFWCVT_X_F_V)
DECLARE_INSN(vfwcvt_xu_f_v, MATCH_VFWCVT_XU_F_V, MASK_VFWCVT_XU_F_V)
DECLARE_INSN(vfwcvtbf16_f_f_v, MATCH_VFWCVTBF16_F_F_V, MASK_VFWCVTBF16_F_F_V)
DECLARE_INSN(vfwldot_vv, MATCH_VFWLDOT_VV, MASK_VFWLDOT_VV)
DECLARE_INSN(vfwmacc_vf, MATCH_VFWMACC_VF, MASK_VFWMACC_VF)
DECLARE_INSN(vfwmacc_vv, MATCH_VFWMACC_VV, MASK_VFWMACC_VV)
DECLARE_INSN(vfwmaccbf16_vf, MATCH_VFWMACCBF16_VF, MASK_VFWMACCBF16_VF)
DECLARE_INSN(vfwmaccbf16_vv, MATCH_VFWMACCBF16_VV, MASK_VFWMACCBF16_VV)
DECLARE_INSN(vfwmsac_vf, MATCH_VFWMSAC_VF, MASK_VFWMSAC_VF)
DECLARE_INSN(vfwmsac_vv, MATCH_VFWMSAC_VV, MASK_VFWMSAC_VV)
DECLARE_INSN(vfwmul_vf, MATCH_VFWMUL_VF, MASK_VFWMUL_VF)
DECLARE_INSN(vfwmul_vv, MATCH_VFWMUL_VV, MASK_VFWMUL_VV)
DECLARE_INSN(vfwnmacc_vf, MATCH_VFWNMACC_VF, MASK_VFWNMACC_VF)
DECLARE_INSN(vfwnmacc_vv, MATCH_VFWNMACC_VV, MASK_VFWNMACC_VV)
DECLARE_INSN(vfwnmsac_vf, MATCH_VFWNMSAC_VF, MASK_VFWNMSAC_VF)
DECLARE_INSN(vfwnmsac_vv, MATCH_VFWNMSAC_VV, MASK_VFWNMSAC_VV)
DECLARE_INSN(vfwredosum_vs, MATCH_VFWREDOSUM_VS, MASK_VFWREDOSUM_VS)
DECLARE_INSN(vfwredusum_vs, MATCH_VFWREDUSUM_VS, MASK_VFWREDUSUM_VS)
DECLARE_INSN(vfwsub_vf, MATCH_VFWSUB_VF, MASK_VFWSUB_VF)
DECLARE_INSN(vfwsub_vv, MATCH_VFWSUB_VV, MASK_VFWSUB_VV)
DECLARE_INSN(vfwsub_wf, MATCH_VFWSUB_WF, MASK_VFWSUB_WF)
DECLARE_INSN(vfwsub_wv, MATCH_VFWSUB_WV, MASK_VFWSUB_WV)
DECLARE_INSN(vghsh_vv, MATCH_VGHSH_VV, MASK_VGHSH_VV)
DECLARE_INSN(vgmul_vv, MATCH_VGMUL_VV, MASK_VGMUL_VV)
DECLARE_INSN(vid_v, MATCH_VID_V, MASK_VID_V)
DECLARE_INSN(viota_m, MATCH_VIOTA_M, MASK_VIOTA_M)
DECLARE_INSN(vl1re16_v, MATCH_VL1RE16_V, MASK_VL1RE16_V)
DECLARE_INSN(vl1re32_v, MATCH_VL1RE32_V, MASK_VL1RE32_V)
DECLARE_INSN(vl1re64_v, MATCH_VL1RE64_V, MASK_VL1RE64_V)
DECLARE_INSN(vl1re8_v, MATCH_VL1RE8_V, MASK_VL1RE8_V)
DECLARE_INSN(vl2re16_v, MATCH_VL2RE16_V, MASK_VL2RE16_V)
DECLARE_INSN(vl2re32_v, MATCH_VL2RE32_V, MASK_VL2RE32_V)
DECLARE_INSN(vl2re64_v, MATCH_VL2RE64_V, MASK_VL2RE64_V)
DECLARE_INSN(vl2re8_v, MATCH_VL2RE8_V, MASK_VL2RE8_V)
DECLARE_INSN(vl4re16_v, MATCH_VL4RE16_V, MASK_VL4RE16_V)
DECLARE_INSN(vl4re32_v, MATCH_VL4RE32_V, MASK_VL4RE32_V)
DECLARE_INSN(vl4re64_v, MATCH_VL4RE64_V, MASK_VL4RE64_V)
DECLARE_INSN(vl4re8_v, MATCH_VL4RE8_V, MASK_VL4RE8_V)
DECLARE_INSN(vl8re16_v, MATCH_VL8RE16_V, MASK_VL8RE16_V)
DECLARE_INSN(vl8re32_v, MATCH_VL8RE32_V, MASK_VL8RE32_V)
DECLARE_INSN(vl8re64_v, MATCH_VL8RE64_V, MASK_VL8RE64_V)
DECLARE_INSN(vl8re8_v, MATCH_VL8RE8_V, MASK_VL8RE8_V)
DECLARE_INSN(vle16_v, MATCH_VLE16_V, MASK_VLE16_V)
DECLARE_INSN(vle16ff_v, MATCH_VLE16FF_V, MASK_VLE16FF_V)
DECLARE_INSN(vle32_v, MATCH_VLE32_V, MASK_VLE32_V)
DECLARE_INSN(vle32ff_v, MATCH_VLE32FF_V, MASK_VLE32FF_V)
DECLARE_INSN(vle64_v, MATCH_VLE64_V, MASK_VLE64_V)
DECLARE_INSN(vle64ff_v, MATCH_VLE64FF_V, MASK_VLE64FF_V)
DECLARE_INSN(vle8_v, MATCH_VLE8_V, MASK_VLE8_V)
DECLARE_INSN(vle8ff_v, MATCH_VLE8FF_V, MASK_VLE8FF_V)
DECLARE_INSN(vlm_v, MATCH_VLM_V, MASK_VLM_V)
DECLARE_INSN(vloxei16_v, MATCH_VLOXEI16_V, MASK_VLOXEI16_V)
DECLARE_INSN(vloxei32_v, MATCH_VLOXEI32_V, MASK_VLOXEI32_V)
DECLARE_INSN(vloxei64_v, MATCH_VLOXEI64_V, MASK_VLOXEI64_V)
DECLARE_INSN(vloxei8_v, MATCH_VLOXEI8_V, MASK_VLOXEI8_V)
DECLARE_INSN(vlse16_v, MATCH_VLSE16_V, MASK_VLSE16_V)
DECLARE_INSN(vlse32_v, MATCH_VLSE32_V, MASK_VLSE32_V)
DECLARE_INSN(vlse64_v, MATCH_VLSE64_V, MASK_VLSE64_V)
DECLARE_INSN(vlse8_v, MATCH_VLSE8_V, MASK_VLSE8_V)
DECLARE_INSN(vluxei16_v, MATCH_VLUXEI16_V, MASK_VLUXEI16_V)
DECLARE_INSN(vluxei32_v, MATCH_VLUXEI32_V, MASK_VLUXEI32_V)
DECLARE_INSN(vluxei64_v, MATCH_VLUXEI64_V, MASK_VLUXEI64_V)
DECLARE_INSN(vluxei8_v, MATCH_VLUXEI8_V, MASK_VLUXEI8_V)
DECLARE_INSN(vmacc_vv, MATCH_VMACC_VV, MASK_VMACC_VV)
DECLARE_INSN(vmacc_vx, MATCH_VMACC_VX, MASK_VMACC_VX)
DECLARE_INSN(vmadc_vi, MATCH_VMADC_VI, MASK_VMADC_VI)
DECLARE_INSN(vmadc_vim, MATCH_VMADC_VIM, MASK_VMADC_VIM)
DECLARE_INSN(vmadc_vv, MATCH_VMADC_VV, MASK_VMADC_VV)
DECLARE_INSN(vmadc_vvm, MATCH_VMADC_VVM, MASK_VMADC_VVM)
DECLARE_INSN(vmadc_vx, MATCH_VMADC_VX, MASK_VMADC_VX)
DECLARE_INSN(vmadc_vxm, MATCH_VMADC_VXM, MASK_VMADC_VXM)
DECLARE_INSN(vmadd_vv, MATCH_VMADD_VV, MASK_VMADD_VV)
DECLARE_INSN(vmadd_vx, MATCH_VMADD_VX, MASK_VMADD_VX)
DECLARE_INSN(vmand_mm, MATCH_VMAND_MM, MASK_VMAND_MM)
DECLARE_INSN(vmandn_mm, MATCH_VMANDN_MM, MASK_VMANDN_MM)
DECLARE_INSN(vmax_vv, MATCH_VMAX_VV, MASK_VMAX_VV)
DECLARE_INSN(vmax_vx, MATCH_VMAX_VX, MASK_VMAX_VX)
DECLARE_INSN(vmaxu_vv, MATCH_VMAXU_VV, MASK_VMAXU_VV)
DECLARE_INSN(vmaxu_vx, MATCH_VMAXU_VX, MASK_VMAXU_VX)
DECLARE_INSN(vmerge_vim, MATCH_VMERGE_VIM, MASK_VMERGE_VIM)
DECLARE_INSN(vmerge_vvm, MATCH_VMERGE_VVM, MASK_VMERGE_VVM)
DECLARE_INSN(vmerge_vxm, MATCH_VMERGE_VXM, MASK_VMERGE_VXM)
DECLARE_INSN(vmfeq_vf, MATCH_VMFEQ_VF, MASK_VMFEQ_VF)
DECLARE_INSN(vmfeq_vv, MATCH_VMFEQ_VV, MASK_VMFEQ_VV)
DECLARE_INSN(vmfge_vf, MATCH_VMFGE_VF, MASK_VMFGE_VF)
DECLARE_INSN(vmfgt_vf, MATCH_VMFGT_VF, MASK_VMFGT_VF)
DECLARE_INSN(vmfle_vf, MATCH_VMFLE_VF, MASK_VMFLE_VF)
DECLARE_INSN(vmfle_vv, MATCH_VMFLE_VV, MASK_VMFLE_VV)
DECLARE_INSN(vmflt_vf, MATCH_VMFLT_VF, MASK_VMFLT_VF)
DECLARE_INSN(vmflt_vv, MATCH_VMFLT_VV, MASK_VMFLT_VV)
DECLARE_INSN(vmfne_vf, MATCH_VMFNE_VF, MASK_VMFNE_VF)
DECLARE_INSN(vmfne_vv, MATCH_VMFNE_VV, MASK_VMFNE_VV)
DECLARE_INSN(vmin_vv, MATCH_VMIN_VV, MASK_VMIN_VV)
DECLARE_INSN(vmin_vx, MATCH_VMIN_VX, MASK_VMIN_VX)
DECLARE_INSN(vminu_vv, MATCH_VMINU_VV, MASK_VMINU_VV)
DECLARE_INSN(vminu_vx, MATCH_VMINU_VX, MASK_VMINU_VX)
DECLARE_INSN(vmnand_mm, MATCH_VMNAND_MM, MASK_VMNAND_MM)
DECLARE_INSN(vmnor_mm, MATCH_VMNOR_MM, MASK_VMNOR_MM)
DECLARE_INSN(vmor_mm, MATCH_VMOR_MM, MASK_VMOR_MM)
DECLARE_INSN(vmorn_mm, MATCH_VMORN_MM, MASK_VMORN_MM)
DECLARE_INSN(vmsbc_vv, MATCH_VMSBC_VV, MASK_VMSBC_VV)
DECLARE_INSN(vmsbc_vvm, MATCH_VMSBC_VVM, MASK_VMSBC_VVM)
DECLARE_INSN(vmsbc_vx, MATCH_VMSBC_VX, MASK_VMSBC_VX)
DECLARE_INSN(vmsbc_vxm, MATCH_VMSBC_VXM, MASK_VMSBC_VXM)
DECLARE_INSN(vmsbf_m, MATCH_VMSBF_M, MASK_VMSBF_M)
DECLARE_INSN(vmseq_vi, MATCH_VMSEQ_VI, MASK_VMSEQ_VI)
DECLARE_INSN(vmseq_vv, MATCH_VMSEQ_VV, MASK_VMSEQ_VV)
DECLARE_INSN(vmseq_vx, MATCH_VMSEQ_VX, MASK_VMSEQ_VX)
DECLARE_INSN(vmsgt_vi, MATCH_VMSGT_VI, MASK_VMSGT_VI)
DECLARE_INSN(vmsgt_vx, MATCH_VMSGT_VX, MASK_VMSGT_VX)
DECLARE_INSN(vmsgtu_vi, MATCH_VMSGTU_VI, MASK_VMSGTU_VI)
DECLARE_INSN(vmsgtu_vx, MATCH_VMSGTU_VX, MASK_VMSGTU_VX)
DECLARE_INSN(vmsif_m, MATCH_VMSIF_M, MASK_VMSIF_M)
DECLARE_INSN(vmsle_vi, MATCH_VMSLE_VI, MASK_VMSLE_VI)
DECLARE_INSN(vmsle_vv, MATCH_VMSLE_VV, MASK_VMSLE_VV)
DECLARE_INSN(vmsle_vx, MATCH_VMSLE_VX, MASK_VMSLE_VX)
DECLARE_INSN(vmsleu_vi, MATCH_VMSLEU_VI, MASK_VMSLEU_VI)
DECLARE_INSN(vmsleu_vv, MATCH_VMSLEU_VV, MASK_VMSLEU_VV)
DECLARE_INSN(vmsleu_vx, MATCH_VMSLEU_VX, MASK_VMSLEU_VX)
DECLARE_INSN(vmslt_vv, MATCH_VMSLT_VV, MASK_VMSLT_VV)
DECLARE_INSN(vmslt_vx, MATCH_VMSLT_VX, MASK_VMSLT_VX)
DECLARE_INSN(vmsltu_vv, MATCH_VMSLTU_VV, MASK_VMSLTU_VV)
DECLARE_INSN(vmsltu_vx, MATCH_VMSLTU_VX, MASK_VMSLTU_VX)
DECLARE_INSN(vmsne_vi, MATCH_VMSNE_VI, MASK_VMSNE_VI)
DECLARE_INSN(vmsne_vv, MATCH_VMSNE_VV, MASK_VMSNE_VV)
DECLARE_INSN(vmsne_vx, MATCH_VMSNE_VX, MASK_VMSNE_VX)
DECLARE_INSN(vmsof_m, MATCH_VMSOF_M, MASK_VMSOF_M)
DECLARE_INSN(vmul_vv, MATCH_VMUL_VV, MASK_VMUL_VV)
DECLARE_INSN(vmul_vx, MATCH_VMUL_VX, MASK_VMUL_VX)
DECLARE_INSN(vmulh_vv, MATCH_VMULH_VV, MASK_VMULH_VV)
DECLARE_INSN(vmulh_vx, MATCH_VMULH_VX, MASK_VMULH_VX)
DECLARE_INSN(vmulhsu_vv, MATCH_VMULHSU_VV, MASK_VMULHSU_VV)
DECLARE_INSN(vmulhsu_vx, MATCH_VMULHSU_VX, MASK_VMULHSU_VX)
DECLARE_INSN(vmulhu_vv, MATCH_VMULHU_VV, MASK_VMULHU_VV)
DECLARE_INSN(vmulhu_vx, MATCH_VMULHU_VX, MASK_VMULHU_VX)
DECLARE_INSN(vmv1r_v, MATCH_VMV1R_V, MASK_VMV1R_V)
DECLARE_INSN(vmv2r_v, MATCH_VMV2R_V, MASK_VMV2R_V)
DECLARE_INSN(vmv4r_v, MATCH_VMV4R_V, MASK_VMV4R_V)
DECLARE_INSN(vmv8r_v, MATCH_VMV8R_V, MASK_VMV8R_V)
DECLARE_INSN(vmv_s_x, MATCH_VMV_S_X, MASK_VMV_S_X)
DECLARE_INSN(vmv_v_i, MATCH_VMV_V_I, MASK_VMV_V_I)
DECLARE_INSN(vmv_v_v, MATCH_VMV_V_V, MASK_VMV_V_V)
DECLARE_INSN(vmv_v_x, MATCH_VMV_V_X, MASK_VMV_V_X)
DECLARE_INSN(vmv_x_s, MATCH_VMV_X_S, MASK_VMV_X_S)
DECLARE_INSN(vmxnor_mm, MATCH_VMXNOR_MM, MASK_VMXNOR_MM)
DECLARE_INSN(vmxor_mm, MATCH_VMXOR_MM, MASK_VMXOR_MM)
DECLARE_INSN(vnclip_wi, MATCH_VNCLIP_WI, MASK_VNCLIP_WI)
DECLARE_INSN(vnclip_wv, MATCH_VNCLIP_WV, MASK_VNCLIP_WV)
DECLARE_INSN(vnclip_wx, MATCH_VNCLIP_WX, MASK_VNCLIP_WX)
DECLARE_INSN(vnclipu_wi, MATCH_VNCLIPU_WI, MASK_VNCLIPU_WI)
DECLARE_INSN(vnclipu_wv, MATCH_VNCLIPU_WV, MASK_VNCLIPU_WV)
DECLARE_INSN(vnclipu_wx, MATCH_VNCLIPU_WX, MASK_VNCLIPU_WX)
DECLARE_INSN(vnmsac_vv, MATCH_VNMSAC_VV, MASK_VNMSAC_VV)
DECLARE_INSN(vnmsac_vx, MATCH_VNMSAC_VX, MASK_VNMSAC_VX)
DECLARE_INSN(vnmsub_vv, MATCH_VNMSUB_VV, MASK_VNMSUB_VV)
DECLARE_INSN(vnmsub_vx, MATCH_VNMSUB_VX, MASK_VNMSUB_VX)
DECLARE_INSN(vnsra_wi, MATCH_VNSRA_WI, MASK_VNSRA_WI)
DECLARE_INSN(vnsra_wv, MATCH_VNSRA_WV, MASK_VNSRA_WV)
DECLARE_INSN(vnsra_wx, MATCH_VNSRA_WX, MASK_VNSRA_WX)
DECLARE_INSN(vnsrl_wi, MATCH_VNSRL_WI, MASK_VNSRL_WI)
DECLARE_INSN(vnsrl_wv, MATCH_VNSRL_WV, MASK_VNSRL_WV)
DECLARE_INSN(vnsrl_wx, MATCH_VNSRL_WX, MASK_VNSRL_WX)
DECLARE_INSN(vor_vi, MATCH_VOR_VI, MASK_VOR_VI)
DECLARE_INSN(vor_vv, MATCH_VOR_VV, MASK_VOR_VV)
DECLARE_INSN(vor_vx, MATCH_VOR_VX, MASK_VOR_VX)
DECLARE_INSN(vpaire_vv, MATCH_VPAIRE_VV, MASK_VPAIRE_VV)
DECLARE_INSN(vpairo_vv, MATCH_VPAIRO_VV, MASK_VPAIRO_VV)
DECLARE_INSN(vqbdots_vv, MATCH_VQBDOTS_VV, MASK_VQBDOTS_VV)
DECLARE_INSN(vqbdotu_vv, MATCH_VQBDOTU_VV, MASK_VQBDOTU_VV)
DECLARE_INSN(vqdot_vv, MATCH_VQDOT_VV, MASK_VQDOT_VV)
DECLARE_INSN(vqdot_vx, MATCH_VQDOT_VX, MASK_VQDOT_VX)
DECLARE_INSN(vqdotsu_vv, MATCH_VQDOTSU_VV, MASK_VQDOTSU_VV)
DECLARE_INSN(vqdotsu_vx, MATCH_VQDOTSU_VX, MASK_VQDOTSU_VX)
DECLARE_INSN(vqdotu_vv, MATCH_VQDOTU_VV, MASK_VQDOTU_VV)
DECLARE_INSN(vqdotu_vx, MATCH_VQDOTU_VX, MASK_VQDOTU_VX)
DECLARE_INSN(vqdotus_vx, MATCH_VQDOTUS_VX, MASK_VQDOTUS_VX)
DECLARE_INSN(vqldots_vv, MATCH_VQLDOTS_VV, MASK_VQLDOTS_VV)
DECLARE_INSN(vqldotu_vv, MATCH_VQLDOTU_VV, MASK_VQLDOTU_VV)
DECLARE_INSN(vredand_vs, MATCH_VREDAND_VS, MASK_VREDAND_VS)
DECLARE_INSN(vredmax_vs, MATCH_VREDMAX_VS, MASK_VREDMAX_VS)
DECLARE_INSN(vredmaxu_vs, MATCH_VREDMAXU_VS, MASK_VREDMAXU_VS)
DECLARE_INSN(vredmin_vs, MATCH_VREDMIN_VS, MASK_VREDMIN_VS)
DECLARE_INSN(vredminu_vs, MATCH_VREDMINU_VS, MASK_VREDMINU_VS)
DECLARE_INSN(vredor_vs, MATCH_VREDOR_VS, MASK_VREDOR_VS)
DECLARE_INSN(vredsum_vs, MATCH_VREDSUM_VS, MASK_VREDSUM_VS)
DECLARE_INSN(vredxor_vs, MATCH_VREDXOR_VS, MASK_VREDXOR_VS)
DECLARE_INSN(vrem_vv, MATCH_VREM_VV, MASK_VREM_VV)
DECLARE_INSN(vrem_vx, MATCH_VREM_VX, MASK_VREM_VX)
DECLARE_INSN(vremu_vv, MATCH_VREMU_VV, MASK_VREMU_VV)
DECLARE_INSN(vremu_vx, MATCH_VREMU_VX, MASK_VREMU_VX)
DECLARE_INSN(vrev8_v, MATCH_VREV8_V, MASK_VREV8_V)
DECLARE_INSN(vrgather_vi, MATCH_VRGATHER_VI, MASK_VRGATHER_VI)
DECLARE_INSN(vrgather_vv, MATCH_VRGATHER_VV, MASK_VRGATHER_VV)
DECLARE_INSN(vrgather_vx, MATCH_VRGATHER_VX, MASK_VRGATHER_VX)
DECLARE_INSN(vrgatherei16_vv, MATCH_VRGATHEREI16_VV, MASK_VRGATHEREI16_VV)
DECLARE_INSN(vrol_vv, MATCH_VROL_VV, MASK_VROL_VV)
DECLARE_INSN(vrol_vx, MATCH_VROL_VX, MASK_VROL_VX)
DECLARE_INSN(vror_vi, MATCH_VROR_VI, MASK_VROR_VI)
DECLARE_INSN(vror_vv, MATCH_VROR_VV, MASK_VROR_VV)
DECLARE_INSN(vror_vx, MATCH_VROR_VX, MASK_VROR_VX)
DECLARE_INSN(vrsub_vi, MATCH_VRSUB_VI, MASK_VRSUB_VI)
DECLARE_INSN(vrsub_vx, MATCH_VRSUB_VX, MASK_VRSUB_VX)
DECLARE_INSN(vs1r_v, MATCH_VS1R_V, MASK_VS1R_V)
DECLARE_INSN(vs2r_v, MATCH_VS2R_V, MASK_VS2R_V)
DECLARE_INSN(vs4r_v, MATCH_VS4R_V, MASK_VS4R_V)
DECLARE_INSN(vs8r_v, MATCH_VS8R_V, MASK_VS8R_V)
DECLARE_INSN(vsadd_vi, MATCH_VSADD_VI, MASK_VSADD_VI)
DECLARE_INSN(vsadd_vv, MATCH_VSADD_VV, MASK_VSADD_VV)
DECLARE_INSN(vsadd_vx, MATCH_VSADD_VX, MASK_VSADD_VX)
DECLARE_INSN(vsaddu_vi, MATCH_VSADDU_VI, MASK_VSADDU_VI)
DECLARE_INSN(vsaddu_vv, MATCH_VSADDU_VV, MASK_VSADDU_VV)
DECLARE_INSN(vsaddu_vx, MATCH_VSADDU_VX, MASK_VSADDU_VX)
DECLARE_INSN(vsbc_vvm, MATCH_VSBC_VVM, MASK_VSBC_VVM)
DECLARE_INSN(vsbc_vxm, MATCH_VSBC_VXM, MASK_VSBC_VXM)
DECLARE_INSN(vse16_v, MATCH_VSE16_V, MASK_VSE16_V)
DECLARE_INSN(vse32_v, MATCH_VSE32_V, MASK_VSE32_V)
DECLARE_INSN(vse64_v, MATCH_VSE64_V, MASK_VSE64_V)
DECLARE_INSN(vse8_v, MATCH_VSE8_V, MASK_VSE8_V)
DECLARE_INSN(vsetivli, MATCH_VSETIVLI, MASK_VSETIVLI)
DECLARE_INSN(vsetvl, MATCH_VSETVL, MASK_VSETVL)
DECLARE_INSN(vsetvli, MATCH_VSETVLI, MASK_VSETVLI)
DECLARE_INSN(vsext_vf2, MATCH_VSEXT_VF2, MASK_VSEXT_VF2)
DECLARE_INSN(vsext_vf4, MATCH_VSEXT_VF4, MASK_VSEXT_VF4)
DECLARE_INSN(vsext_vf8, MATCH_VSEXT_VF8, MASK_VSEXT_VF8)
DECLARE_INSN(vsha2ch_vv, MATCH_VSHA2CH_VV, MASK_VSHA2CH_VV)
DECLARE_INSN(vsha2cl_vv, MATCH_VSHA2CL_VV, MASK_VSHA2CL_VV)
DECLARE_INSN(vsha2ms_vv, MATCH_VSHA2MS_VV, MASK_VSHA2MS_VV)
DECLARE_INSN(vslide1down_vx, MATCH_VSLIDE1DOWN_VX, MASK_VSLIDE1DOWN_VX)
DECLARE_INSN(vslide1up_vx, MATCH_VSLIDE1UP_VX, MASK_VSLIDE1UP_VX)
DECLARE_INSN(vslidedown_vi, MATCH_VSLIDEDOWN_VI, MASK_VSLIDEDOWN_VI)
DECLARE_INSN(vslidedown_vx, MATCH_VSLIDEDOWN_VX, MASK_VSLIDEDOWN_VX)
DECLARE_INSN(vslideup_vi, MATCH_VSLIDEUP_VI, MASK_VSLIDEUP_VI)
DECLARE_INSN(vslideup_vx, MATCH_VSLIDEUP_VX, MASK_VSLIDEUP_VX)
DECLARE_INSN(vsll_vi, MATCH_VSLL_VI, MASK_VSLL_VI)
DECLARE_INSN(vsll_vv, MATCH_VSLL_VV, MASK_VSLL_VV)
DECLARE_INSN(vsll_vx, MATCH_VSLL_VX, MASK_VSLL_VX)
DECLARE_INSN(vsm3c_vi, MATCH_VSM3C_VI, MASK_VSM3C_VI)
DECLARE_INSN(vsm3me_vv, MATCH_VSM3ME_VV, MASK_VSM3ME_VV)
DECLARE_INSN(vsm4k_vi, MATCH_VSM4K_VI, MASK_VSM4K_VI)
DECLARE_INSN(vsm4r_vs, MATCH_VSM4R_VS, MASK_VSM4R_VS)
DECLARE_INSN(vsm4r_vv, MATCH_VSM4R_VV, MASK_VSM4R_VV)
DECLARE_INSN(vsm_v, MATCH_VSM_V, MASK_VSM_V)
DECLARE_INSN(vsmul_vv, MATCH_VSMUL_VV, MASK_VSMUL_VV)
DECLARE_INSN(vsmul_vx, MATCH_VSMUL_VX, MASK_VSMUL_VX)
DECLARE_INSN(vsoxei16_v, MATCH_VSOXEI16_V, MASK_VSOXEI16_V)
DECLARE_INSN(vsoxei32_v, MATCH_VSOXEI32_V, MASK_VSOXEI32_V)
DECLARE_INSN(vsoxei64_v, MATCH_VSOXEI64_V, MASK_VSOXEI64_V)
DECLARE_INSN(vsoxei8_v, MATCH_VSOXEI8_V, MASK_VSOXEI8_V)
DECLARE_INSN(vsra_vi, MATCH_VSRA_VI, MASK_VSRA_VI)
DECLARE_INSN(vsra_vv, MATCH_VSRA_VV, MASK_VSRA_VV)
DECLARE_INSN(vsra_vx, MATCH_VSRA_VX, MASK_VSRA_VX)
DECLARE_INSN(vsrl_vi, MATCH_VSRL_VI, MASK_VSRL_VI)
DECLARE_INSN(vsrl_vv, MATCH_VSRL_VV, MASK_VSRL_VV)
DECLARE_INSN(vsrl_vx, MATCH_VSRL_VX, MASK_VSRL_VX)
DECLARE_INSN(vsse16_v, MATCH_VSSE16_V, MASK_VSSE16_V)
DECLARE_INSN(vsse32_v, MATCH_VSSE32_V, MASK_VSSE32_V)
DECLARE_INSN(vsse64_v, MATCH_VSSE64_V, MASK_VSSE64_V)
DECLARE_INSN(vsse8_v, MATCH_VSSE8_V, MASK_VSSE8_V)
DECLARE_INSN(vssra_vi, MATCH_VSSRA_VI, MASK_VSSRA_VI)
DECLARE_INSN(vssra_vv, MATCH_VSSRA_VV, MASK_VSSRA_VV)
DECLARE_INSN(vssra_vx, MATCH_VSSRA_VX, MASK_VSSRA_VX)
DECLARE_INSN(vssrl_vi, MATCH_VSSRL_VI, MASK_VSSRL_VI)
DECLARE_INSN(vssrl_vv, MATCH_VSSRL_VV, MASK_VSSRL_VV)
DECLARE_INSN(vssrl_vx, MATCH_VSSRL_VX, MASK_VSSRL_VX)
DECLARE_INSN(vssub_vv, MATCH_VSSUB_VV, MASK_VSSUB_VV)
DECLARE_INSN(vssub_vx, MATCH_VSSUB_VX, MASK_VSSUB_VX)
DECLARE_INSN(vssubu_vv, MATCH_VSSUBU_VV, MASK_VSSUBU_VV)
DECLARE_INSN(vssubu_vx, MATCH_VSSUBU_VX, MASK_VSSUBU_VX)
DECLARE_INSN(vsub_vv, MATCH_VSUB_VV, MASK_VSUB_VV)
DECLARE_INSN(vsub_vx, MATCH_VSUB_VX, MASK_VSUB_VX)
DECLARE_INSN(vsuxei16_v, MATCH_VSUXEI16_V, MASK_VSUXEI16_V)
DECLARE_INSN(vsuxei32_v, MATCH_VSUXEI32_V, MASK_VSUXEI32_V)
DECLARE_INSN(vsuxei64_v, MATCH_VSUXEI64_V, MASK_VSUXEI64_V)
DECLARE_INSN(vsuxei8_v, MATCH_VSUXEI8_V, MASK_VSUXEI8_V)
DECLARE_INSN(vunzipe_v, MATCH_VUNZIPE_V, MASK_VUNZIPE_V)
DECLARE_INSN(vunzipo_v, MATCH_VUNZIPO_V, MASK_VUNZIPO_V)
DECLARE_INSN(vwabda_vv, MATCH_VWABDA_VV, MASK_VWABDA_VV)
DECLARE_INSN(vwabdau_vv, MATCH_VWABDAU_VV, MASK_VWABDAU_VV)
DECLARE_INSN(vwadd_vv, MATCH_VWADD_VV, MASK_VWADD_VV)
DECLARE_INSN(vwadd_vx, MATCH_VWADD_VX, MASK_VWADD_VX)
DECLARE_INSN(vwadd_wv, MATCH_VWADD_WV, MASK_VWADD_WV)
DECLARE_INSN(vwadd_wx, MATCH_VWADD_WX, MASK_VWADD_WX)
DECLARE_INSN(vwaddu_vv, MATCH_VWADDU_VV, MASK_VWADDU_VV)
DECLARE_INSN(vwaddu_vx, MATCH_VWADDU_VX, MASK_VWADDU_VX)
DECLARE_INSN(vwaddu_wv, MATCH_VWADDU_WV, MASK_VWADDU_WV)
DECLARE_INSN(vwaddu_wx, MATCH_VWADDU_WX, MASK_VWADDU_WX)
DECLARE_INSN(vwmacc_vv, MATCH_VWMACC_VV, MASK_VWMACC_VV)
DECLARE_INSN(vwmacc_vx, MATCH_VWMACC_VX, MASK_VWMACC_VX)
DECLARE_INSN(vwmaccsu_vv, MATCH_VWMACCSU_VV, MASK_VWMACCSU_VV)
DECLARE_INSN(vwmaccsu_vx, MATCH_VWMACCSU_VX, MASK_VWMACCSU_VX)
DECLARE_INSN(vwmaccu_vv, MATCH_VWMACCU_VV, MASK_VWMACCU_VV)
DECLARE_INSN(vwmaccu_vx, MATCH_VWMACCU_VX, MASK_VWMACCU_VX)
DECLARE_INSN(vwmaccus_vx, MATCH_VWMACCUS_VX, MASK_VWMACCUS_VX)
DECLARE_INSN(vwmul_vv, MATCH_VWMUL_VV, MASK_VWMUL_VV)
DECLARE_INSN(vwmul_vx, MATCH_VWMUL_VX, MASK_VWMUL_VX)
DECLARE_INSN(vwmulsu_vv, MATCH_VWMULSU_VV, MASK_VWMULSU_VV)
DECLARE_INSN(vwmulsu_vx, MATCH_VWMULSU_VX, MASK_VWMULSU_VX)
DECLARE_INSN(vwmulu_vv, MATCH_VWMULU_VV, MASK_VWMULU_VV)
DECLARE_INSN(vwmulu_vx, MATCH_VWMULU_VX, MASK_VWMULU_VX)
DECLARE_INSN(vwredsum_vs, MATCH_VWREDSUM_VS, MASK_VWREDSUM_VS)
DECLARE_INSN(vwredsumu_vs, MATCH_VWREDSUMU_VS, MASK_VWREDSUMU_VS)
DECLARE_INSN(vwsll_vi, MATCH_VWSLL_VI, MASK_VWSLL_VI)
DECLARE_INSN(vwsll_vv, MATCH_VWSLL_VV, MASK_VWSLL_VV)
DECLARE_INSN(vwsll_vx, MATCH_VWSLL_VX, MASK_VWSLL_VX)
DECLARE_INSN(vwsub_vv, MATCH_VWSUB_VV, MASK_VWSUB_VV)
DECLARE_INSN(vwsub_vx, MATCH_VWSUB_VX, MASK_VWSUB_VX)
DECLARE_INSN(vwsub_wv, MATCH_VWSUB_WV, MASK_VWSUB_WV)
DECLARE_INSN(vwsub_wx, MATCH_VWSUB_WX, MASK_VWSUB_WX)
DECLARE_INSN(vwsubu_vv, MATCH_VWSUBU_VV, MASK_VWSUBU_VV)
DECLARE_INSN(vwsubu_vx, MATCH_VWSUBU_VX, MASK_VWSUBU_VX)
DECLARE_INSN(vwsubu_wv, MATCH_VWSUBU_WV, MASK_VWSUBU_WV)
DECLARE_INSN(vwsubu_wx, MATCH_VWSUBU_WX, MASK_VWSUBU_WX)
DECLARE_INSN(vxor_vi, MATCH_VXOR_VI, MASK_VXOR_VI)
DECLARE_INSN(vxor_vv, MATCH_VXOR_VV, MASK_VXOR_VV)
DECLARE_INSN(vxor_vx, MATCH_VXOR_VX, MASK_VXOR_VX)
DECLARE_INSN(vzext_vf2, MATCH_VZEXT_VF2, MASK_VZEXT_VF2)
DECLARE_INSN(vzext_vf4, MATCH_VZEXT_VF4, MASK_VZEXT_VF4)
DECLARE_INSN(vzext_vf8, MATCH_VZEXT_VF8, MASK_VZEXT_VF8)
DECLARE_INSN(vzip_vv, MATCH_VZIP_VV, MASK_VZIP_VV)
DECLARE_INSN(wadd, MATCH_WADD, MASK_WADD)
DECLARE_INSN(wadda, MATCH_WADDA, MASK_WADDA)
DECLARE_INSN(waddau, MATCH_WADDAU, MASK_WADDAU)
DECLARE_INSN(waddu, MATCH_WADDU, MASK_WADDU)
DECLARE_INSN(wfi, MATCH_WFI, MASK_WFI)
DECLARE_INSN(wmacc, MATCH_WMACC, MASK_WMACC)
DECLARE_INSN(wmaccsu, MATCH_WMACCSU, MASK_WMACCSU)
DECLARE_INSN(wmaccu, MATCH_WMACCU, MASK_WMACCU)
DECLARE_INSN(wmul, MATCH_WMUL, MASK_WMUL)
DECLARE_INSN(wmulsu, MATCH_WMULSU, MASK_WMULSU)
DECLARE_INSN(wmulu, MATCH_WMULU, MASK_WMULU)
DECLARE_INSN(wrs_nto, MATCH_WRS_NTO, MASK_WRS_NTO)
DECLARE_INSN(wrs_sto, MATCH_WRS_STO, MASK_WRS_STO)
DECLARE_INSN(wsla, MATCH_WSLA, MASK_WSLA)
DECLARE_INSN(wslai, MATCH_WSLAI, MASK_WSLAI)
DECLARE_INSN(wsll, MATCH_WSLL, MASK_WSLL)
DECLARE_INSN(wslli, MATCH_WSLLI, MASK_WSLLI)
DECLARE_INSN(wsub, MATCH_WSUB, MASK_WSUB)
DECLARE_INSN(wsuba, MATCH_WSUBA, MASK_WSUBA)
DECLARE_INSN(wsubau, MATCH_WSUBAU, MASK_WSUBAU)
DECLARE_INSN(wsubu, MATCH_WSUBU, MASK_WSUBU)
DECLARE_INSN(wzip16p, MATCH_WZIP16P, MASK_WZIP16P)
DECLARE_INSN(wzip8p, MATCH_WZIP8P, MASK_WZIP8P)
DECLARE_INSN(xnor, MATCH_XNOR, MASK_XNOR)
DECLARE_INSN(xor, MATCH_XOR, MASK_XOR)
DECLARE_INSN(xori, MATCH_XORI, MASK_XORI)
DECLARE_INSN(xperm16, MATCH_XPERM16, MASK_XPERM16)
DECLARE_INSN(xperm32, MATCH_XPERM32, MASK_XPERM32)
DECLARE_INSN(xperm4, MATCH_XPERM4, MASK_XPERM4)
DECLARE_INSN(xperm8, MATCH_XPERM8, MASK_XPERM8)
DECLARE_INSN(zip, MATCH_ZIP, MASK_ZIP)
DECLARE_INSN(zip16hp, MATCH_ZIP16HP, MASK_ZIP16HP)
DECLARE_INSN(zip16p, MATCH_ZIP16P, MASK_ZIP16P)
DECLARE_INSN(zip8hp, MATCH_ZIP8HP, MASK_ZIP8HP)
DECLARE_INSN(zip8p, MATCH_ZIP8P, MASK_ZIP8P)
#endif
#ifdef DECLARE_CSR
DECLARE_CSR(fflags, CSR_FFLAGS)
DECLARE_CSR(frm, CSR_FRM)
DECLARE_CSR(fcsr, CSR_FCSR)
DECLARE_CSR(vstart, CSR_VSTART)
DECLARE_CSR(vxsat, CSR_VXSAT)
DECLARE_CSR(vxrm, CSR_VXRM)
DECLARE_CSR(vcsr, CSR_VCSR)
DECLARE_CSR(ssp, CSR_SSP)
DECLARE_CSR(seed, CSR_SEED)
DECLARE_CSR(jvt, CSR_JVT)
DECLARE_CSR(cycle, CSR_CYCLE)
DECLARE_CSR(time, CSR_TIME)
DECLARE_CSR(instret, CSR_INSTRET)
DECLARE_CSR(hpmcounter3, CSR_HPMCOUNTER3)
DECLARE_CSR(hpmcounter4, CSR_HPMCOUNTER4)
DECLARE_CSR(hpmcounter5, CSR_HPMCOUNTER5)
DECLARE_CSR(hpmcounter6, CSR_HPMCOUNTER6)
DECLARE_CSR(hpmcounter7, CSR_HPMCOUNTER7)
DECLARE_CSR(hpmcounter8, CSR_HPMCOUNTER8)
DECLARE_CSR(hpmcounter9, CSR_HPMCOUNTER9)
DECLARE_CSR(hpmcounter10, CSR_HPMCOUNTER10)
DECLARE_CSR(hpmcounter11, CSR_HPMCOUNTER11)
DECLARE_CSR(hpmcounter12, CSR_HPMCOUNTER12)
DECLARE_CSR(hpmcounter13, CSR_HPMCOUNTER13)
DECLARE_CSR(hpmcounter14, CSR_HPMCOUNTER14)
DECLARE_CSR(hpmcounter15, CSR_HPMCOUNTER15)
DECLARE_CSR(hpmcounter16, CSR_HPMCOUNTER16)
DECLARE_CSR(hpmcounter17, CSR_HPMCOUNTER17)
DECLARE_CSR(hpmcounter18, CSR_HPMCOUNTER18)
DECLARE_CSR(hpmcounter19, CSR_HPMCOUNTER19)
DECLARE_CSR(hpmcounter20, CSR_HPMCOUNTER20)
DECLARE_CSR(hpmcounter21, CSR_HPMCOUNTER21)
DECLARE_CSR(hpmcounter22, CSR_HPMCOUNTER22)
DECLARE_CSR(hpmcounter23, CSR_HPMCOUNTER23)
DECLARE_CSR(hpmcounter24, CSR_HPMCOUNTER24)
DECLARE_CSR(hpmcounter25, CSR_HPMCOUNTER25)
DECLARE_CSR(hpmcounter26, CSR_HPMCOUNTER26)
DECLARE_CSR(hpmcounter27, CSR_HPMCOUNTER27)
DECLARE_CSR(hpmcounter28, CSR_HPMCOUNTER28)
DECLARE_CSR(hpmcounter29, CSR_HPMCOUNTER29)
DECLARE_CSR(hpmcounter30, CSR_HPMCOUNTER30)
DECLARE_CSR(hpmcounter31, CSR_HPMCOUNTER31)
DECLARE_CSR(vl, CSR_VL)
DECLARE_CSR(vtype, CSR_VTYPE)
DECLARE_CSR(vlenb, CSR_VLENB)
DECLARE_CSR(sstatus, CSR_SSTATUS)
DECLARE_CSR(sie, CSR_SIE)
DECLARE_CSR(stvec, CSR_STVEC)
DECLARE_CSR(scounteren, CSR_SCOUNTEREN)
DECLARE_CSR(senvcfg, CSR_SENVCFG)
DECLARE_CSR(sstateen0, CSR_SSTATEEN0)
DECLARE_CSR(sstateen1, CSR_SSTATEEN1)
DECLARE_CSR(sstateen2, CSR_SSTATEEN2)
DECLARE_CSR(sstateen3, CSR_SSTATEEN3)
DECLARE_CSR(scountinhibit, CSR_SCOUNTINHIBIT)
DECLARE_CSR(sscratch, CSR_SSCRATCH)
DECLARE_CSR(sepc, CSR_SEPC)
DECLARE_CSR(scause, CSR_SCAUSE)
DECLARE_CSR(stval, CSR_STVAL)
DECLARE_CSR(sip, CSR_SIP)
DECLARE_CSR(stimecmp, CSR_STIMECMP)
DECLARE_CSR(sctrctl, CSR_SCTRCTL)
DECLARE_CSR(sctrstatus, CSR_SCTRSTATUS)
DECLARE_CSR(siselect, CSR_SISELECT)
DECLARE_CSR(sireg, CSR_SIREG)
DECLARE_CSR(sireg2, CSR_SIREG2)
DECLARE_CSR(sireg3, CSR_SIREG3)
DECLARE_CSR(sireg4, CSR_SIREG4)
DECLARE_CSR(sireg5, CSR_SIREG5)
DECLARE_CSR(sireg6, CSR_SIREG6)
DECLARE_CSR(stopei, CSR_STOPEI)
DECLARE_CSR(sctrdepth, CSR_SCTRDEPTH)
DECLARE_CSR(satp, CSR_SATP)
DECLARE_CSR(srmcfg, CSR_SRMCFG)
DECLARE_CSR(spmpen, CSR_SPMPEN)
DECLARE_CSR(scontext, CSR_SCONTEXT)
DECLARE_CSR(vsstatus, CSR_VSSTATUS)
DECLARE_CSR(vsie, CSR_VSIE)
DECLARE_CSR(vstvec, CSR_VSTVEC)
DECLARE_CSR(vsscratch, CSR_VSSCRATCH)
DECLARE_CSR(vsepc, CSR_VSEPC)
DECLARE_CSR(vscause, CSR_VSCAUSE)
DECLARE_CSR(vstval, CSR_VSTVAL)
DECLARE_CSR(vsip, CSR_VSIP)
DECLARE_CSR(vstimecmp, CSR_VSTIMECMP)
DECLARE_CSR(vsctrctl, CSR_VSCTRCTL)
DECLARE_CSR(vsiselect, CSR_VSISELECT)
DECLARE_CSR(vsireg, CSR_VSIREG)
DECLARE_CSR(vsireg2, CSR_VSIREG2)
DECLARE_CSR(vsireg3, CSR_VSIREG3)
DECLARE_CSR(vsireg4, CSR_VSIREG4)
DECLARE_CSR(vsireg5, CSR_VSIREG5)
DECLARE_CSR(vsireg6, CSR_VSIREG6)
DECLARE_CSR(vstopei, CSR_VSTOPEI)
DECLARE_CSR(vsatp, CSR_VSATP)
DECLARE_CSR(hstatus, CSR_HSTATUS)
DECLARE_CSR(hedeleg, CSR_HEDELEG)
DECLARE_CSR(hideleg, CSR_HIDELEG)
DECLARE_CSR(hie, CSR_HIE)
DECLARE_CSR(htimedelta, CSR_HTIMEDELTA)
DECLARE_CSR(hcounteren, CSR_HCOUNTEREN)
DECLARE_CSR(hgeie, CSR_HGEIE)
DECLARE_CSR(hvien, CSR_HVIEN)
DECLARE_CSR(hvictl, CSR_HVICTL)
DECLARE_CSR(henvcfg, CSR_HENVCFG)
DECLARE_CSR(hstateen0, CSR_HSTATEEN0)
DECLARE_CSR(hstateen1, CSR_HSTATEEN1)
DECLARE_CSR(hstateen2, CSR_HSTATEEN2)
DECLARE_CSR(hstateen3, CSR_HSTATEEN3)
DECLARE_CSR(htval, CSR_HTVAL)
DECLARE_CSR(hip, CSR_HIP)
DECLARE_CSR(hvip, CSR_HVIP)
DECLARE_CSR(hviprio1, CSR_HVIPRIO1)
DECLARE_CSR(hviprio2, CSR_HVIPRIO2)
DECLARE_CSR(htinst, CSR_HTINST)
DECLARE_CSR(hgatp, CSR_HGATP)
DECLARE_CSR(hcontext, CSR_HCONTEXT)
DECLARE_CSR(hgeip, CSR_HGEIP)
DECLARE_CSR(vstopi, CSR_VSTOPI)
DECLARE_CSR(scountovf, CSR_SCOUNTOVF)
DECLARE_CSR(stopi, CSR_STOPI)
DECLARE_CSR(utvt, CSR_UTVT)
DECLARE_CSR(unxti, CSR_UNXTI)
DECLARE_CSR(uintstatus, CSR_UINTSTATUS)
DECLARE_CSR(uscratchcsw, CSR_USCRATCHCSW)
DECLARE_CSR(uscratchcswl, CSR_USCRATCHCSWL)
DECLARE_CSR(stvt, CSR_STVT)
DECLARE_CSR(snxti, CSR_SNXTI)
DECLARE_CSR(sintstatus, CSR_SINTSTATUS)
DECLARE_CSR(sscratchcsw, CSR_SSCRATCHCSW)
DECLARE_CSR(sscratchcswl, CSR_SSCRATCHCSWL)
DECLARE_CSR(mtvt, CSR_MTVT)
DECLARE_CSR(mpmpdeleg, CSR_MPMPDELEG)
DECLARE_CSR(mnxti, CSR_MNXTI)
DECLARE_CSR(mintstatus, CSR_MINTSTATUS)
DECLARE_CSR(mscratchcsw, CSR_MSCRATCHCSW)
DECLARE_CSR(mscratchcswl, CSR_MSCRATCHCSWL)
DECLARE_CSR(mstatus, CSR_MSTATUS)
DECLARE_CSR(misa, CSR_MISA)
DECLARE_CSR(medeleg, CSR_MEDELEG)
DECLARE_CSR(mideleg, CSR_MIDELEG)
DECLARE_CSR(mie, CSR_MIE)
DECLARE_CSR(mtvec, CSR_MTVEC)
DECLARE_CSR(mcounteren, CSR_MCOUNTEREN)
DECLARE_CSR(mvien, CSR_MVIEN)
DECLARE_CSR(mvip, CSR_MVIP)
DECLARE_CSR(menvcfg, CSR_MENVCFG)
DECLARE_CSR(mstateen0, CSR_MSTATEEN0)
DECLARE_CSR(mstateen1, CSR_MSTATEEN1)
DECLARE_CSR(mstateen2, CSR_MSTATEEN2)
DECLARE_CSR(mstateen3, CSR_MSTATEEN3)
DECLARE_CSR(mcountinhibit, CSR_MCOUNTINHIBIT)
DECLARE_CSR(mscratch, CSR_MSCRATCH)
DECLARE_CSR(mepc, CSR_MEPC)
DECLARE_CSR(mcause, CSR_MCAUSE)
DECLARE_CSR(mtval, CSR_MTVAL)
DECLARE_CSR(mip, CSR_MIP)
DECLARE_CSR(mtinst, CSR_MTINST)
DECLARE_CSR(mtval2, CSR_MTVAL2)
DECLARE_CSR(mctrctl, CSR_MCTRCTL)
DECLARE_CSR(miselect, CSR_MISELECT)
DECLARE_CSR(mireg, CSR_MIREG)
DECLARE_CSR(mireg2, CSR_MIREG2)
DECLARE_CSR(mireg3, CSR_MIREG3)
DECLARE_CSR(mireg4, CSR_MIREG4)
DECLARE_CSR(mireg5, CSR_MIREG5)
DECLARE_CSR(mireg6, CSR_MIREG6)
DECLARE_CSR(mtopei, CSR_MTOPEI)
DECLARE_CSR(pmpcfg0, CSR_PMPCFG0)
DECLARE_CSR(pmpcfg1, CSR_PMPCFG1)
DECLARE_CSR(pmpcfg2, CSR_PMPCFG2)
DECLARE_CSR(pmpcfg3, CSR_PMPCFG3)
DECLARE_CSR(pmpcfg4, CSR_PMPCFG4)
DECLARE_CSR(pmpcfg5, CSR_PMPCFG5)
DECLARE_CSR(pmpcfg6, CSR_PMPCFG6)
DECLARE_CSR(pmpcfg7, CSR_PMPCFG7)
DECLARE_CSR(pmpcfg8, CSR_PMPCFG8)
DECLARE_CSR(pmpcfg9, CSR_PMPCFG9)
DECLARE_CSR(pmpcfg10, CSR_PMPCFG10)
DECLARE_CSR(pmpcfg11, CSR_PMPCFG11)
DECLARE_CSR(pmpcfg12, CSR_PMPCFG12)
DECLARE_CSR(pmpcfg13, CSR_PMPCFG13)
DECLARE_CSR(pmpcfg14, CSR_PMPCFG14)
DECLARE_CSR(pmpcfg15, CSR_PMPCFG15)
DECLARE_CSR(pmpaddr0, CSR_PMPADDR0)
DECLARE_CSR(pmpaddr1, CSR_PMPADDR1)
DECLARE_CSR(pmpaddr2, CSR_PMPADDR2)
DECLARE_CSR(pmpaddr3, CSR_PMPADDR3)
DECLARE_CSR(pmpaddr4, CSR_PMPADDR4)
DECLARE_CSR(pmpaddr5, CSR_PMPADDR5)
DECLARE_CSR(pmpaddr6, CSR_PMPADDR6)
DECLARE_CSR(pmpaddr7, CSR_PMPADDR7)
DECLARE_CSR(pmpaddr8, CSR_PMPADDR8)
DECLARE_CSR(pmpaddr9, CSR_PMPADDR9)
DECLARE_CSR(pmpaddr10, CSR_PMPADDR10)
DECLARE_CSR(pmpaddr11, CSR_PMPADDR11)
DECLARE_CSR(pmpaddr12, CSR_PMPADDR12)
DECLARE_CSR(pmpaddr13, CSR_PMPADDR13)
DECLARE_CSR(pmpaddr14, CSR_PMPADDR14)
DECLARE_CSR(pmpaddr15, CSR_PMPADDR15)
DECLARE_CSR(pmpaddr16, CSR_PMPADDR16)
DECLARE_CSR(pmpaddr17, CSR_PMPADDR17)
DECLARE_CSR(pmpaddr18, CSR_PMPADDR18)
DECLARE_CSR(pmpaddr19, CSR_PMPADDR19)
DECLARE_CSR(pmpaddr20, CSR_PMPADDR20)
DECLARE_CSR(pmpaddr21, CSR_PMPADDR21)
DECLARE_CSR(pmpaddr22, CSR_PMPADDR22)
DECLARE_CSR(pmpaddr23, CSR_PMPADDR23)
DECLARE_CSR(pmpaddr24, CSR_PMPADDR24)
DECLARE_CSR(pmpaddr25, CSR_PMPADDR25)
DECLARE_CSR(pmpaddr26, CSR_PMPADDR26)
DECLARE_CSR(pmpaddr27, CSR_PMPADDR27)
DECLARE_CSR(pmpaddr28, CSR_PMPADDR28)
DECLARE_CSR(pmpaddr29, CSR_PMPADDR29)
DECLARE_CSR(pmpaddr30, CSR_PMPADDR30)
DECLARE_CSR(pmpaddr31, CSR_PMPADDR31)
DECLARE_CSR(pmpaddr32, CSR_PMPADDR32)
DECLARE_CSR(pmpaddr33, CSR_PMPADDR33)
DECLARE_CSR(pmpaddr34, CSR_PMPADDR34)
DECLARE_CSR(pmpaddr35, CSR_PMPADDR35)
DECLARE_CSR(pmpaddr36, CSR_PMPADDR36)
DECLARE_CSR(pmpaddr37, CSR_PMPADDR37)
DECLARE_CSR(pmpaddr38, CSR_PMPADDR38)
DECLARE_CSR(pmpaddr39, CSR_PMPADDR39)
DECLARE_CSR(pmpaddr40, CSR_PMPADDR40)
DECLARE_CSR(pmpaddr41, CSR_PMPADDR41)
DECLARE_CSR(pmpaddr42, CSR_PMPADDR42)
DECLARE_CSR(pmpaddr43, CSR_PMPADDR43)
DECLARE_CSR(pmpaddr44, CSR_PMPADDR44)
DECLARE_CSR(pmpaddr45, CSR_PMPADDR45)
DECLARE_CSR(pmpaddr46, CSR_PMPADDR46)
DECLARE_CSR(pmpaddr47, CSR_PMPADDR47)
DECLARE_CSR(pmpaddr48, CSR_PMPADDR48)
DECLARE_CSR(pmpaddr49, CSR_PMPADDR49)
DECLARE_CSR(pmpaddr50, CSR_PMPADDR50)
DECLARE_CSR(pmpaddr51, CSR_PMPADDR51)
DECLARE_CSR(pmpaddr52, CSR_PMPADDR52)
DECLARE_CSR(pmpaddr53, CSR_PMPADDR53)
DECLARE_CSR(pmpaddr54, CSR_PMPADDR54)
DECLARE_CSR(pmpaddr55, CSR_PMPADDR55)
DECLARE_CSR(pmpaddr56, CSR_PMPADDR56)
DECLARE_CSR(pmpaddr57, CSR_PMPADDR57)
DECLARE_CSR(pmpaddr58, CSR_PMPADDR58)
DECLARE_CSR(pmpaddr59, CSR_PMPADDR59)
DECLARE_CSR(pmpaddr60, CSR_PMPADDR60)
DECLARE_CSR(pmpaddr61, CSR_PMPADDR61)
DECLARE_CSR(pmpaddr62, CSR_PMPADDR62)
DECLARE_CSR(pmpaddr63, CSR_PMPADDR63)
DECLARE_CSR(mseccfg, CSR_MSECCFG)
DECLARE_CSR(tselect, CSR_TSELECT)
DECLARE_CSR(tdata1, CSR_TDATA1)
DECLARE_CSR(tdata2, CSR_TDATA2)
DECLARE_CSR(tdata3, CSR_TDATA3)
DECLARE_CSR(tinfo, CSR_TINFO)
DECLARE_CSR(tcontrol, CSR_TCONTROL)
DECLARE_CSR(mcontext, CSR_MCONTEXT)
DECLARE_CSR(mscontext, CSR_MSCONTEXT)
DECLARE_CSR(dcsr, CSR_DCSR)
DECLARE_CSR(dpc, CSR_DPC)
DECLARE_CSR(dscratch0, CSR_DSCRATCH0)
DECLARE_CSR(dscratch1, CSR_DSCRATCH1)
DECLARE_CSR(mcycle, CSR_MCYCLE)
DECLARE_CSR(minstret, CSR_MINSTRET)
DECLARE_CSR(mhpmcounter3, CSR_MHPMCOUNTER3)
DECLARE_CSR(mhpmcounter4, CSR_MHPMCOUNTER4)
DECLARE_CSR(mhpmcounter5, CSR_MHPMCOUNTER5)
DECLARE_CSR(mhpmcounter6, CSR_MHPMCOUNTER6)
DECLARE_CSR(mhpmcounter7, CSR_MHPMCOUNTER7)
DECLARE_CSR(mhpmcounter8, CSR_MHPMCOUNTER8)
DECLARE_CSR(mhpmcounter9, CSR_MHPMCOUNTER9)
DECLARE_CSR(mhpmcounter10, CSR_MHPMCOUNTER10)
DECLARE_CSR(mhpmcounter11, CSR_MHPMCOUNTER11)
DECLARE_CSR(mhpmcounter12, CSR_MHPMCOUNTER12)
DECLARE_CSR(mhpmcounter13, CSR_MHPMCOUNTER13)
DECLARE_CSR(mhpmcounter14, CSR_MHPMCOUNTER14)
DECLARE_CSR(mhpmcounter15, CSR_MHPMCOUNTER15)
DECLARE_CSR(mhpmcounter16, CSR_MHPMCOUNTER16)
DECLARE_CSR(mhpmcounter17, CSR_MHPMCOUNTER17)
DECLARE_CSR(mhpmcounter18, CSR_MHPMCOUNTER18)
DECLARE_CSR(mhpmcounter19, CSR_MHPMCOUNTER19)
DECLARE_CSR(mhpmcounter20, CSR_MHPMCOUNTER20)
DECLARE_CSR(mhpmcounter21, CSR_MHPMCOUNTER21)
DECLARE_CSR(mhpmcounter22, CSR_MHPMCOUNTER22)
DECLARE_CSR(mhpmcounter23, CSR_MHPMCOUNTER23)
DECLARE_CSR(mhpmcounter24, CSR_MHPMCOUNTER24)
DECLARE_CSR(mhpmcounter25, CSR_MHPMCOUNTER25)
DECLARE_CSR(mhpmcounter26, CSR_MHPMCOUNTER26)
DECLARE_CSR(mhpmcounter27, CSR_MHPMCOUNTER27)
DECLARE_CSR(mhpmcounter28, CSR_MHPMCOUNTER28)
DECLARE_CSR(mhpmcounter29, CSR_MHPMCOUNTER29)
DECLARE_CSR(mhpmcounter30, CSR_MHPMCOUNTER30)
DECLARE_CSR(mhpmcounter31, CSR_MHPMCOUNTER31)
DECLARE_CSR(mcyclecfg, CSR_MCYCLECFG)
DECLARE_CSR(minstretcfg, CSR_MINSTRETCFG)
DECLARE_CSR(mhpmevent3, CSR_MHPMEVENT3)
DECLARE_CSR(mhpmevent4, CSR_MHPMEVENT4)
DECLARE_CSR(mhpmevent5, CSR_MHPMEVENT5)
DECLARE_CSR(mhpmevent6, CSR_MHPMEVENT6)
DECLARE_CSR(mhpmevent7, CSR_MHPMEVENT7)
DECLARE_CSR(mhpmevent8, CSR_MHPMEVENT8)
DECLARE_CSR(mhpmevent9, CSR_MHPMEVENT9)
DECLARE_CSR(mhpmevent10, CSR_MHPMEVENT10)
DECLARE_CSR(mhpmevent11, CSR_MHPMEVENT11)
DECLARE_CSR(mhpmevent12, CSR_MHPMEVENT12)
DECLARE_CSR(mhpmevent13, CSR_MHPMEVENT13)
DECLARE_CSR(mhpmevent14, CSR_MHPMEVENT14)
DECLARE_CSR(mhpmevent15, CSR_MHPMEVENT15)
DECLARE_CSR(mhpmevent16, CSR_MHPMEVENT16)
DECLARE_CSR(mhpmevent17, CSR_MHPMEVENT17)
DECLARE_CSR(mhpmevent18, CSR_MHPMEVENT18)
DECLARE_CSR(mhpmevent19, CSR_MHPMEVENT19)
DECLARE_CSR(mhpmevent20, CSR_MHPMEVENT20)
DECLARE_CSR(mhpmevent21, CSR_MHPMEVENT21)
DECLARE_CSR(mhpmevent22, CSR_MHPMEVENT22)
DECLARE_CSR(mhpmevent23, CSR_MHPMEVENT23)
DECLARE_CSR(mhpmevent24, CSR_MHPMEVENT24)
DECLARE_CSR(mhpmevent25, CSR_MHPMEVENT25)
DECLARE_CSR(mhpmevent26, CSR_MHPMEVENT26)
DECLARE_CSR(mhpmevent27, CSR_MHPMEVENT27)
DECLARE_CSR(mhpmevent28, CSR_MHPMEVENT28)
DECLARE_CSR(mhpmevent29, CSR_MHPMEVENT29)
DECLARE_CSR(mhpmevent30, CSR_MHPMEVENT30)
DECLARE_CSR(mhpmevent31, CSR_MHPMEVENT31)
DECLARE_CSR(mvendorid, CSR_MVENDORID)
DECLARE_CSR(marchid, CSR_MARCHID)
DECLARE_CSR(mimpid, CSR_MIMPID)
DECLARE_CSR(mhartid, CSR_MHARTID)
DECLARE_CSR(mconfigptr, CSR_MCONFIGPTR)
DECLARE_CSR(mtopi, CSR_MTOPI)
DECLARE_CSR(sieh, CSR_SIEH)
DECLARE_CSR(siph, CSR_SIPH)
DECLARE_CSR(stimecmph, CSR_STIMECMPH)
DECLARE_CSR(spmpenh, CSR_SPMPENH)
DECLARE_CSR(vsieh, CSR_VSIEH)
DECLARE_CSR(vsiph, CSR_VSIPH)
DECLARE_CSR(vstimecmph, CSR_VSTIMECMPH)
DECLARE_CSR(medelegh, CSR_MEDELEGH)
DECLARE_CSR(hedelegh, CSR_HEDELEGH)
DECLARE_CSR(htimedeltah, CSR_HTIMEDELTAH)
DECLARE_CSR(hidelegh, CSR_HIDELEGH)
DECLARE_CSR(hvienh, CSR_HVIENH)
DECLARE_CSR(henvcfgh, CSR_HENVCFGH)
DECLARE_CSR(hviph, CSR_HVIPH)
DECLARE_CSR(hviprio1h, CSR_HVIPRIO1H)
DECLARE_CSR(hviprio2h, CSR_HVIPRIO2H)
DECLARE_CSR(hstateen0h, CSR_HSTATEEN0H)
DECLARE_CSR(hstateen1h, CSR_HSTATEEN1H)
DECLARE_CSR(hstateen2h, CSR_HSTATEEN2H)
DECLARE_CSR(hstateen3h, CSR_HSTATEEN3H)
DECLARE_CSR(cycleh, CSR_CYCLEH)
DECLARE_CSR(timeh, CSR_TIMEH)
DECLARE_CSR(instreth, CSR_INSTRETH)
DECLARE_CSR(hpmcounter3h, CSR_HPMCOUNTER3H)
DECLARE_CSR(hpmcounter4h, CSR_HPMCOUNTER4H)
DECLARE_CSR(hpmcounter5h, CSR_HPMCOUNTER5H)
DECLARE_CSR(hpmcounter6h, CSR_HPMCOUNTER6H)
DECLARE_CSR(hpmcounter7h, CSR_HPMCOUNTER7H)
DECLARE_CSR(hpmcounter8h, CSR_HPMCOUNTER8H)
DECLARE_CSR(hpmcounter9h, CSR_HPMCOUNTER9H)
DECLARE_CSR(hpmcounter10h, CSR_HPMCOUNTER10H)
DECLARE_CSR(hpmcounter11h, CSR_HPMCOUNTER11H)
DECLARE_CSR(hpmcounter12h, CSR_HPMCOUNTER12H)
DECLARE_CSR(hpmcounter13h, CSR_HPMCOUNTER13H)
DECLARE_CSR(hpmcounter14h, CSR_HPMCOUNTER14H)
DECLARE_CSR(hpmcounter15h, CSR_HPMCOUNTER15H)
DECLARE_CSR(hpmcounter16h, CSR_HPMCOUNTER16H)
DECLARE_CSR(hpmcounter17h, CSR_HPMCOUNTER17H)
DECLARE_CSR(hpmcounter18h, CSR_HPMCOUNTER18H)
DECLARE_CSR(hpmcounter19h, CSR_HPMCOUNTER19H)
DECLARE_CSR(hpmcounter20h, CSR_HPMCOUNTER20H)
DECLARE_CSR(hpmcounter21h, CSR_HPMCOUNTER21H)
DECLARE_CSR(hpmcounter22h, CSR_HPMCOUNTER22H)
DECLARE_CSR(hpmcounter23h, CSR_HPMCOUNTER23H)
DECLARE_CSR(hpmcounter24h, CSR_HPMCOUNTER24H)
DECLARE_CSR(hpmcounter25h, CSR_HPMCOUNTER25H)
DECLARE_CSR(hpmcounter26h, CSR_HPMCOUNTER26H)
DECLARE_CSR(hpmcounter27h, CSR_HPMCOUNTER27H)
DECLARE_CSR(hpmcounter28h, CSR_HPMCOUNTER28H)
DECLARE_CSR(hpmcounter29h, CSR_HPMCOUNTER29H)
DECLARE_CSR(hpmcounter30h, CSR_HPMCOUNTER30H)
DECLARE_CSR(hpmcounter31h, CSR_HPMCOUNTER31H)
DECLARE_CSR(mstatush, CSR_MSTATUSH)
DECLARE_CSR(midelegh, CSR_MIDELEGH)
DECLARE_CSR(mieh, CSR_MIEH)
DECLARE_CSR(mvienh, CSR_MVIENH)
DECLARE_CSR(mviph, CSR_MVIPH)
DECLARE_CSR(menvcfgh, CSR_MENVCFGH)
DECLARE_CSR(mstateen0h, CSR_MSTATEEN0H)
DECLARE_CSR(mstateen1h, CSR_MSTATEEN1H)
DECLARE_CSR(mstateen2h, CSR_MSTATEEN2H)
DECLARE_CSR(mstateen3h, CSR_MSTATEEN3H)
DECLARE_CSR(miph, CSR_MIPH)
DECLARE_CSR(mcyclecfgh, CSR_MCYCLECFGH)
DECLARE_CSR(minstretcfgh, CSR_MINSTRETCFGH)
DECLARE_CSR(mhpmevent3h, CSR_MHPMEVENT3H)
DECLARE_CSR(mhpmevent4h, CSR_MHPMEVENT4H)
DECLARE_CSR(mhpmevent5h, CSR_MHPMEVENT5H)
DECLARE_CSR(mhpmevent6h, CSR_MHPMEVENT6H)
DECLARE_CSR(mhpmevent7h, CSR_MHPMEVENT7H)
DECLARE_CSR(mhpmevent8h, CSR_MHPMEVENT8H)
DECLARE_CSR(mhpmevent9h, CSR_MHPMEVENT9H)
DECLARE_CSR(mhpmevent10h, CSR_MHPMEVENT10H)
DECLARE_CSR(mhpmevent11h, CSR_MHPMEVENT11H)
DECLARE_CSR(mhpmevent12h, CSR_MHPMEVENT12H)
DECLARE_CSR(mhpmevent13h, CSR_MHPMEVENT13H)
DECLARE_CSR(mhpmevent14h, CSR_MHPMEVENT14H)
DECLARE_CSR(mhpmevent15h, CSR_MHPMEVENT15H)
DECLARE_CSR(mhpmevent16h, CSR_MHPMEVENT16H)
DECLARE_CSR(mhpmevent17h, CSR_MHPMEVENT17H)
DECLARE_CSR(mhpmevent18h, CSR_MHPMEVENT18H)
DECLARE_CSR(mhpmevent19h, CSR_MHPMEVENT19H)
DECLARE_CSR(mhpmevent20h, CSR_MHPMEVENT20H)
DECLARE_CSR(mhpmevent21h, CSR_MHPMEVENT21H)
DECLARE_CSR(mhpmevent22h, CSR_MHPMEVENT22H)
DECLARE_CSR(mhpmevent23h, CSR_MHPMEVENT23H)
DECLARE_CSR(mhpmevent24h, CSR_MHPMEVENT24H)
DECLARE_CSR(mhpmevent25h, CSR_MHPMEVENT25H)
DECLARE_CSR(mhpmevent26h, CSR_MHPMEVENT26H)
DECLARE_CSR(mhpmevent27h, CSR_MHPMEVENT27H)
DECLARE_CSR(mhpmevent28h, CSR_MHPMEVENT28H)
DECLARE_CSR(mhpmevent29h, CSR_MHPMEVENT29H)
DECLARE_CSR(mhpmevent30h, CSR_MHPMEVENT30H)
DECLARE_CSR(mhpmevent31h, CSR_MHPMEVENT31H)
DECLARE_CSR(mnscratch, CSR_MNSCRATCH)
DECLARE_CSR(mnepc, CSR_MNEPC)
DECLARE_CSR(mncause, CSR_MNCAUSE)
DECLARE_CSR(mnstatus, CSR_MNSTATUS)
DECLARE_CSR(mseccfgh, CSR_MSECCFGH)
DECLARE_CSR(mcycleh, CSR_MCYCLEH)
DECLARE_CSR(minstreth, CSR_MINSTRETH)
DECLARE_CSR(mhpmcounter3h, CSR_MHPMCOUNTER3H)
DECLARE_CSR(mhpmcounter4h, CSR_MHPMCOUNTER4H)
DECLARE_CSR(mhpmcounter5h, CSR_MHPMCOUNTER5H)
DECLARE_CSR(mhpmcounter6h, CSR_MHPMCOUNTER6H)
DECLARE_CSR(mhpmcounter7h, CSR_MHPMCOUNTER7H)
DECLARE_CSR(mhpmcounter8h, CSR_MHPMCOUNTER8H)
DECLARE_CSR(mhpmcounter9h, CSR_MHPMCOUNTER9H)
DECLARE_CSR(mhpmcounter10h, CSR_MHPMCOUNTER10H)
DECLARE_CSR(mhpmcounter11h, CSR_MHPMCOUNTER11H)
DECLARE_CSR(mhpmcounter12h, CSR_MHPMCOUNTER12H)
DECLARE_CSR(mhpmcounter13h, CSR_MHPMCOUNTER13H)
DECLARE_CSR(mhpmcounter14h, CSR_MHPMCOUNTER14H)
DECLARE_CSR(mhpmcounter15h, CSR_MHPMCOUNTER15H)
DECLARE_CSR(mhpmcounter16h, CSR_MHPMCOUNTER16H)
DECLARE_CSR(mhpmcounter17h, CSR_MHPMCOUNTER17H)
DECLARE_CSR(mhpmcounter18h, CSR_MHPMCOUNTER18H)
DECLARE_CSR(mhpmcounter19h, CSR_MHPMCOUNTER19H)
DECLARE_CSR(mhpmcounter20h, CSR_MHPMCOUNTER20H)
DECLARE_CSR(mhpmcounter21h, CSR_MHPMCOUNTER21H)
DECLARE_CSR(mhpmcounter22h, CSR_MHPMCOUNTER22H)
DECLARE_CSR(mhpmcounter23h, CSR_MHPMCOUNTER23H)
DECLARE_CSR(mhpmcounter24h, CSR_MHPMCOUNTER24H)
DECLARE_CSR(mhpmcounter25h, CSR_MHPMCOUNTER25H)
DECLARE_CSR(mhpmcounter26h, CSR_MHPMCOUNTER26H)
DECLARE_CSR(mhpmcounter27h, CSR_MHPMCOUNTER27H)
DECLARE_CSR(mhpmcounter28h, CSR_MHPMCOUNTER28H)
DECLARE_CSR(mhpmcounter29h, CSR_MHPMCOUNTER29H)
DECLARE_CSR(mhpmcounter30h, CSR_MHPMCOUNTER30H)
DECLARE_CSR(mhpmcounter31h, CSR_MHPMCOUNTER31H)
#endif
#ifdef DECLARE_CAUSE
DECLARE_CAUSE("misaligned fetch", CAUSE_MISALIGNED_FETCH)
DECLARE_CAUSE("fetch access", CAUSE_FETCH_ACCESS)
DECLARE_CAUSE("illegal instruction", CAUSE_ILLEGAL_INSTRUCTION)
DECLARE_CAUSE("breakpoint", CAUSE_BREAKPOINT)
DECLARE_CAUSE("misaligned load", CAUSE_MISALIGNED_LOAD)
DECLARE_CAUSE("load access", CAUSE_LOAD_ACCESS)
DECLARE_CAUSE("misaligned store", CAUSE_MISALIGNED_STORE)
DECLARE_CAUSE("store access", CAUSE_STORE_ACCESS)
DECLARE_CAUSE("user ecall", CAUSE_USER_ECALL)
DECLARE_CAUSE("supervisor ecall", CAUSE_SUPERVISOR_ECALL)
DECLARE_CAUSE("virtual supervisor ecall", CAUSE_VIRTUAL_SUPERVISOR_ECALL)
DECLARE_CAUSE("machine ecall", CAUSE_MACHINE_ECALL)
DECLARE_CAUSE("fetch page fault", CAUSE_FETCH_PAGE_FAULT)
DECLARE_CAUSE("load page fault", CAUSE_LOAD_PAGE_FAULT)
DECLARE_CAUSE("store page fault", CAUSE_STORE_PAGE_FAULT)
DECLARE_CAUSE("double trap", CAUSE_DOUBLE_TRAP)
DECLARE_CAUSE("software check fault", CAUSE_SOFTWARE_CHECK_FAULT)
DECLARE_CAUSE("hardware error fault", CAUSE_HARDWARE_ERROR_FAULT)
DECLARE_CAUSE("fetch guest page fault", CAUSE_FETCH_GUEST_PAGE_FAULT)
DECLARE_CAUSE("load guest page fault", CAUSE_LOAD_GUEST_PAGE_FAULT)
DECLARE_CAUSE("virtual instruction", CAUSE_VIRTUAL_INSTRUCTION)
DECLARE_CAUSE("store guest page fault", CAUSE_STORE_GUEST_PAGE_FAULT)
#endif
