From ef5950ea11c4ef97bbe9a025a70950f754b38959 Mon Sep 17 00:00:00 2001 From: Chih-Min Chao Date: Tue, 3 Mar 2020 19:39:30 -0800 Subject: rvv: handle middle value of vslidedown.vx The spec doesn't limit the range of middle value. Signed-off-by: Chih-Min Chao --- riscv/insns/vslidedown_vx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscv/insns/vslidedown_vx.h b/riscv/insns/vslidedown_vx.h index 9881e0e..744a7a5 100644 --- a/riscv/insns/vslidedown_vx.h +++ b/riscv/insns/vslidedown_vx.h @@ -4,7 +4,7 @@ require((insn.rd() & (P.VU.vlmul - 1)) == 0); if (P.VU.vlmul > 1 && insn.v_vm() == 0) require(insn.rd() != 0); -const reg_t sh = RS1; +const uint128_t sh = RS1; VI_LOOP_BASE reg_t offset = 0; -- cgit v1.1