aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2012-03-03 15:10:56 -0800
committerYunsup Lee <yunsup@cs.berkeley.edu>2012-03-03 15:10:56 -0800
commitba7cca6fbbb4db678672f933fe2a86106d4128f2 (patch)
treed1cbb65ba0e46eef9ae5ae77dc8627857dcfc0ab
parentc898b63706fcb320ccbded030c671a1accd1b66f (diff)
downloadriscv-isa-sim-ba7cca6fbbb4db678672f933fe2a86106d4128f2.zip
riscv-isa-sim-ba7cca6fbbb4db678672f933fe2a86106d4128f2.tar.gz
riscv-isa-sim-ba7cca6fbbb4db678672f933fe2a86106d4128f2.tar.bz2
new instructions to handle vector exceptions
-rw-r--r--riscv/opcodes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/riscv/opcodes.h b/riscv/opcodes.h
index 519a75f..1e89804 100644
--- a/riscv/opcodes.h
+++ b/riscv/opcodes.h
@@ -270,3 +270,9 @@ DECLARE_INSN(vlseghu, 0x228b, 0x1ffff)
DECLARE_INSN(vssegb, 0x200f, 0x1ffff)
DECLARE_INSN(vfssegd, 0x258f, 0x1ffff)
DECLARE_INSN(sd, 0x1a3, 0x3ff)
+DECLARE_INSN(venqcmd, 0x1007b, 0xf83fffff)
+DECLARE_INSN(venqimm1, 0x100fb, 0xf83fffff)
+DECLARE_INSN(venqimm2, 0x1017b, 0xf83fffff)
+DECLARE_INSN(venqcnt, 0x101fb, 0xf83fffff)
+DECLARE_INSN(vwaitxcpt, 0x1807b, 0xffffffff)
+DECLARE_INSN(vwaitkill, 0x180fb, 0xffffffff)