diff options
Diffstat (limited to 'riscv/encoding.h')
-rw-r--r-- | riscv/encoding.h | 54 |
1 files changed, 33 insertions, 21 deletions
diff --git a/riscv/encoding.h b/riscv/encoding.h index 31cbf18..8a04bc9 100644 --- a/riscv/encoding.h +++ b/riscv/encoding.h @@ -866,8 +866,8 @@ #define MASK_VFSGNJN_VF 0xfc00707f #define MATCH_VFSGNJX_VF 0x28005057 #define MASK_VFSGNJX_VF 0xfc00707f -#define MATCH_VFMV_S_F 0x34005057 -#define MASK_VFMV_S_F 0xfdf0707f +#define MATCH_VFMV_S_F 0x36005057 +#define MASK_VFMV_S_F 0xfff0707f #define MATCH_VFMERGE_VF 0x5c005057 #define MASK_VFMERGE_VF 0xfc00707f #define MATCH_VFEQ_VF 0x60005057 @@ -946,8 +946,8 @@ #define MASK_VFSGNJN_VV 0xfc00707f #define MATCH_VFSGNJX_VV 0x28001057 #define MASK_VFSGNJX_VV 0xfc00707f -#define MATCH_VFMV_F_S 0x30001057 -#define MASK_VFMV_F_S 0xfc0ff07f +#define MATCH_VFMV_F_S 0x32001057 +#define MASK_VFMV_F_S 0xfe0ff07f #define MATCH_VFEQ_VV 0x60001057 #define MASK_VFEQ_VV 0xfc00707f #define MATCH_VFLE_VV 0x64001057 @@ -1032,10 +1032,10 @@ #define MASK_VSLIDEUP_VX 0xfc00707f #define MATCH_VSLIDEDOWN_VX 0x3c004057 #define MASK_VSLIDEDOWN_VX 0xfc00707f -#define MATCH_VADC_VX 0x40004057 -#define MASK_VADC_VX 0xfc00707f -#define MATCH_VSBC_VX 0x48004057 -#define MASK_VSBC_VX 0xfc00707f +#define MATCH_VADC_VX 0x42004057 +#define MASK_VADC_VX 0xfe00707f +#define MATCH_VSBC_VX 0x4a004057 +#define MASK_VSBC_VX 0xfe00707f #define MATCH_VMERGE_VX 0x5c004057 #define MASK_VMERGE_VX 0xfc00707f #define MATCH_VSEQ_VX 0x60004057 @@ -1114,10 +1114,10 @@ #define MASK_VXOR_VV 0xfc00707f #define MATCH_VRGATHER_VV 0x30000057 #define MASK_VRGATHER_VV 0xfc00707f -#define MATCH_VADC_VV 0x40000057 -#define MASK_VADC_VV 0xfc00707f -#define MATCH_VSBC_VV 0x48000057 -#define MASK_VSBC_VV 0xfc00707f +#define MATCH_VADC_VV 0x42000057 +#define MASK_VADC_VV 0xfe00707f +#define MATCH_VSBC_VV 0x4a000057 +#define MASK_VSBC_VV 0xfe00707f #define MATCH_VMERGE_VV 0x5c000057 #define MASK_VMERGE_VV 0xfc00707f #define MATCH_VSEQ_VV 0x60000057 @@ -1196,8 +1196,8 @@ #define MASK_VSLIDEUP_VI 0xfc00707f #define MATCH_VSLIDEDOWN_VI 0x3c003057 #define MASK_VSLIDEDOWN_VI 0xfc00707f -#define MATCH_VADC_VI 0x40003057 -#define MASK_VADC_VI 0xfc00707f +#define MATCH_VADC_VI 0x42003057 +#define MASK_VADC_VI 0xfe00707f #define MATCH_VMERGE_VI 0x5c003057 #define MASK_VMERGE_VI 0xfc00707f #define MATCH_VSEQ_VI 0x60003057 @@ -1252,14 +1252,12 @@ #define MASK_VREDMAXU_VS 0xfc00707f #define MATCH_VREDMAX_VS 0x1c002057 #define MASK_VREDMAX_VS 0xfc00707f -#define MATCH_VEXT_X_V 0x30002057 -#define MASK_VEXT_X_V 0xfc00707f +#define MATCH_VEXT_X_V 0x32002057 +#define MASK_VEXT_X_V 0xfe00707f #define MATCH_VMPOPC_M 0x50002057 #define MASK_VMPOPC_M 0xfc00707f #define MATCH_VMFIRST_M 0x54002057 #define MASK_VMFIRST_M 0xfc00707f -#define MATCH_VMUNARY0_VV 0x58002057 -#define MASK_VMUNARY0_VV 0xfc00707f #define MATCH_VCOMPRESS_VM 0x5c002057 #define MASK_VCOMPRESS_VM 0xfc00707f #define MATCH_VMANDNOT_MM 0x60002057 @@ -1278,6 +1276,16 @@ #define MASK_VMNOR_MM 0xfc00707f #define MATCH_VMXNOR_MM 0x7c002057 #define MASK_VMXNOR_MM 0xfc00707f +#define MATCH_VMSBF_M 0x5800a057 +#define MASK_VMSBF_M 0xfc0ff07f +#define MATCH_VMSOF_M 0x58012057 +#define MASK_VMSOF_M 0xfc0ff07f +#define MATCH_VMSIF_M 0x5801a057 +#define MASK_VMSIF_M 0xfc0ff07f +#define MATCH_VIOTA_M 0x58082057 +#define MASK_VIOTA_M 0xfc0ff07f +#define MATCH_VID_V 0x5808a057 +#define MASK_VID_V 0xfc0ff07f #define MATCH_VDIVU_VV 0x80002057 #define MASK_VDIVU_VV 0xfc00707f #define MATCH_VDIV_VV 0x84002057 @@ -1332,8 +1340,8 @@ #define MASK_VWMSACU_VV 0xfc00707f #define MATCH_VWMSAC_VV 0xfc002057 #define MASK_VWMSAC_VV 0xfc00707f -#define MATCH_VMV_S_X 0x34006057 -#define MASK_VMV_S_X 0xfc00707f +#define MATCH_VMV_S_X 0x36006057 +#define MASK_VMV_S_X 0xfe00707f #define MATCH_VSLIDE1UP_VX 0x38006057 #define MASK_VSLIDE1UP_VX 0xfc00707f #define MATCH_VSLIDE1DOWN_VX 0x3c006057 @@ -2178,7 +2186,6 @@ DECLARE_INSN(vredmax_vs, MATCH_VREDMAX_VS, MASK_VREDMAX_VS) DECLARE_INSN(vext_x_v, MATCH_VEXT_X_V, MASK_VEXT_X_V) DECLARE_INSN(vmpopc_m, MATCH_VMPOPC_M, MASK_VMPOPC_M) DECLARE_INSN(vmfirst_m, MATCH_VMFIRST_M, MASK_VMFIRST_M) -DECLARE_INSN(vmunary0_vv, MATCH_VMUNARY0_VV, MASK_VMUNARY0_VV) DECLARE_INSN(vcompress_vm, MATCH_VCOMPRESS_VM, MASK_VCOMPRESS_VM) DECLARE_INSN(vmandnot_mm, MATCH_VMANDNOT_MM, MASK_VMANDNOT_MM) DECLARE_INSN(vmand_mm, MATCH_VMAND_MM, MASK_VMAND_MM) @@ -2188,6 +2195,11 @@ DECLARE_INSN(vmornot_mm, MATCH_VMORNOT_MM, MASK_VMORNOT_MM) DECLARE_INSN(vmnand_mm, MATCH_VMNAND_MM, MASK_VMNAND_MM) DECLARE_INSN(vmnor_mm, MATCH_VMNOR_MM, MASK_VMNOR_MM) DECLARE_INSN(vmxnor_mm, MATCH_VMXNOR_MM, MASK_VMXNOR_MM) +DECLARE_INSN(vmsbf_m, MATCH_VMSBF_M, MASK_VMSBF_M) +DECLARE_INSN(vmsof_m, MATCH_VMSOF_M, MASK_VMSOF_M) +DECLARE_INSN(vmsif_m, MATCH_VMSIF_M, MASK_VMSIF_M) +DECLARE_INSN(viota_m, MATCH_VIOTA_M, MASK_VIOTA_M) +DECLARE_INSN(vid_v, MATCH_VID_V, MASK_VID_V) DECLARE_INSN(vdivu_vv, MATCH_VDIVU_VV, MASK_VDIVU_VV) DECLARE_INSN(vdiv_vv, MATCH_VDIV_VV, MASK_VDIV_VV) DECLARE_INSN(vremu_vv, MATCH_VREMU_VV, MASK_VREMU_VV) |