aboutsummaryrefslogtreecommitdiff
path: root/riscv/decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/decode.h')
-rw-r--r--riscv/decode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/decode.h b/riscv/decode.h
index 218df98..27a449d 100644
--- a/riscv/decode.h
+++ b/riscv/decode.h
@@ -119,7 +119,7 @@ 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_frac_lmul() { return 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); }