Browse Source

rvv: check the vz/sext's eew

pull/613/head
Dave.Wen 6 years ago
committed by Chih-Min Chao
parent
commit
b8c05a222d
  1. 1
      riscv/decode.h

1
riscv/decode.h

@ -1864,6 +1864,7 @@ for (reg_t i = 0; i < P.VU.vlmax && P.VU.vl != 0; ++i) { \
require_vm; \
reg_t from = P.VU.vsew / div; \
require(from >= e8 && from <= e64); \
require(((float)P.VU.vflmul / div) >= ((float)P.VU.vsew_min / P.VU.ELEN)); \
require_align(insn.rd(), P.VU.vflmul); \
require_align(insn.rs2(), P.VU.vflmul / div); \
if ((P.VU.vflmul / div) < 1) { \

Loading…
Cancel
Save