qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] target/riscv: Pass the same value to oprsz and maxsz.


From: Richard Henderson
Subject: Re: [PATCH] target/riscv: Pass the same value to oprsz and maxsz.
Date: Mon, 24 May 2021 11:04:13 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

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_liu@c-sky.com>
---
  target/riscv/insn_trans/trans_rvv.c.inc | 89 ++++++++++++++-----------
  1 file changed, 50 insertions(+), 39 deletions(-)

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

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]