Browse Source

rvv: handle middle value of vslidedown.vx

The spec doesn't limit the range of middle value.

Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
pull/417/head
Chih-Min Chao 6 years ago
parent
commit
ef5950ea11
  1. 2
      riscv/insns/vslidedown_vx.h

2
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;

Loading…
Cancel
Save