aboutsummaryrefslogtreecommitdiff
path: root/pk
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-01-25 22:56:38 -0800
committerAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-01-25 22:56:38 -0800
commit9c3ff9eccdc398ddb5707a98793c5a2fdfb14f33 (patch)
tree9dd9ea7828274720bb1f2bb53bf9ec26b4a89e50 /pk
parentda568c7f5e3d60ce37091572affa815439ae932d (diff)
downloadriscv-pk-9c3ff9eccdc398ddb5707a98793c5a2fdfb14f33.zip
riscv-pk-9c3ff9eccdc398ddb5707a98793c5a2fdfb14f33.tar.gz
riscv-pk-9c3ff9eccdc398ddb5707a98793c5a2fdfb14f33.tar.bz2
[sim,opcodes] add mulhsu instruction
Diffstat (limited to 'pk')
-rw-r--r--pk/riscv-opc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pk/riscv-opc.h b/pk/riscv-opc.h
index 8fdc700..c7e187f 100644
--- a/pk/riscv-opc.h
+++ b/pk/riscv-opc.h
@@ -119,7 +119,7 @@
#define MASK_ADDI 0x3ff
#define MATCH_FC_LT_D 0x160d3
#define MASK_FC_LT_D 0x1ffff
-#define MATCH_MULH 0x533
+#define MATCH_MULH 0x4b3
#define MASK_MULH 0x1ffff
#define MATCH_FMUL_S 0x2053
#define MASK_FMUL_S 0x1f1ff
@@ -197,6 +197,8 @@
#define MASK_AMOMAX_W 0x1ffff
#define MATCH_FCVT_W_S 0xa053
#define MASK_FCVT_W_S 0x3ff1ff
+#define MATCH_MULHSU 0x533
+#define MASK_MULHSU 0x1ffff
#define MATCH_AMOADD_W 0x143
#define MASK_AMOADD_W 0x1ffff
#define MATCH_FSINJ_S 0x5053