On 5/20/21 10:48 PM, LIU Zhiwei wrote:
Since commit e2e7168a214b0ed98dc357bba96816486a289762, if oprsz
is still zero(as we don't use this field), simd_desc will trigger an
assert.

Besides, tcg_gen_gvec_*_ptr calls simd_desc in it's implementation.
Here we pass the value to maxsz and oprsz to bypass the assert.

Signed-off-by: LIU Zhiwei<zhiwei_...@c-sky.com>
---
  target/riscv/insn_trans/trans_rvv.c.inc | 89 ++++++++++++++-----------
  1 file changed, 50 insertions(+), 39 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to