Re: Re: [PATCH] RISC-V: Fix PR109615

2023-05-04 Thread juzhe.zh...@rivai.ai
I have sent V2: https://gcc.gnu.org/pipermail/gcc-patches/2023-May/617504.html adding more comments. Is that OK? juzhe.zh...@rivai.ai From: Kito Cheng Date: 2023-05-05 14:21 To: juzhe.zhong CC: gcc-patches; palmer; jeffreyalaw; rdapp.gcc Subject: Re: [PATCH] RISC-V: Fix PR109615 Could you

Re: [PATCH] RISC-V: Fix PR109615

2023-05-04 Thread Kito Cheng via Gcc-patches
Could you add more description rather than post code gen results in the comment ? On Fri, May 5, 2023 at 1:21 PM wrote: > > From: Juzhe-Zhong > > Before this patch: > > ... > .L2: > addia4,a1,100 > add t1,a0,a2 > mv t0,a0 > beq a2,zero,.L1 >

[PATCH] RISC-V: Fix PR109615

2023-05-04 Thread juzhe . zhong
From: Juzhe-Zhong Before this patch: ... .L2: addia4,a1,100 add t1,a0,a2 mv t0,a0 beq a2,zero,.L1 vsetvli zero,a3,e8,mf8,tu,mu .L4: addia6,t0,100 addia7,a4,-100 vle8.v v1,0(t0) addit0,t0,1