diff options
Diffstat (limited to 'pk/riscv-opc.h')
-rw-r--r-- | pk/riscv-opc.h | 46 |
1 files changed, 22 insertions, 24 deletions
diff --git a/pk/riscv-opc.h b/pk/riscv-opc.h index c3d69ab..7bad495 100644 --- a/pk/riscv-opc.h +++ b/pk/riscv-opc.h @@ -50,7 +50,7 @@ #define MATCH_FCVT_D_S 0x100d3 #define MASK_FCVT_D_S 0x3ff1ff #define MATCH_MFPCR 0x17b -#define MASK_MFPCR 0x7c1ffff +#define MASK_MFPCR 0x3fffff #define MATCH_C_FSD 0x18 #define MASK_C_FSD 0x1f #define MATCH_FMAX_D 0x190d3 @@ -69,14 +69,14 @@ #define MASK_VFLSTD 0x1ffff #define MATCH_C_LI 0x0 #define MASK_C_LI 0x1f -#define MATCH_DI 0xfb -#define MASK_DI 0x7ffffff +#define MATCH_FADD_D 0xd3 +#define MASK_FADD_D 0x1f1ff #define MATCH_SLTIU 0x193 #define MASK_SLTIU 0x3ff #define MATCH_MTPCR 0x1fb -#define MASK_MTPCR 0xf801ffff -#define MATCH_VXCPTWAIT 0x180fb -#define MASK_VXCPTWAIT 0xffffffff +#define MASK_MTPCR 0x1ffff +#define MATCH_VLB 0xb +#define MASK_VLB 0x3fffff #define MATCH_STOP 0x177 #define MASK_STOP 0xffffffff #define MATCH_VLD 0x18b @@ -95,7 +95,7 @@ #define MASK_MUL 0x1ffff #define MATCH_C_LW 0xa #define MASK_C_LW 0x1f -#define MATCH_VXCPTEVAC 0x1807b +#define MATCH_VXCPTEVAC 0x237b #define MASK_VXCPTEVAC 0xf83fffff #define MATCH_VLW 0x10b #define MASK_VLW 0x3fffff @@ -143,8 +143,6 @@ #define MASK_VVCFGIVL 0x3ff #define MATCH_J 0x67 #define MASK_J 0x7f -#define MATCH_EI 0x7b -#define MASK_EI 0x7ffffff #define MATCH_FENCE 0x12f #define MASK_FENCE 0x3ff #define MATCH_VSW 0x10f @@ -175,8 +173,6 @@ #define MASK_FENCE_I 0x3ff #define MATCH_VLSEGBU 0x220b #define MASK_VLSEGBU 0x1ffff -#define MATCH_VLSEGSTB 0x80b -#define MASK_VLSEGSTB 0xfff #define MATCH_FNMSUB_D 0xcb #define MASK_FNMSUB_D 0x1ff #define MATCH_ADDW 0x3b @@ -257,20 +253,22 @@ #define MASK_VSSEGD 0x1ffff #define MATCH_SRL 0x2b3 #define MASK_SRL 0x1ffff -#define MATCH_VENQCMD 0x181fb +#define MATCH_VENQCMD 0x2b7b #define MASK_VENQCMD 0xf801ffff #define MATCH_VFMTS 0x1973 #define MASK_VFMTS 0x1ffff -#define MATCH_VENQIMM1 0x1827b +#define MATCH_VENQIMM1 0x2f7b #define MASK_VENQIMM1 0xf801ffff #define MATCH_FSGNJX_S 0x7053 #define MASK_FSGNJX_S 0x1ffff #define MATCH_VFMSV 0x973 #define MASK_VFMSV 0x3fffff -#define MATCH_VENQIMM2 0x182fb +#define MATCH_VENQIMM2 0x337b #define MASK_VENQIMM2 0xf801ffff #define MATCH_FCVT_D_WU 0xf0d3 #define MASK_FCVT_D_WU 0x3ff1ff +#define MATCH_VXCPTRESTORE 0x77b +#define MASK_VXCPTRESTORE 0xf83fffff #define MATCH_VMTS 0x1873 #define MASK_VMTS 0x1ffff #define MATCH_OR 0x333 @@ -315,7 +313,9 @@ #define MASK_RDTIME 0x7ffffff #define MATCH_ANDI 0x393 #define MASK_ANDI 0x3ff -#define MATCH_VENQCNT 0x1837b +#define MATCH_CLEARPCR 0x7b +#define MASK_CLEARPCR 0x3ff +#define MATCH_VENQCNT 0x377b #define MASK_VENQCNT 0xf801ffff #define MATCH_FSGNJN_D 0x60d3 #define MASK_FSGNJN_D 0x1ffff @@ -435,9 +435,9 @@ #define MASK_C_SUB3 0x31f #define MATCH_VSH 0x8f #define MASK_VSH 0x3fffff -#define MATCH_VLB 0xb -#define MASK_VLB 0x3fffff -#define MATCH_VXCPTSAVE 0x1007b +#define MATCH_VLSEGSTB 0x80b +#define MASK_VLSEGSTB 0xfff +#define MATCH_VXCPTSAVE 0x37b #define MASK_VXCPTSAVE 0xf83fffff #define MATCH_VLSEGSTD 0x98b #define MASK_VLSEGSTD 0xfff @@ -461,13 +461,11 @@ #define MASK_VMSV 0x3fffff #define MATCH_VMST 0x1073 #define MASK_VMST 0x1ffff -#define MATCH_FADD_D 0xd3 -#define MASK_FADD_D 0x1f1ff -#define MATCH_VXCPTRESTORE 0x100fb -#define MASK_VXCPTRESTORE 0xf83fffff +#define MATCH_SETPCR 0xfb +#define MASK_SETPCR 0x3ff #define MATCH_RDNPC 0x26b #define MASK_RDNPC 0x7ffffff -#define MATCH_VXCPTHOLD 0x1817b +#define MATCH_VXCPTHOLD 0x277b #define MASK_VXCPTHOLD 0xffffffff #define MATCH_FCVT_S_L 0xc053 #define MASK_FCVT_S_L 0x3ff1ff @@ -489,7 +487,7 @@ #define MASK_VSSEGH 0x1ffff #define MATCH_FSQRT_S 0x4053 #define MASK_FSQRT_S 0x3ff1ff -#define MATCH_VXCPTKILL 0x1017b +#define MATCH_VXCPTKILL 0xb7b #define MASK_VXCPTKILL 0xffffffff #define MATCH_C_SRAI 0x1019 #define MASK_C_SRAI 0x1c1f |