aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2012-03-18 16:28:44 -0700
committerYunsup Lee <yunsup@cs.berkeley.edu>2012-03-18 16:28:44 -0700
commitb294e1965416dbe65ea3b9460f35d63c8d3f4d73 (patch)
treeed8774256c36010282b58fb5783558ad115332e2
parent343fbdf3b546af4fc85a761c65d623e4096a60fa (diff)
downloadpk-b294e1965416dbe65ea3b9460f35d63c8d3f4d73.zip
pk-b294e1965416dbe65ea3b9460f35d63c8d3f4d73.tar.gz
pk-b294e1965416dbe65ea3b9460f35d63c8d3f4d73.tar.bz2
clean up vector exception instructions
-rw-r--r--pk/riscv-opc.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/pk/riscv-opc.h b/pk/riscv-opc.h
index afcd2aa..f5f2564 100644
--- a/pk/riscv-opc.h
+++ b/pk/riscv-opc.h
@@ -37,6 +37,8 @@
#define MASK_LB 0x3ff
#define MATCH_VLWU 0x30b
#define MASK_VLWU 0x3fffff
+#define MATCH_FCVT_S_WU 0xf053
+#define MASK_FCVT_S_WU 0x3ff1ff
#define MATCH_FCVT_D_L 0xc0d3
#define MASK_FCVT_D_L 0x3ff1ff
#define MATCH_LH 0x83
@@ -77,7 +79,7 @@
#define MASK_SLTIU 0x3ff
#define MATCH_MTPCR 0x1fb
#define MASK_MTPCR 0xf801ffff
-#define MATCH_VXCPTWAIT 0x1817b
+#define MATCH_VXCPTWAIT 0x180fb
#define MASK_VXCPTWAIT 0xffffffff
#define MATCH_STOP 0x177
#define MASK_STOP 0xffffffff
@@ -257,17 +259,17 @@
#define MASK_VSSEGD 0x1ffff
#define MATCH_SRL 0x2b3
#define MASK_SRL 0x1ffff
-#define MATCH_VENQCMD 0x1007b
+#define MATCH_VENQCMD 0x181fb
#define MASK_VENQCMD 0xf801ffff
#define MATCH_VFMTS 0x1973
#define MASK_VFMTS 0x1ffff
-#define MATCH_VENQIMM1 0x100fb
+#define MATCH_VENQIMM1 0x1827b
#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 0x1017b
+#define MATCH_VENQIMM2 0x182fb
#define MASK_VENQIMM2 0xf801ffff
#define MATCH_FCVT_D_WU 0xf0d3
#define MASK_FCVT_D_WU 0x3ff1ff
@@ -315,7 +317,7 @@
#define MASK_RDTIME 0x7ffffff
#define MATCH_ANDI 0x393
#define MASK_ANDI 0x3ff
-#define MATCH_VENQCNT 0x101fb
+#define MATCH_VENQCNT 0x1837b
#define MASK_VENQCNT 0xf801ffff
#define MATCH_FSGNJN_D 0x60d3
#define MASK_FSGNJN_D 0x1ffff
@@ -437,6 +439,8 @@
#define MASK_VSH 0x3fffff
#define MATCH_VLB 0xb
#define MASK_VLB 0x3fffff
+#define MATCH_VXCPTSAVE 0x1007b
+#define MASK_VXCPTSAVE 0xffffffff
#define MATCH_VLSEGSTD 0x98b
#define MASK_VLSEGSTD 0xfff
#define MATCH_VFLSEGD 0x258b
@@ -461,11 +465,11 @@
#define MASK_VMST 0x1ffff
#define MATCH_FADD_D 0xd3
#define MASK_FADD_D 0x1f1ff
-#define MATCH_FCVT_S_WU 0xf053
-#define MASK_FCVT_S_WU 0x3ff1ff
+#define MATCH_VXCPTRESTORE 0x100fb
+#define MASK_VXCPTRESTORE 0xffffffff
#define MATCH_RDNPC 0x26b
#define MASK_RDNPC 0x7ffffff
-#define MATCH_VXCPTHOLD 0x181fb
+#define MATCH_VXCPTHOLD 0x1817b
#define MASK_VXCPTHOLD 0xffffffff
#define MATCH_FCVT_S_L 0xc053
#define MASK_FCVT_S_L 0x3ff1ff
@@ -487,7 +491,7 @@
#define MASK_VSSEGH 0x1ffff
#define MATCH_FSQRT_S 0x4053
#define MASK_FSQRT_S 0x3ff1ff
-#define MATCH_VXCPTKILL 0x180fb
+#define MATCH_VXCPTKILL 0x1017b
#define MASK_VXCPTKILL 0xffffffff
#define MATCH_C_SRAI 0x1019
#define MASK_C_SRAI 0x1c1f