Re: [PATCH,V3 1/2] opts: change write_symbols to support bitmasks

2021-05-20 Thread Indu Bhagat via Gcc-patches
On 5/20/21 2:40 AM, Richard Biener wrote: On Thu, May 13, 2021 at 12:53 AM Indu Bhagat via Gcc-patches wrote: [No changes from V2] To support multiple debug formats, we need to move away from explicit enumeration of each individual combination of debug formats. OK. Thanks, Richard. Commi

Re: [PATCH,V3 2/2] dwarf: new dwarf_debuginfo_p predicate

2021-05-20 Thread Indu Bhagat via Gcc-patches
On 5/20/21 2:40 AM, Richard Biener wrote: On Thu, May 13, 2021 at 12:52 AM Indu Bhagat via Gcc-patches wrote: [Changes from V2] - Tested build (make all-gcc) of cross compiler for target triplets containing c6x/mips/powerpc and darwin/cygwin. [End of changes from V2] This patch introd

[PATCH] libgccjit: Add function to set the initial value of a global variable [PR96089]

2021-05-20 Thread Antoni Boucher via Gcc-patches
Hi. I made this patch to set an arbitrary value to a global variable. This patch suffers from the same issue as inline assembly (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100380), i.e. it segfaults if the `rvalue` is created after the global variable. It seems to be a design issue so I'm not s

Re: [PATCH 1/2] Add IEEE 128-bit min/max support on PowerPC.

2021-05-20 Thread Michael Meissner via Gcc-patches
On Thu, May 20, 2021 at 02:25:58PM -0500, will schmidt wrote: > I'd throw the ternary term in there, easier to search for later. > s/?: operations/ternary (?:) operations / Thanks. > So, presumably the float128-minmax-2.c test adds/replaces the power10 > code gen tests that were removed or disab

Re: [PATCH 2/2] Add IEEE 128-bit fp conditional move on PowerPC.

2021-05-20 Thread Michael Meissner via Gcc-patches
On Thu, May 20, 2021 at 02:27:06PM -0500, will schmidt wrote: > > diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c > > index fdaf12aeda0..ef1ebaaee05 100644 > > --- a/gcc/config/rs6000/rs6000.c > > +++ b/gcc/config/rs6000/rs6000.c > > @@ -15706,8 +15706,8 @@ rs6000_emit_vector_c

Re: [PATCH] Allow __ibm128 on older PowerPC systems.

2021-05-20 Thread Michael Meissner via Gcc-patches
On Thu, May 20, 2021 at 02:29:02PM -0500, will schmidt wrote: > On Tue, 2021-05-18 at 16:36 -0400, Michael Meissner wrote: > > [PATCH] Allow __ibm128 on older PowerPC systems. > > > > Hi, > > > > On January 8th, 2018, I added code to ibm-ldouble.c to use the built-in > > function __builtin_pack

Re: [PATCH 1/2] Move xx* builtins to vsx.md.

2021-05-20 Thread Michael Meissner via Gcc-patches
On Thu, May 20, 2021 at 02:30:24PM -0500, will schmidt wrote: > > +;; XXPERMX built-in function support > > +(define_expand "xxpermx" > > + [(set (match_operand:V2DI 0 "register_operand" "+wa") > > + (unspec:V2DI [(match_operand:V2DI 1 "register_operand" "wa") > > + (match_operan

Re: [PATCH 2/2] Fix xxeval predicates.

2021-05-20 Thread Michael Meissner via Gcc-patches
On Thu, May 20, 2021 at 02:31:08PM -0500, will schmidt wrote: > On Tue, 2021-05-18 at 16:47 -0400, Michael Meissner wrote: > > [PATCH 2/2] Fix xxeval predicates. > > > > In doing the patch to move the XX* built-in functions from altivec.md to > > vsx.md, I noticed that the xxeval built-in function

Re: [PATCH] Fix vec-splati-runnable.c test.

2021-05-20 Thread Michael Meissner via Gcc-patches
On Thu, May 20, 2021 at 02:31:59PM -0500, will schmidt wrote: > On Tue, 2021-05-18 at 16:49 -0400, Michael Meissner wrote: > > [PATCH] Fix vec-splati-runnable.c test. > > > > hi, > > > > I noticed that the vec-splati-runnable.c did not have an abort after one > > of the tests. If the test was

Re: [PATCH] i386: Optimize vpblendvb on inverted mask register to vpblendvb on swapping the order of operand 1 and operand 2. [PR target/99908]

2021-05-20 Thread Hongtao Liu via Gcc-patches
On Thu, May 13, 2021 at 8:43 AM Hongtao Liu wrote: > > On Wed, May 12, 2021 at 8:38 PM Uros Bizjak wrote: > > > > On Wed, May 12, 2021 at 1:42 PM Hongtao Liu wrote: > > > > > > On Wed, May 12, 2021 at 4:36 PM Uros Bizjak wrote: > > > > > > > > On Tue, Apr 27, 2021 at 1:05 PM Hongtao Liu via Gcc

Re: [i386] [PATCH] Fix ICE when lhs is NULL [PR target/100660]

2021-05-20 Thread Hongtao Liu via Gcc-patches
On Thu, May 20, 2021 at 4:30 PM Richard Biener wrote: > > On Thu, May 20, 2021 at 10:15 AM Hongtao Liu wrote: > > > > On Thu, May 20, 2021 at 4:06 PM Richard Biener > > wrote: > > > > > > On Thu, May 20, 2021 at 8:54 AM Hongtao Liu wrote: > > > > > > > > Hi: > > > > In folding target-specific

[committed] libstdc++: Implement LWG 3490 change to drop_while_view::begin()

2021-05-20 Thread Patrick Palka via Gcc-patches
Tested on x86_64-pc-linux-gnu, committed to trunk as obvious. libstdc++-v3/ChangeLog: PR libstdc++/100606 * include/std/ranges (drop_while_view::begin): Assert the precondition added by LWG 3490. --- libstdc++-v3/include/std/ranges | 1 + 1 file changed, 1 insertion(+) d

Re: [PATCH] constructor: Elide expand_constructor when can move by pieces is true

2021-05-20 Thread Bernd Edlinger
On 5/20/21 4:03 PM, H.J. Lu wrote: > On Thu, May 20, 2021 at 12:51 AM Richard Biener > wrote: >> >> On Wed, May 19, 2021 at 3:22 PM H.J. Lu wrote: >>> >>> On Wed, May 19, 2021 at 2:33 AM Richard Biener >>> wrote: On Tue, May 18, 2021 at 9:16 PM H.J. Lu wrote: > > When expandin

Re: [PATCH] Add 3 target hooks for memset

2021-05-20 Thread Bernd Edlinger
On 5/20/21 10:49 PM, H.J. Lu wrote: > On Wed, May 19, 2021 at 5:55 AM H.J. Lu wrote: >> >> On Wed, May 19, 2021 at 2:25 AM Richard Biener >> wrote: >>> >>> On Tue, May 18, 2021 at 9:16 PM H.J. Lu wrote: Add TARGET_READ_MEMSET_VALUE and TARGET_GEN_MEMSET_VALUE to support target ins

Re: [PATCH] Hashtable PR96088

2021-05-20 Thread François Dumont via Gcc-patches
On 20/05/21 6:44 pm, Jonathan Wakely wrote: On 06/05/21 22:03 +0200, François Dumont via Libstdc++ wrote: Hi     Considering your feedback on backtrace in debug mode is going to take me some time so here is another one.     Compared to latest submission I've added a _Hash_arg_t partial spec

[PATCH] i386: Add minmax and abs patterns for 4-byte vectors [PR100637]

2021-05-20 Thread Uros Bizjak via Gcc-patches
2021-05-21 Uroš Bizjak gcc/ PR target/100637 * config/i386/mmx.md (SMAXMIN_MMXMODEI): New mode iterator. (3): Macroize expander from v4hi3> and 3 using SMAXMIN_MMXMODEI mode iterator. (*v4qi3): New insn pattern. (*v2hi3): Ditto. (SMAXMIN_VI_32): New mode iterator

Re: [i386] [PATCH] Fix ICE when lhs is NULL [PR target/100660]

2021-05-20 Thread Richard Biener via Gcc-patches
On Fri, May 21, 2021 at 4:41 AM Hongtao Liu wrote: > > On Thu, May 20, 2021 at 4:30 PM Richard Biener > wrote: > > > > On Thu, May 20, 2021 at 10:15 AM Hongtao Liu wrote: > > > > > > On Thu, May 20, 2021 at 4:06 PM Richard Biener > > > wrote: > > > > > > > > On Thu, May 20, 2021 at 8:54 AM Hong

Re: [PATCH] Hashtable PR96088

2021-05-20 Thread Jonathan Wakely via Gcc-patches
On Fri, 21 May 2021, 07:31 François Dumont via Libstdc++, < libstd...@gcc.gnu.org> wrote: > On 20/05/21 6:44 pm, Jonathan Wakely wrote: > > On 06/05/21 22:03 +0200, François Dumont via Libstdc++ wrote: > >> Hi > >> > >> Considering your feedback on backtrace in debug mode is going to > >> take

Re: [PATCH] Hashtable PR96088

2021-05-20 Thread Jonathan Wakely via Gcc-patches
On Fri, 21 May 2021, 07:48 Jonathan Wakely, wrote: > > > On Fri, 21 May 2021, 07:31 François Dumont via Libstdc++, < > libstd...@gcc.gnu.org> wrote: > >> On 20/05/21 6:44 pm, Jonathan Wakely wrote: >> > On 06/05/21 22:03 +0200, François Dumont via Libstdc++ wrote: >> >> Hi >> >> >> >> Conside

Re: [PATCH] constructor: Elide expand_constructor when can move by pieces is true

2021-05-20 Thread Richard Biener via Gcc-patches
On Thu, May 20, 2021 at 4:04 PM H.J. Lu wrote: > > On Thu, May 20, 2021 at 12:51 AM Richard Biener > wrote: > > > > On Wed, May 19, 2021 at 3:22 PM H.J. Lu wrote: > > > > > > On Wed, May 19, 2021 at 2:33 AM Richard Biener > > > wrote: > > > > > > > > On Tue, May 18, 2021 at 9:16 PM H.J. Lu wro

<    1   2