Re: [PATCH] riscv: implement TARGET_MODE_REP_EXTENDED

2022-11-04 Thread Philipp Tomsich
Alexander, I had missed your comment until now. On Tue, 6 Sept 2022 at 13:39, Alexander Monakov wrote: > > On Mon, 5 Sep 2022, Philipp Tomsich wrote: > > > +riscv_mode_rep_extended (scalar_int_mode mode, scalar_int_mode mode_rep) > > +{ > > + /* On 64-bit targets, SImode register values are sig

Re: [PATCH 5b/6] diagnostics: Remove null-termination requirement for json::string

2022-11-04 Thread David Malcolm via Gcc-patches
On Fri, 2022-11-04 at 17:05 -0400, Lewis Hyatt wrote: > [PATCH 5b/6] diagnostics: Remove null-termination requirement for > json::string > > json::string currently handles null-terminated data and so can't work > with > data that may contain embedded null bytes or that is not null- > terminated. >

Re: [PATCH 5a/6] diagnostics: Handle generated data locations in edit_context

2022-11-04 Thread David Malcolm via Gcc-patches
On Fri, 2022-11-04 at 17:05 -0400, Lewis Hyatt wrote: > [PATCH 5a/6] diagnostics: Handle generated data locations in > edit_context > > Class edit_context handles outputting fixit hints in diff form that > could be > manually or automatically applied by the user. This will not make > sense for > g

Re: [PATCH RFA] input: add get_source_text_between

2022-11-04 Thread David Malcolm via Gcc-patches
On Fri, 2022-11-04 at 13:06 -0400, Jason Merrill wrote: > On 11/4/22 11:16, David Malcolm wrote: > > On Fri, 2022-11-04 at 10:27 -0400, Jason Merrill wrote: > > > On 11/3/22 19:06, David Malcolm wrote: > > > > On Thu, 2022-11-03 at 15:59 -0400, Jason Merrill via Gcc- > > > > patches > > > > wrote:

[PATCH] [PHIOPT] Add A ? B + CST : B match and simplify optimizations

2022-11-04 Thread Zhongyunde via Gcc-patches
hi, This patch is try to fix the issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107190, would you like to give me some suggestion, thanks. ~/source/gccUpstreamDir/gcc/testsuite(cfg) ยป git format-patch -1 --start-number=00 HEAD -o ~/patch /home/zhongyunde/patch/-PHIOPT-Add-A-B-CST-B-ma

Re: [PATCH] [PHIOPT] Add A ? B + CST : B match and simplify optimizations

2022-11-04 Thread Andrew Pinski via Gcc-patches
On Fri, Nov 4, 2022 at 11:17 PM Zhongyunde wrote: > > hi, > This patch is try to fix the issue > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107190, > would you like to give me some suggestion, thanks. This seems like a "simplified" version of https://gcc.gnu.org/pipermail/gcc-patches/2021-No

<    1   2