From ba69781e5d2bdafc5f8356e246c56261ec838729 Mon Sep 17 00:00:00 2001 From: Chih-Min Chao Date: Mon, 25 May 2020 00:11:48 -0700 Subject: rvv: fix wrong vill checking Signed-off-by: Chih-Min Chao --- riscv/insns/vmv_x_s.h | 1 + 1 file changed, 1 insertion(+) (limited to 'riscv/insns/vmv_x_s.h') diff --git a/riscv/insns/vmv_x_s.h b/riscv/insns/vmv_x_s.h index 086812b..04cad1c 100644 --- a/riscv/insns/vmv_x_s.h +++ b/riscv/insns/vmv_x_s.h @@ -1,4 +1,5 @@ // vmv_x_s: rd = vs2[rs1] +require_vector; require(insn.v_vm() == 1); uint64_t xmask = UINT64_MAX >> (64 - P.get_max_xlen()); reg_t rs1 = RS1; -- cgit v1.1