From 9fadb08893847f137b612e9e83b3849bf67861a5 Mon Sep 17 00:00:00 2001 From: Chih-Min Chao Date: Wed, 29 Jul 2020 21:32:46 -0700 Subject: rvv: fix frac_lmul get function Signed-off-by: Chih-Min Chao --- riscv/decode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscv') 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); } -- cgit v1.1