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

2021-10-07 Thread Alistair Francis
On Thu, Oct 7, 2021 at 6:18 PM wrote: > > From: Frank Chang > > oprsz and maxsz are passed with the same value in commit: eee2d61e202. > However, vmv.v.v was missed in that commit and should pass the same > value as well in its tcg_gen_gvec_2_ptr() call. > > Signed-off-by: Frank Chang Thanks!

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

2021-10-07 Thread Richard Henderson
On 10/7/21 1:17 AM, frank.ch...@sifive.com wrote: From: Frank Chang oprsz and maxsz are passed with the same value in commit: eee2d61e202. However, vmv.v.v was missed in that commit and should pass the same value as well in its tcg_gen_gvec_2_ptr() call. Signed-off-by: Frank Chang ---

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

2021-10-07 Thread frank . chang
From: Frank Chang oprsz and maxsz are passed with the same value in commit: eee2d61e202. However, vmv.v.v was missed in that commit and should pass the same value as well in its tcg_gen_gvec_2_ptr() call. Signed-off-by: Frank Chang --- target/riscv/insn_trans/trans_rvv.c.inc | 3 ++- 1 file

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

2021-05-25 Thread Alistair Francis
On Fri, May 21, 2021 at 3: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

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

2021-05-24 Thread Richard Henderson
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

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

2021-05-20 Thread LIU Zhiwei
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