diff options
author | Yunsup Lee <yunsup@cs.berkeley.edu> | 2012-03-13 22:23:58 -0700 |
---|---|---|
committer | Yunsup Lee <yunsup@cs.berkeley.edu> | 2012-03-13 22:23:58 -0700 |
commit | 4e8cdcaeccd1c714b32b1f8874e995d77230de14 (patch) | |
tree | ba5c96de889401ed755c9843593a7ec153ffb2cd | |
parent | 55da253e4e077e301fab5349f8d88e7ed02ed425 (diff) | |
download | spike-4e8cdcaeccd1c714b32b1f8874e995d77230de14.zip spike-4e8cdcaeccd1c714b32b1f8874e995d77230de14.tar.gz spike-4e8cdcaeccd1c714b32b1f8874e995d77230de14.tar.bz2 |
add vvcfg,vtcfg
-rw-r--r-- | riscv/dispatch.h | 1 | ||||
-rw-r--r-- | riscv/insns/vtcfg.h | 5 | ||||
-rw-r--r-- | riscv/insns/vvcfg.h | 5 | ||||
-rw-r--r-- | riscv/opcodes.h | 4 |
4 files changed, 14 insertions, 1 deletions
diff --git a/riscv/dispatch.h b/riscv/dispatch.h index 7091899..0110577 100644 --- a/riscv/dispatch.h +++ b/riscv/dispatch.h @@ -174,6 +174,7 @@ reg_t insn_func_610(insn_t insn, reg_t reg); reg_t insn_func_611(insn_t insn, reg_t reg); reg_t insn_func_619(insn_t insn, reg_t reg); reg_t insn_func_626(insn_t insn, reg_t reg); +reg_t insn_func_627(insn_t insn, reg_t reg); reg_t insn_func_631(insn_t insn, reg_t reg); reg_t insn_func_633(insn_t insn, reg_t reg); reg_t insn_func_634(insn_t insn, reg_t reg); diff --git a/riscv/insns/vtcfg.h b/riscv/insns/vtcfg.h new file mode 100644 index 0000000..6e8cbd1 --- /dev/null +++ b/riscv/insns/vtcfg.h @@ -0,0 +1,5 @@ +require_vector; +nxpr_use = RS1 & 0x3f; +nfpr_use = RS2 & 0x3f; +vcfg(); +setvl(0); diff --git a/riscv/insns/vvcfg.h b/riscv/insns/vvcfg.h new file mode 100644 index 0000000..6e8cbd1 --- /dev/null +++ b/riscv/insns/vvcfg.h @@ -0,0 +1,5 @@ +require_vector; +nxpr_use = RS1 & 0x3f; +nfpr_use = RS2 & 0x3f; +vcfg(); +setvl(0); diff --git a/riscv/opcodes.h b/riscv/opcodes.h index 8627e72..1600477 100644 --- a/riscv/opcodes.h +++ b/riscv/opcodes.h @@ -6,8 +6,10 @@ DECLARE_INSN(vlsthu, 0x128b, 0x1ffff) DECLARE_INSN(c_swsp, 0x8, 0x1f) DECLARE_INSN(bltu, 0x363, 0x3ff) DECLARE_INSN(vlsegstwu, 0xb0b, 0xfff) +DECLARE_INSN(vvcfg, 0x473, 0xf801ffff) DECLARE_INSN(movz, 0x2f7, 0x1ffff) DECLARE_INSN(fcvt_lu_s, 0x9053, 0x3ff1ff) +DECLARE_INSN(c_ld, 0x9, 0x1f) DECLARE_INSN(fence_l_cv, 0x32f, 0x3ff) DECLARE_INSN(c_srli32, 0xc19, 0x1c1f) DECLARE_INSN(fmin_s, 0x18053, 0x1ffff) @@ -63,7 +65,7 @@ DECLARE_INSN(srlw, 0x2bb, 0x1ffff) DECLARE_INSN(vssegstb, 0x80f, 0xfff) DECLARE_INSN(mftx_d, 0x1c0d3, 0x3fffff) DECLARE_INSN(div, 0x633, 0x1ffff) -DECLARE_INSN(c_ld, 0x9, 0x1f) +DECLARE_INSN(vtcfg, 0xc73, 0xf801ffff) DECLARE_INSN(mftx_s, 0x1c053, 0x3fffff) DECLARE_INSN(vssegsth, 0x88f, 0xfff) DECLARE_INSN(vvcfgivl, 0xf3, 0x3ff) |