Re: [PATCH] rs6000: Fix __builtin_vec_xst_trunc definition

2023-06-01 Thread Kewen.Lin via Gcc-patches
on 2023/6/2 04:01, Carl Love wrote: > On Wed, 2023-05-31 at 12:59 -0500, Peter Bergner wrote: >> On 5/22/23 4:04 AM, Kewen.Lin wrote: >>> on 2023/5/11 02:06, Carl Love via Gcc-patches wrote: @@ -3161,12 +3161,15 @@ void __builtin_altivec_tr_stxvrbx (vsq, signed long, signed char *

Re: [RFC] light expander sra for parameters and returns

2023-06-01 Thread Jiufu Guo via Gcc-patches
Hi, Martin Jambor writes: > Hi, > > On Tue, May 30 2023, Richard Biener wrote: >> On Mon, 29 May 2023, Jiufu Guo wrote: >> >>> Hi, >>> >>> Previously, I was investigating some struct parameters and returns related >>> PRs 69143/65421/108073. >>> >>> Investigating the issues case by case, and

Re: [RFC] light expander sra for parameters and returns

2023-06-01 Thread Jiufu Guo via Gcc-patches
Hi, Richard Biener writes: > On Mon, 29 May 2023, Jiufu Guo wrote: > >> Hi, >> >> Previously, I was investigating some struct parameters and returns related >> PRs 69143/65421/108073. >> >> Investigating the issues case by case, and drafting patches for each of >> them one by one. This would

Re: ping^^: [PATCH] rs6000: Enable const_anchor for 'addi'

2023-06-01 Thread Jiufu Guo via Gcc-patches
Hi David, Thanks! David Edelsohn writes: > This Message Is From an External Sender > This message came from outside your organization. > > On Tue, May 30, 2023 at 11:00 PM Jiufu Guo wrote: > > Gentle ping... > > Jiufu Guo via Gcc-patches writes: > > > Gentle ping... > > > > Jiufu G

Re: [PATCH v5] tree-ssa-sink: Improve code sinking pass

2023-06-01 Thread Ajit Agarwal via Gcc-patches
On 01/06/23 2:06 pm, Bernhard Reutner-Fischer wrote: > On 1 June 2023 09:20:08 CEST, Ajit Agarwal wrote: >> Hello All: >> >> This patch improves code sinking pass to sink statements before call to >> reduce >> register pressure. >> Review comments are incorporated. > > Hi Ajit! > > I had two

Re: [PATCH] RISC-V: Fix warning in predicated.md

2023-06-01 Thread Kito Cheng via Gcc-patches
Ok 於 2023年6月2日 週五 11:05 寫道: > From: Juzhe-Zhong > > Notice there is warning in predicates.md: > ../../../riscv-gcc/gcc/config/riscv/predicates.md: In function ‘bool > arith_operand_or_mode_mask(rtx, machine_mode)’: > ../../../riscv-gcc/gcc/config/riscv/predicates.md:33:14: warning: > comparison

[PATCH] RISC-V: Remove unnecessary md pattern for TARGET_XTHEADCONDMOV

2023-06-01 Thread Die Li
There are 2 small changes in this patch, but they do not affect the result. 1. Remove unnecessary md pattern for TARGET_XTHEADCONDMOV in thead.md. The operands[4] in "if_then_else" are always comparison operations, so the generated rtl does not match the pattern that is expected to be deleted.

RE: [PATCH] RISC-V: Fix warning in predicated.md

2023-06-01 Thread Li, Pan2 via Gcc-patches
Committed, thanks Kito. Pan -Original Message- From: Gcc-patches On Behalf Of Kito Cheng via Gcc-patches Sent: Friday, June 2, 2023 1:13 PM To: 钟居哲 Cc: GCC Patches ; Kito Cheng ; Palmer Dabbelt ; Palmer Dabbelt ; Jeff Law ; Robin Dapp Subject: Re: [PATCH] RISC-V: Fix warning in pred

[PATCH] RISC-V: Optimize reverse series index vector

2023-06-01 Thread juzhe . zhong
From: Juzhe-Zhong This patch optimizes the following seriese vector: [nunits - 1, nunits - 2, , 0] Before this patch: vid vmul vadd After this patch: vid vrsub This patch is an obvious and simple optimization, ok for trunk? gcc/ChangeLog: * config/riscv/riscv-v.cc (expand_vec_ser

<    1   2