Re: [PATCH] Replace a HWI_COMPUTABLE_MODE_P with wide-int in simplify-rtx.cc.

2023-05-29 Thread Richard Biener via Gcc-patches
On Fri, May 26, 2023 at 8:44 PM Roger Sayle wrote: > > > This patch enhances one of the optimizations in simplify_binary_operation_1 > to allow it to simplify RTL expressions in modes than HOST_WIDE_INT by > replacing a use of HWI_COMPUTABLE_MODE_P and UINTVAL with wide_int. > > The motivating exa

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

2023-05-29 Thread Richard Biener via Gcc-patches
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 help us to enhance code incrementally. >

Re: [PATCH] RISC-V: Basic VLS code gen for RISC-V

2023-05-29 Thread Kito Cheng via Gcc-patches
> >> /* Return true if MODE is true VLS mode. */ > >> bool > >> vls_mode_p (machine_mode mode) > >> { > >> switch (mode) > >> { > >> case E_V4SImode: > >> case E_V2DImode: > >> case E_V8HImode: > >> case E_V16QImode: > >> return true; > >> default: > >> return

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

2023-05-29 Thread Andrew Pinski via Gcc-patches
On Sun, May 28, 2023 at 8:53 PM Jiufu Guo via Gcc-patches 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 help us to enh

Re: Re: [PATCH 1/1] [V2] [RISC-V] support cm.push cm.pop cm.popret in zcmp

2023-05-29 Thread Fei Gao
On 2023-05-29 11:05  Kito Cheng wrote: > >Thanks for this patch, just few minor comment, I think this is pretty >close to accept :) > >Could you reference JiaWei's match_parallel[1] to prevent adding bunch >of *_offset_operand and stack_push_up_to_*_operand? > > >[1] >https://patchwork.sourceware

<    1   2