On Fri, Dec 11, 2020 at 2:01 AM Ilya Leoshkevich via Gcc-patches
wrote:
>
> Tested on gcc121 (x86_64 CentOS Linux 7). Ok for master?
OK
>
>
> After 92648faa1cb2 ("aix: Fixinclude") make check-fixincludes began to
> fail (at least on gcc121 machine). Fix by updating fixincludes/tests
> and reru
Hi
I'd like to commit this small fix to complete _GLIBCXX_DEBUG constexpr
compatibility. There are still 2 macros not using __glibcxx_assert_1.
It fixes the generated diagnostic to have the __failed_assertion rather
than a message saying that _Error_formatter::_M_error is not constexpr.
On Fri, 11 Dec 2020 at 10:46, Hongtao Liu wrote:
>
> On Thu, Dec 10, 2020 at 8:52 PM Prathamesh Kulkarni
> wrote:
> >
> > On Wed, 9 Dec 2020 at 15:52, Hongtao Liu wrote:
> > >
> > > On Wed, Dec 9, 2020 at 5:22 PM Prathamesh Kulkarni via Gcc-patches
> > > wrote:
> > > >
> > > > On Wed, 9 Dec 202
Ok.
On Fri, Dec 11, 2020, 12:45 AM Patrick Palka wrote:
> This fixes a missed SFINAE when subtracting pointers to an incomplete
> type.
>
> Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for
> trunk?
>
> gcc/cp/ChangeLog:
>
> PR c++/78173
> * typeck.c (point
This fixes a missed SFINAE when subtracting pointers to an incomplete
type.
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for
trunk?
gcc/cp/ChangeLog:
PR c++/78173
* typeck.c (pointer_diff): Use complete_type_or_maybe_complain
instead of complete_ty
On Thu, Dec 10, 2020 at 8:52 PM Prathamesh Kulkarni
wrote:
>
> On Wed, 9 Dec 2020 at 15:52, Hongtao Liu wrote:
> >
> > On Wed, Dec 9, 2020 at 5:22 PM Prathamesh Kulkarni via Gcc-patches
> > wrote:
> > >
> > > On Wed, 9 Dec 2020 at 00:29, sunil.k.pandey wrote:
> > > >
> > > > On Linux/x86_64,
>
On Tue, Dec 8, 2020 at 5:15 AM CHIGOT, CLEMENT wrote:
>
> Any news about this bug ? It's not urgent even if it's breaking gcc builds
> with Go language, but I just want to know if you need any inputs/help from me.
I sent https://golang.org/cl/277232 to fix this problem.
Ian
> ___
From: Aaron Sawdey
This patch adds a new function to genfusion.pl to generate patterns for
logical-logical fusion. They are enabled by default for power10 and can
be disabled by -mno-power10-fusion-2logical or -mno-power10-fusion.
This patch builds on top of the load-cmpi patch posted earlier th
Segher,
Gentle ping this:
https://gcc.gnu.org/pipermail/gcc-patches/2020-November/560573.html
On 30/11/2020 上午 11:08, HAO CHEN GUI wrote:
Hi,
This patch adds a new pattern(combine 4 insns to 3 insns) in 4-insn
combine. In the patch, newpat is split twice. The newpat, newi2pat and
newi
Tested on gcc121 (x86_64 CentOS Linux 7). Ok for master?
After 92648faa1cb2 ("aix: Fixinclude") make check-fixincludes began to
fail (at least on gcc121 machine). Fix by updating fixincludes/tests
and rerunning genfixes.
fixincludes/ChangeLog:
2020-12-11 Ilya Leoshkevich
* fixinc
On Thu, Dec 10, 2020 at 10:27:46AM -0600, Patrick McGehearty via Gcc-patches
wrote:
> Thank you for your rapid feedback.
> I'll fix the various formatting issues (spaces in the wrong places
> and such as well as revise the Changelog magic) in the next submission.
> It will wait for Joseph's review
This patch further extends the satisfaction_cache class to diagnose
self-recursive satisfaction.
With this patch, a few more cmcstl2 tests fail at compile time due apparent
self-recursive satisfaction. I didn't analyze these failures
individually, but all errors contain view_interface::operator b
There's no need to explicitly check for the maximum value, because the
function we call handles it correctly anyway.
libstdc++-v3/ChangeLog:
PR libstdc++/98226
* include/std/bit (__countl_one, __countr_one): Remove redundant
branches.
Tested powerpc64le-linux. Committed t
On Thu, 10 Dec 2020, Patrick Palka wrote:
> This patch further extends the satisfaction_cache class to diagnose
> self-recursive satisfaction.
>
> With this patch, a few more cmcstl2 tests fail at compile time due apparent
> self-recursive satisfaction. I didn't analyze these failures
> individu
On Thu, Dec 10, 2020 at 10:20 PM H.J. Lu wrote:
>
> User interrupt handler stack frame is similar to exception interrupt
> handler stack frame. Instead of error code, the second argument is
> user interrupt request register vector.
>
> gcc/
>
> PR target/98219
> * config/i386/uint
On 2020-12-10 10:12 a.m., Andrea Corallo wrote:
Hi all,
following discussion on PR97092 I'd like to submit the following patch
with a fix plus associated testcase.
With this patch applied mode is recomputed at each iteration while
looping across different copies in 'update_costs_from_allocno'
Hi Nikhil,
> On 12/10/20 2:34 PM, Rainer Orth wrote:
>> I've just checked: is effectively unchanged since
>> Solaris 10.
>>
>> Besides, there's gcc211 in the GCC compile farm, running Solaris 11.3/SPARC.
>
> Ah, thanks, I wasn't aware there was a compile farm available to GCC
> developers. I've a
With very large CFG's ranger on entry cache is not particularly efficient.
One thing I never got to was recognizing that if an ssa-name is never
used in an outgoing edge calculation, then its range never changes.. the
global range is sufficient and we do not need to propagate the on-entry
cach
Update prefixed attribute for Power10.
This patch was broken out from my larger patch to update various attributes for
Power10, in order to make the review process hopefully easier. This patch only
updates the prefix attribute for various new instructions. Changes in this
version include missed u
It's a rather curious malfunction of the 'Mod attribute applied to the
variable of a loop whose upper bound is dynamic.
Tested on x86-64/Linux, applied on all active branches.
2020-12-10 Ed Schonberg
PR ada/98230
* exp_attr.adb (Expand_N_Attribute_Reference, case Mod): Use b
On Thu, 10 Dec 2020, Jason Merrill wrote:
> On 12/10/20 11:21 AM, Patrick Palka wrote:
> > This implements lightweight heuristical detection and diagnosing of
> > satisfaction results that change at different points in the program,
> > which renders the program as ill-formed NDR as of P2014. We'v
Hi!
On Thu, Nov 19, 2020 at 06:58:14PM -0500, Michael Meissner wrote:
> * config/rs6000/rs6000.c (rs6000_mangle_decl_assembler_name): Add
> support for mapping built-in function names for long double
> built-in functions if long double is IEEE 128-bit.
Please write what it does,
User interrupt handler stack frame is similar to exception interrupt
handler stack frame. Instead of error code, the second argument is
user interrupt request register vector.
gcc/
PR target/98219
* config/i386/uintrintrin.h (__uintr_frame): Remove uirrv.
gcc/testsuite/
This adds a set of calls to name lookup that are needed by modules.
Generally installing imported bindings, or walking the current TU's
bindings. One note about template instantiations though. When we're
about to instantiate a template we have to know about all the
maybe-partial specializations
Jonathan Wakely writes:
> I'll do a bit more testing and push it next week.
That's awesome news. Thanks so much for you help; I'm looking forward to
having real C++ support for my embedded customers!
--
-keith
signature.asc
Description: PGP signature
A common pattern before C++17 is the generator function, used to avoid
having to specify the type of a container element by using a function call
to get type deduction; for example, std::make_pair. C++17 added class type
argument deduction, making generator functions unnecessary for many uses,
but
It's past time to update this macro to the specified value for C++20.
libcpp/ChangeLog:
* init.c (cpp_init_builtins): Update __cplusplus for C++20.
---
libcpp/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libcpp/init.c b/libcpp/init.c
index f77dc26a003..79877
Pre-r11-557 we issued a bogus
error: parameter may not have variably modified type 'double [x]'
but now we compile this, as we should.
Tested x86_64-pc-linux-gnu, applying to trunk.
gcc/testsuite/ChangeLog:
PR c++/91506
* g++.dg/init/array60.C: New test.
---
gcc/testsuite/g+
On 12/10/20 11:21 AM, Patrick Palka wrote:
This implements lightweight heuristical detection and diagnosing of
satisfaction results that change at different points in the program,
which renders the program as ill-formed NDR as of P2014. We've recently
started to more aggressively cache satisfact
On 09/12/20 18:46 -0800, Keith Packard wrote:
This option directs the library to only use simple stdio APIs instead
of using fileno to get the file descriptor for use with POSIX APIs.
This looks fine to me, even at this stage of GCC 11 (it doesn't affect
the default configurations, just adds a
On 12/10/20 2:34 PM, Rainer Orth wrote:
I've just checked: is effectively unchanged since
Solaris 10.
Besides, there's gcc211 in the GCC compile farm, running Solaris 11.3/SPARC.
Ah, thanks, I wasn't aware there was a compile farm available to GCC
developers. I've applied for an account, but
This extends using-decls to modules. In modules you can export a
using decl, but the exported decl must have external linkage already.
One thing you can do is export something from the GMF.
The novel thing is that now 'export using foo::bar;' *in namespace
bar* can mean something significant
Hi Nikhil,
> Sorry about this, Rainer. I think I see the issue, though it's hard to
> be certain without access to a Solaris machine. Assuming the icmp6.h
> header hasn't changed since the last time Solaris code was open source
> [0], I think the issue is likely to be typedefs that define a named
Sorry about this, Rainer. I think I see the issue, though it's hard to
be certain without access to a Solaris machine. Assuming the icmp6.h
header hasn't changed since the last time Solaris code was open source
[0], I think the issue is likely to be typedefs that define a named
struct and an alias
Hi Ian,
> On Tue, Dec 8, 2020 at 2:57 PM Nikhil Benesch
> wrote:
>>
>> This patch corrects -fdump-go-spec's handling of incomplete types.
>> To my knowledge the issue fixed here has not been previously
>> reported. It was exposed by an in-progress port of gccgo to FreeBSD.
>>
>> Given the follow
Hi Richard,
> I specifically want to test generic SVE rather than SVE tuned for a
> specific core, so --with-arch=armv8.2-a+sve is the thing I want to test.
Btw that's not actually what you get if you use cc1 - you always get armv8.0,
so --with-arch doesn't work at all. The only case that appears
This augments the name lookup with knowledge about the BINDING_VECTOR.
That holds per-module namespace bindings, and we need to collect the
bindings in visible imports when we do lookup. We also need to do
some checking when we're pushing a new decl to check we're not
overriding an existing visib
Christophe Lyon writes:
> On Wed, 9 Dec 2020 at 17:47, Richard Sandiford
> wrote:
>>
>> Christophe Lyon via Gcc-patches writes:
>> > Hi,
>> >
>> > I've been working for a while on enabling auto-vectorization for ARM
>> > MVE, and I find it a bit awkward to keep things common with Neon as
>> > mu
On 10/12/2020 18:39, David Malcolm wrote:
On Fri, 2020-12-04 at 10:58 +0100, Erick Ochoa wrote:
+ // Anonymous fields? (Which the record can be!).
+ warning (OPT_Wdfa, "RECORD_TYPE %qE has dead field %qE in LTO.\n",
+ record, field);
Others have pointed out t
On Thu, 2020-12-10 at 11:21 -0500, Patrick Palka via Gcc-patches wrote:
> + if (entry->diagnose_instability)
> + {
> + error_at (EXPR_LOCATION (ATOMIC_CONSTR_EXPR (entry->atom)),
> + "satisfaction value of atomic constraint %qE changed "
> +
On Fri, 2020-12-04 at 10:58 +0100, Erick Ochoa wrote:
> + // Anonymous fields? (Which the record can be!).
> + warning (OPT_Wdfa, "RECORD_TYPE %qE has dead field %qE in LTO.\n",
> + record, field);
Others have pointed out that -Wdfa isn't a good name for the warning
On 10/12/20 11:14 -0600, Peter Bergner via Libstdc++ wrote:
On 12/10/20 10:14 AM, Jonathan Wakely wrote:
On 04/12/20 00:35 +, Jonathan Wakely wrote:
On 03/12/20 20:07 -0300, Tulio Magno Quites Machado Filho via Libstdc++ wrote:
I suggest to replace frexpf128 with __frexpieee128.
The forme
> -Original Message-
> From: Tamar Christina
> Sent: 10 December 2020 17:00
> To: gcc-patches@gcc.gnu.org
> Cc: nd ; Ramana Radhakrishnan
> ; Richard Earnshaw
> ; ni...@redhat.com; Kyrylo Tkachov
>
> Subject: [PATCH]Arm: Add NEON and MVE RTL patterns for Complex Addition,
> Multiply and
On 12/10/20 10:14 AM, Jonathan Wakely wrote:
> On 04/12/20 00:35 +, Jonathan Wakely wrote:
>> On 03/12/20 20:07 -0300, Tulio Magno Quites Machado Filho via Libstdc++
>> wrote:
>>> I suggest to replace frexpf128 with __frexpieee128.
>>>
>>> The former is available on a glibc that support _Float
Hi All,
This adds implementation for the optabs for complex additions. With this the
following C code:
void f90 (float complex a[restrict N], float complex b[restrict N],
float complex c[restrict N])
{
for (int i=0; i < N; i++)
c[i] = a[i] + (b[i] * I);
}
generates
Hi All,
This adds implementation for the optabs for complex operations. With this the
following C code:
void f90 (float complex a[restrict N], float complex b[restrict N],
float complex c[restrict N])
{
for (int i=0; i < N; i++)
c[i] = a[i] + (b[i] * I);
}
generates
On 12/9/20 4:09 PM, Eric Gallager via Gcc-patches wrote:
On Fri, Dec 4, 2020 at 4:58 AM Erick Ochoa <
erick.oc...@theobroma-systems.com> wrote:
This commit includes the following components:
Type-based escape analysis to determine structs that can be modified at
link-time.
Field a
This augments the spelling suggestion code to understand about visible
imported modules. Simply consider each visible binding in the
binding_vector, until we find one that has something of interest.
gcc/cp/
* name-lookup.c: Include bitmap.h.
(enum binding_slots): New.
Thank you for your rapid feedback.
I'll fix the various formatting issues (spaces in the wrong places
and such as well as revise the Changelog magic) in the next submission.
It will wait for Joseph's review to also make any changes he suggests.
I'll also try to train myself to be more sensitive to
This implements lightweight heuristical detection and diagnosing of
satisfaction results that change at different points in the program,
which renders the program as ill-formed NDR as of P2014. We've recently
started to more aggressively cache satisfaction results, and so the goal
here is to make
On Wed, 9 Dec 2020 at 17:47, Richard Sandiford
wrote:
>
> Christophe Lyon via Gcc-patches writes:
> > Hi,
> >
> > I've been working for a while on enabling auto-vectorization for ARM
> > MVE, and I find it a bit awkward to keep things common with Neon as
> > much as possible.
> >
> > I've just se
On 04/12/20 00:35 +, Jonathan Wakely wrote:
On 03/12/20 20:07 -0300, Tulio Magno Quites Machado Filho via Libstdc++ wrote:
Jonathan Wakely via Libstdc++ writes:
diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac
index cbfdf4c6bad..d25842fef35 100644
--- a/libstdc++-v3/conf
On 12/9/20 2:24 AM, Martin Liška wrote:
Hello.
The newly added warning is about warning a user
that std::atomic_thread_fence is not supported by TSAN.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Ready to be installed?
Thanks,
Martin
gcc/ChangeLog:
PR sanitizer
Hi Christophe,
> From: Christophe Lyon
> Sent: Monday, November 9, 2020 1:38 PM
> To: Dennis Zhang
> Cc: Kyrylo Tkachov; gcc-patches@gcc.gnu.org; Richard Earnshaw; nd; Ramana
> Radhakrishnan
> Subject: Re: [PATCH][Arm] Auto-vectorization for MVE: vsub
>
> Hi,
>
> I have just noticed that the new
This needs the first patch in the series to be applied first. This patch is
not critical for enabling IEEE 128-bit long double, but it does improve
float128 code generation on power10.
I haven't received a reply for this patch:
| Date: Sun, 15 Nov 2020 23:53:20 -0500
| Subject: [PATCH 2/2] Power
This patch has been around for quite some time. It isn't critical for enabling
IEEE 128-bit long double, but it improves code generation for float128 on
power10.
I haven't received a reply for this patch:
| Date: Sun, 15 Nov 2020 23:50:51 -0500
| Subject: [PATCH 1/2] Power10: Add IEEE 128-bit xs
This patch fixes a typo reported at
https://gcc.gnu.org/pipermail/gcc-patches/2020-November/558478.html
gcc/testsuite/
* gcc.target/arm/simd/mve-vsub_1.c: Fix typo.
Remove needless dg-additional-options.
Cheers,
Dennisdiff --git a/gcc/testsuite/gcc.target/arm/simd/mve-vsub_1.c b/
On Thu, Dec 10, 2020 at 03:38:40PM +0100, Jakub Jelinek via Gcc-patches wrote:
> I don't understand this. My reading of:
> "The event-handle will be considered as if it was specified on a
> firstprivate clause. The use of a variable in a detach clause expression of a
> task
> construct causes an
This patch isn't critical for IEEE 128-bit long double, but it is a feature
Jonathan Wakely asked for, to have a single switch to enable IEEE/IBM 128-bit
long double, without having to set the long double size.
I haven't received a replay for this patch:
| Date: Thu, 19 Nov 2020 19:00:11 -0500
|
This is one of the critical patches for enabling IEEE 128-bit long double.
I haven't received a reply for this patch:
| Date: Thu, 19 Nov 2020 19:05:24 -0500
| Subject: [PATCH] PowerPC: Add float128/Decimal conversions
| Message-ID: <2020112524.ga...@ibm-toto.the-meissners.org>
| https://gcc.
This patch is one of the critical patches to enable building GCC with the long
double type set to IEEE 128-bit.
I haven't received a response for this patch:
| Date: Thu, 19 Nov 2020 18:58:14 -0500
| Subject: [PATCH] PowerPC: Map IEEE 128-bit long double built-in functions
| Message-ID: <20201119
Hi all,
following discussion on PR97092 I'd like to submit the following patch
with a fix plus associated testcase.
With this patch applied mode is recomputed at each iteration while
looping across different copies in 'update_costs_from_allocno', this
instead of carrying mode over subsequent iter
On Thu, Dec 10, 2020 at 12:00:17PM +0100, Jakub Jelinek wrote:
> So, would it be better to check for one of FRAME_POINTER_REGNUM,
> ARG_POINTER_REGNUM or RETURN_ADDRESS_POINTER_REGNUM if they
> are mentioned in (from part of pairs in) ELIMINABLE_REGS?
In patch form now:
2020-12-10 Jakub Jelinek
I was about to add this test with dg-ice but it turned out it had
already been fixed by the recent r11-3361!
Tested x86_64-pc-linux-gnu, applying to trunk.
gcc/testsuite/ChangeLog:
PR c++/68451
* g++.dg/cpp0x/friend6.C: New test.
---
gcc/testsuite/g++.dg/cpp0x/friend6.C | 23 +++
Here are some refactorings to the name-lookup machinery. Primarily
breakout out worker functions that the modules patch will also use.
Fixing a couple of comments on the way.
gcc/cp/
* name-lookup.c (pop_local_binding): Check for IDENTIFIER_ANON_P.
(update_binding): Level
> 2020-12-10 Jakub Jelinek
>
> PR rtl-optimization/98212
> * dojump.c (do_compare_rtx_and_jump): Change computation of
> first_prob for and_them. Add comment explaining and_them case.
>
> * gcc.dg/predict-8.c: Adjust expected probability.
OK, thanks.
--
Eric Botcazo
This case handles the discriminated record types of Ada: the PLACEHOLDER_EXPR
is the "template" expression for the discriminant in the type definition. Now
for some components, typically arrays whose upper bound is the discriminant,
the compiler creates a local subtype for the component, so the
On Thu, Dec 10, 2020 at 03:18:54PM +0100, Eric Botcazou wrote:
> OK, thanks, but aren't there missing TABs in the new version? Only one line
> is changed in the end AFAICS.
No, sorry, just me hand editing of the patch (and the source) instead of
regenerating the patch (I had there prob.invert ()
On Wed, Dec 09, 2020 at 05:37:24PM +, Kwok Cheung Yeung wrote:
> --- a/gcc/c/c-typeck.c
> +++ b/gcc/c/c-typeck.c
> @@ -14942,6 +14942,11 @@ c_finish_omp_clauses (tree clauses, enum
> c_omp_region_type ort)
> pc = &OMP_CLAUSE_CHAIN (c);
> continue;
>
> + case OMP_CLAUSE_DE
Hi all,
This patch backports the commit 3553c658533e430b232997bdfd97faf6606fb102.
The original is approved at
https://gcc.gnu.org/pipermail/gcc-patches/2020-November/557871.html
There is a change to remove FPCR-reading flag for builtin declaration since
it's not supported in gcc-10.
Another cha
Hi all,
This patch backports the commit f7d6961126a7f06c8089d8a58bd21be43bc16806.
The original is approved at
https://gcc.gnu.org/pipermail/gcc-patches/2020-November/557859.html
The only change is to remove FPCR-reading flags for builtin definition since
it's not supported in gcc-10.
Regtested a
> 2020-12-10 Jakub Jelinek
>
> PR rtl-optimization/98212
> * dojump.c (do_compare_rtx_and_jump): Change computation of
> first_prob for and_them. Add comment explaining and_them case.
>
> * gcc.dg/predict-8.c: Adjust expected probability.
>
> --- gcc/dojump.c.jj 202
Στις Πέμ, 10 Δεκ 2020 στις 7:42 π.μ., ο/η Dimitar Dimitrov
έγραψε:
> On сряда, 9 декември 2020 г. 15:12:49 EET abebeos via Gcc-patches wrote:
> > Essence:
> >
> > I need a confirmation that the testsuite setup as presented in:
> >
> > https://github.com/abebeos/avr-gnu
> >
> > works fine.
> >
> >
On Thu, Dec 10, 2020 at 12:50:02PM +0100, Eric Botcazou wrote:
> prob.split adjusts prob so this needs to be reflected in the comment (maybe
> "adjusted prob" or the formula if it is simple). Otherwise looks good to me.
Actually I went back to drawing board and the patch wasn't correct.
Let's di
On Thu, 10 Dec 2020 at 17:11, Richard Biener wrote:
>
> On Wed, 9 Dec 2020, Prathamesh Kulkarni wrote:
>
> > On Tue, 8 Dec 2020 at 14:36, Prathamesh Kulkarni
> > wrote:
> > >
> > > On Mon, 7 Dec 2020 at 17:37, Hongtao Liu wrote:
> > > >
> > > > On Mon, Dec 7, 2020 at 7:11 PM Prathamesh Kulkarni
On Wed, 9 Dec 2020 at 15:52, Hongtao Liu wrote:
>
> On Wed, Dec 9, 2020 at 5:22 PM Prathamesh Kulkarni via Gcc-patches
> wrote:
> >
> > On Wed, 9 Dec 2020 at 00:29, sunil.k.pandey wrote:
> > >
> > > On Linux/x86_64,
> > >
> > > 3a6e3ad38a17a03ee0139b49a0946e7b9ded1eb1 is the first bad commit
> >
This removes an odd special-case of VECTOR_BOOLEAN_TYPE_P typed
conversions from vectorizable_assignment that was obsoleted by
making all integer mode VECTOR_BOOLEAN_TYPE_P types have 1-bit
precision bool components with 605c2a393d3a2db8
Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed.
On Thu, 10 Dec 2020, Richard Sandiford wrote:
> Richard Biener writes:
> >> @@ -812,33 +997,80 @@ split_constant_offset_1 (tree type, tree op0, enum
> >> tree_code code, tree op1,
> >> }
> >> }
> >>
> >> -/* Expresses EXP as VAR + OFF, where off is a constant. The type of OFF
> >> - w
On Tue, 8 Dec 2020 at 15:00, Kyrylo Tkachov wrote:
>
>
> > -Original Message-
> > From: Christophe Lyon
> > Sent: 08 December 2020 13:59
> > To: Kyrylo Tkachov
> > Cc: gcc-patches@gcc.gnu.org
> > Subject: Re: [PATCH 1/5] arm: Auto-vectorization for MVE: vand
> >
> > On Tue, 8 Dec 2020 a
Richard Biener writes:
>> @@ -812,33 +997,80 @@ split_constant_offset_1 (tree type, tree op0, enum
>> tree_code code, tree op1,
>> }
>> }
>>
>> -/* Expresses EXP as VAR + OFF, where off is a constant. The type of OFF
>> - will be ssizetype. */
>> +/* If EXP has pointer type, try to ex
On Wed, 9 Dec 2020, Richard Sandiford wrote:
> PR98069 is about a case in which split_constant_offset miscategorises
> an expression of the form:
>
> int foo;
> …
> POINTER_PLUS_EXPR
>
> as:
>
> base: base
> offset: (sizetype) (-foo) * size
> init: INT_MIN * size
>
> “-foo” overflo
> 2020-12-10 Jakub Jelinek
>
> PR rtl-optimization/98212
> * dojump.c (do_compare_rtx_and_jump): Change computation of
> first_prob for and_them and don't invert prob around it.
>
> * gcc.dg/predict-8.c: Adjust expected probability.
>
> --- gcc/dojump.c.jj 2020-12-09
On Thu, 10 Dec 2020, Joel Hutton wrote:
> Hi all,
>
> This patch addresses PR97929 by adding a missing case for WIDEN_PLUS/MINUS in
> vect_get_smallest_scalar_type. It also introduces a test to check for
> regression.
>
> One thing to note is that I saw a failure on c-c++-common/builtins.c wh
On Thu, 10 Dec 2020, Joel Hutton wrote:
> Hi all,
>
> This adds missing pretty print for WIDEN_PLUS/MINUS and
> VEC_WIDEN_PLUS/MINUS_HI/LO
>
> Bootstrapped and regression tested all together on aarch64.
>
> Ok for trunk?
OK.
> Add WIDEN_PLUS, WIDEN_MINUS pretty print
>
> Add 'w+'/'w-' as WI
On Wed, 9 Dec 2020, Bernd Edlinger wrote:
> On 12/8/20 7:57 PM, Bernd Edlinger wrote:
> > On 12/8/20 11:35 AM, Richard Biener wrote:
> >>
> >> + {
> >> + /* Remove a nonbind marker when the outer scope of the
> >> + inline function is completely removed. */
> >> +
This adjusts the SLP build to allow a pattern root stmt to be
built from scalars. I've noticed this in PR98211 where we fail
to promote a SLP subtree to a simple splat operation and instead
emit a series of uniform vector operations. The bb-slp-div-1.c
testcase is now vectorized on x86_64 but onl
Pattern recog incompletely handles some bool cases but we shouldn't
miscompile as a result but not vectorize. Unfortunately
vectorizable_assignment lets invalid conversions (that
vectorizable_conversion rejects) slip through. The following
rectifies that.
Bootstrapped and tested on x86_64-unknow
Hello.
In C FE we have troubles to instrument top-level pointer comparison
(and subtraction):
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/asan/pr98204.c:5:1:
internal compiler error: in pointer_diff, at c/c-typeck.c:3954
5 | static long i=((char*)&(v.c)-(char*)&v);
| ^
On Wed, 9 Dec 2020, Prathamesh Kulkarni wrote:
> On Tue, 8 Dec 2020 at 14:36, Prathamesh Kulkarni
> wrote:
> >
> > On Mon, 7 Dec 2020 at 17:37, Hongtao Liu wrote:
> > >
> > > On Mon, Dec 7, 2020 at 7:11 PM Prathamesh Kulkarni
> > > wrote:
> > > >
> > > > On Mon, 7 Dec 2020 at 16:15, Hongtao Liu
On Thu, Dec 10, 2020 at 12:14:22PM +0100, Eric Botcazou wrote:
> > 2020-12-10 Jakub Jelinek
> >
> > PR rtl-optimization/98212
> > * dojump.c (do_compare_rtx_and_jump): Change computation of
> > first_prob for and_them and don't invert prob around it.
> >
> > * gcc.dg/predict-8.
> So like this instead (if it passes another bootstrap/regtest)?
>
> 2020-12-10 Jakub Jelinek
>
> PR middle-end/98190
> * expr.c (expand_assignment): If to_rtx is a promoted SUBREG,
> ensure sign or zero extension either through use of store_expr
> or by extending manua
Fix an issue with the `casesi' expander using `GEN_INT' to produce the
constant rtx for lower bound adjustment. This generates a VOIDmode
value which may overflow the SImode range required for the operand to
stay within to satisfy `general_operand', resulting in an ICE like:
.../gcc/testsuite/
> 2020-12-10 Jakub Jelinek
>
> PR rtl-optimization/98212
> * dojump.c (do_compare_rtx_and_jump): Change computation of
> first_prob for and_them and don't invert prob around it.
>
> * gcc.dg/predict-8.c: Adjust expected probability.
>
> --- gcc/dojump.c.jj 2020-12-09
On Thu, Dec 10, 2020 at 10:49:06AM +, Richard Sandiford wrote:
> > The following patch rejects frame and argp registers (unless they are equal
> > to hard frame pointer registers) from local or global register vars.
> > These are just internal implementation details eliminated later into hard
>
On Dec 3, 2020, Alexandre Oliva wrote:
> +local_define_builtin ("__builtin___clear_cache", ftype,
> + BUILT_IN_CLEAR_CACHE,
> + "__builtin___clear_cache",
> + ECF_NOTHROW);
Ugh, so that somehow worked for aarch64-linux-gnu-gf
Hi all,
This patch addresses PR97929 by adding a missing case for WIDEN_PLUS/MINUS in
vect_get_smallest_scalar_type. It also introduces a test to check for
regression.
One thing to note is that I saw a failure on c-c++-common/builtins.c which
disappeared when I ran the test again. I assume th
Hi all,
This adds missing pretty print for WIDEN_PLUS/MINUS and
VEC_WIDEN_PLUS/MINUS_HI/LO
Bootstrapped and regression tested all together on aarch64.
Ok for trunk?
Add WIDEN_PLUS, WIDEN_MINUS pretty print
Add 'w+'/'w-' as WIDEN_PLUS/WIDEN_MINUS respectively.
Add 'VEC_WIDEN_PLUS/MINUS_HI/LO<.
> 2020-12-10 Jakub Jelinek
>
> PR rtl-optimization/98212
> * dojump.c (do_compare_rtx_and_jump): When splitting NE and backend
> can do UNEQ, prefer splitting x != y into x unord y || !(x uneq y)
> instead of into x unord y || x ltgt y.
>
> * gcc.target/i386/pr982
Jakub Jelinek writes:
> Hi!
>
> The following patch rejects frame and argp registers (unless they are equal
> to hard frame pointer registers) from local or global register vars.
> These are just internal implementation details eliminated later into hard
> frame pointer or stack pointer and using
On Thu, Dec 10, 2020 at 11:15:30AM +0100, Eric Botcazou wrote:
> Are you sure that the optimization is worth the hassle (and maybe the risk,
> i.e. can't store_field clobber the entire field)?
I'm not sure, after all, only the testcases I've mentioned were affected
in the whole bootstrap/regtest.
1 - 100 of 114 matches
Mail list logo