aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2012-03-13 10:15:45 -0700
committerYunsup Lee <yunsup@cs.berkeley.edu>2012-03-13 10:16:08 -0700
commit55da253e4e077e301fab5349f8d88e7ed02ed425 (patch)
tree1b733d0a98649acc4cf75b2194b8d4b7c4d86ae4
parent5a79943f7dc00f2b637b35deec4045d0c16f94c0 (diff)
downloadspike-55da253e4e077e301fab5349f8d88e7ed02ed425.zip
spike-55da253e4e077e301fab5349f8d88e7ed02ed425.tar.gz
spike-55da253e4e077e301fab5349f8d88e7ed02ed425.tar.bz2
opcodes cleanup
-rw-r--r--riscv/insns/vwaitkill.h0
-rw-r--r--riscv/opcodes.h15
2 files changed, 7 insertions, 8 deletions
diff --git a/riscv/insns/vwaitkill.h b/riscv/insns/vwaitkill.h
deleted file mode 100644
index e69de29..0000000
--- a/riscv/insns/vwaitkill.h
+++ /dev/null
diff --git a/riscv/opcodes.h b/riscv/opcodes.h
index fcd5225..8627e72 100644
--- a/riscv/opcodes.h
+++ b/riscv/opcodes.h
@@ -9,6 +9,7 @@ DECLARE_INSN(vlsegstwu, 0xb0b, 0xfff)
DECLARE_INSN(movz, 0x2f7, 0x1ffff)
DECLARE_INSN(fcvt_lu_s, 0x9053, 0x3ff1ff)
DECLARE_INSN(fence_l_cv, 0x32f, 0x3ff)
+DECLARE_INSN(c_srli32, 0xc19, 0x1c1f)
DECLARE_INSN(fmin_s, 0x18053, 0x1ffff)
DECLARE_INSN(c_lw0, 0x12, 0x801f)
DECLARE_INSN(slliw, 0x9b, 0x3f83ff)
@@ -102,6 +103,7 @@ DECLARE_INSN(addi, 0x13, 0x3ff)
DECLARE_INSN(vfmst, 0x1173, 0x1ffff)
DECLARE_INSN(mulh, 0x4b3, 0x1ffff)
DECLARE_INSN(fmul_s, 0x2053, 0x1f1ff)
+DECLARE_INSN(vwaitxcpt, 0x1807b, 0xffffffff)
DECLARE_INSN(vlsegsthu, 0xa8b, 0xfff)
DECLARE_INSN(srai, 0x10293, 0x3f03ff)
DECLARE_INSN(amoand_d, 0x9ab, 0x1ffff)
@@ -122,10 +124,12 @@ DECLARE_INSN(c_add3, 0x1c, 0x31f)
DECLARE_INSN(sraiw, 0x1029b, 0x3f83ff)
DECLARE_INSN(vssegd, 0x218f, 0x1ffff)
DECLARE_INSN(srl, 0x2b3, 0x1ffff)
+DECLARE_INSN(venqcmd, 0x1007b, 0xf801ffff)
DECLARE_INSN(vfmts, 0x1973, 0x1ffff)
+DECLARE_INSN(venqimm1, 0x100fb, 0xf801ffff)
DECLARE_INSN(fsgnjx_s, 0x7053, 0x1ffff)
DECLARE_INSN(vfmsv, 0x973, 0x3fffff)
-DECLARE_INSN(feq_d, 0x150d3, 0x1ffff)
+DECLARE_INSN(venqimm2, 0x1017b, 0xf801ffff)
DECLARE_INSN(fcvt_d_wu, 0xf0d3, 0x3ff1ff)
DECLARE_INSN(vmts, 0x1873, 0x1ffff)
DECLARE_INSN(or, 0x333, 0x1ffff)
@@ -149,7 +153,7 @@ DECLARE_INSN(vlstd, 0x118b, 0x1ffff)
DECLARE_INSN(c_ld0, 0x8012, 0x801f)
DECLARE_INSN(rdtime, 0x677, 0x7ffffff)
DECLARE_INSN(andi, 0x393, 0x3ff)
-DECLARE_INSN(c_srli32, 0xc19, 0x1c1f)
+DECLARE_INSN(venqcnt, 0x101fb, 0xf801ffff)
DECLARE_INSN(fsgnjn_d, 0x60d3, 0x1ffff)
DECLARE_INSN(fnmadd_s, 0x4f, 0x1ff)
DECLARE_INSN(jal, 0x6f, 0x7f)
@@ -233,6 +237,7 @@ DECLARE_INSN(fmadd_s, 0x43, 0x1ff)
DECLARE_INSN(fcvt_w_s, 0xa053, 0x3ff1ff)
DECLARE_INSN(vssegh, 0x208f, 0x1ffff)
DECLARE_INSN(fsqrt_s, 0x4053, 0x3ff1ff)
+DECLARE_INSN(feq_d, 0x150d3, 0x1ffff)
DECLARE_INSN(c_srai, 0x1019, 0x1c1f)
DECLARE_INSN(amomin_w, 0x112b, 0x1ffff)
DECLARE_INSN(fsgnjn_s, 0x6053, 0x1ffff)
@@ -270,9 +275,3 @@ DECLARE_INSN(vlseghu, 0x228b, 0x1ffff)
DECLARE_INSN(vssegb, 0x200f, 0x1ffff)
DECLARE_INSN(vfssegd, 0x258f, 0x1ffff)
DECLARE_INSN(sd, 0x1a3, 0x3ff)
-DECLARE_INSN(venqcmd, 0x1007b, 0xf801ffff)
-DECLARE_INSN(venqimm1, 0x100fb, 0xf801ffff)
-DECLARE_INSN(venqimm2, 0x1017b, 0xf801ffff)
-DECLARE_INSN(venqcnt, 0x101fb, 0xf801ffff)
-DECLARE_INSN(vwaitxcpt, 0x1807b, 0xffffffff)
-DECLARE_INSN(vwaitkill, 0x180fb, 0xffffffff)