diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-07-29 21:32:46 -0700 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-07-29 21:38:43 -0700 |
commit | 9fadb08893847f137b612e9e83b3849bf67861a5 (patch) | |
tree | 2b4dbe9b54a9dcb1f30edc659c853c44cb1ed5c0 /riscv/decode.h | |
parent | a4482608e81e8c301967ac7b51a8fc9b6e856db8 (diff) | |
download | riscv-isa-sim-9fadb08893847f137b612e9e83b3849bf67861a5.zip riscv-isa-sim-9fadb08893847f137b612e9e83b3849bf67861a5.tar.gz riscv-isa-sim-9fadb08893847f137b612e9e83b3849bf67861a5.tar.bz2 |
rvv: fix frac_lmul get function
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'riscv/decode.h')
-rw-r--r-- | riscv/decode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/decode.h b/riscv/decode.h index c5169af..d564d08 100644 --- a/riscv/decode.h +++ b/riscv/decode.h @@ -118,8 +118,8 @@ public: uint64_t v_zimm5() { return x(15, 5); } uint64_t v_zimm11() { return x(20, 11); } uint64_t v_lmul() { return x(20, 2); } + uint64_t v_frac_lmul() { return x(22, 1); } uint64_t v_sew() { return 1 << (x(23, 3) + 3); } - uint64_t v_frac_lmul() { return x(23, 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); } |