aboutsummaryrefslogtreecommitdiff
path: root/riscv/decode.h
diff options
context:
space:
mode:
authorDave.Wen <dave.wen@sifive.com>2020-05-13 05:12:00 -0700
committerDave.Wen <dave.wen@sifive.com>2020-05-13 05:12:00 -0700
commit170ff9c86f928479d75a08e4f72c2e7d7e5b34a0 (patch)
tree083aebe3ef738abba108695cc744b80d40977f3a /riscv/decode.h
parentca171807aa81db67b01749e68e73013f58073adf (diff)
downloadspike-170ff9c86f928479d75a08e4f72c2e7d7e5b34a0.zip
spike-170ff9c86f928479d75a08e4f72c2e7d7e5b34a0.tar.gz
spike-170ff9c86f928479d75a08e4f72c2e7d7e5b34a0.tar.bz2
vtype: fix the vta and vma functions and debugging display
Diffstat (limited to 'riscv/decode.h')
-rw-r--r--riscv/decode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv/decode.h b/riscv/decode.h
index 5f8b829..1bbc017 100644
--- a/riscv/decode.h
+++ b/riscv/decode.h
@@ -118,10 +118,13 @@ public:
uint64_t v_zimm11() { return x(20, 11); }
uint64_t v_lmul() { return 1 << x(20, 2); }
uint64_t v_sew() { return 1 << (x(22, 3) + 3); }
+ uint64_t v_frac_lmul() { return 1 << x(25, 1); }
uint64_t v_width() { return x(12, 3); }
uint64_t v_mop() { return x(26, 2); }
uint64_t v_lumop() { return x(20, 5); }
uint64_t v_sumop() { return x(20, 5); }
+ uint64_t v_vta() { return x(26, 1); }
+ uint64_t v_vma() { return x(27, 1); }
uint64_t v_mew() { return x(28, 1); }
private: