aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--riscv/decode.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/riscv/decode.h b/riscv/decode.h
index 5226948..a0f9f10 100644
--- a/riscv/decode.h
+++ b/riscv/decode.h
@@ -462,9 +462,7 @@ static inline bool is_aligned(const unsigned val, const unsigned pos)
require_align(insn.rd(), P.VU.vflmul); \
require_align(insn.rs2(), P.VU.vemul); \
require((nf * flmul) <= (NVPR / 4) && \
- (nf * emul) <= (NVPR / 4) && \
- (insn.rd() + nf * flmul) <= NVPR && \
- (insn.rs2() + nf * emul) <= NVPR); \
+ (insn.rd() + nf * flmul) <= NVPR); \
#define VI_CHECK_LD_INDEX(elt_width) \
VI_CHECK_ST_INDEX(elt_width); \