* [PATCH] aarch64: Re-enable ldp/stp fusion pass
@ 2024-01-24 8:34 Alex Coplan
2024-01-24 9:15 ` Kyrylo Tkachov
0 siblings, 1 reply; 3+ messages in thread
From: Alex Coplan @ 2024-01-24 8:34 UTC (permalink / raw)
To: gcc-patches
Cc: Richard Earnshaw, Richard Sandiford, Kyrylo Tkachov, Jakub Jelinek
[-- Attachment #1: Type: text/plain, Size: 551 bytes --]
Hi,
Since, to the best of my knowledge, all reported regressions related to
the ldp/stp fusion pass have now been fixed, and PGO+LTO bootstrap with
--enable-languages=all is working again with the passes enabled, this
patch turns the passes back on by default, as agreed with Jakub here:
https://gcc.gnu.org/pipermail/gcc-patches/2024-January/642478.html
Bootstrapped/regtested on aarch64-linux-gnu, OK for trunk?
Thanks,
Alex
gcc/ChangeLog:
* config/aarch64/aarch64.opt (-mearly-ldp-fusion): Set default
to 1.
(-mlate-ldp-fusion): Likewise.
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 814 bytes --]
diff --git a/gcc/config/aarch64/aarch64.opt b/gcc/config/aarch64/aarch64.opt
index c495cb34fbf..ceed5cdb201 100644
--- a/gcc/config/aarch64/aarch64.opt
+++ b/gcc/config/aarch64/aarch64.opt
@@ -290,12 +290,12 @@ Target Var(aarch64_track_speculation)
Generate code to track when the CPU might be speculating incorrectly.
mearly-ldp-fusion
-Target Var(flag_aarch64_early_ldp_fusion) Optimization Init(0)
+Target Var(flag_aarch64_early_ldp_fusion) Optimization Init(1)
Enable the copy of the AArch64 load/store pair fusion pass that runs before
register allocation.
mlate-ldp-fusion
-Target Var(flag_aarch64_late_ldp_fusion) Optimization Init(0)
+Target Var(flag_aarch64_late_ldp_fusion) Optimization Init(1)
Enable the copy of the AArch64 load/store pair fusion pass that runs after
register allocation.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] aarch64: Re-enable ldp/stp fusion pass
2024-01-24 8:34 [PATCH] aarch64: Re-enable ldp/stp fusion pass Alex Coplan
@ 2024-01-24 9:15 ` Kyrylo Tkachov
2024-01-24 9:34 ` Alex Coplan
0 siblings, 1 reply; 3+ messages in thread
From: Kyrylo Tkachov @ 2024-01-24 9:15 UTC (permalink / raw)
To: Alex Coplan, gcc-patches
Cc: Richard Earnshaw, Richard Sandiford, Jakub Jelinek
Hi Alex,
> -----Original Message-----
> From: Alex Coplan <Alex.Coplan@arm.com>
> Sent: Wednesday, January 24, 2024 8:34 AM
> To: gcc-patches@gcc.gnu.org
> Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>; Richard Sandiford
> <Richard.Sandiford@arm.com>; Kyrylo Tkachov <Kyrylo.Tkachov@arm.com>;
> Jakub Jelinek <jakub@redhat.com>
> Subject: [PATCH] aarch64: Re-enable ldp/stp fusion pass
>
> Hi,
>
> Since, to the best of my knowledge, all reported regressions related to
> the ldp/stp fusion pass have now been fixed, and PGO+LTO bootstrap with
> --enable-languages=all is working again with the passes enabled, this
> patch turns the passes back on by default, as agreed with Jakub here:
>
> https://gcc.gnu.org/pipermail/gcc-patches/2024-January/642478.html
>
> Bootstrapped/regtested on aarch64-linux-gnu, OK for trunk?
>
If we were super-pedantic about the GCC rules we could say that this is a revert of 8ed77a2356c3562f96c64f968e7529065c128c6a and therefore:
"Similarly, no outside approval is needed to revert a patch that you checked in." 😊
But that would go against the spirit of the rule.
Anyway, this is ok. Thanks for working through the regressions so diligently.
Kyrill
> Thanks,
> Alex
>
> gcc/ChangeLog:
>
> * config/aarch64/aarch64.opt (-mearly-ldp-fusion): Set default
> to 1.
> (-mlate-ldp-fusion): Likewise.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] aarch64: Re-enable ldp/stp fusion pass
2024-01-24 9:15 ` Kyrylo Tkachov
@ 2024-01-24 9:34 ` Alex Coplan
0 siblings, 0 replies; 3+ messages in thread
From: Alex Coplan @ 2024-01-24 9:34 UTC (permalink / raw)
To: Kyrylo Tkachov
Cc: gcc-patches, Richard Earnshaw, Richard Sandiford, Jakub Jelinek
On 24/01/2024 09:15, Kyrylo Tkachov wrote:
> Hi Alex,
>
> > -----Original Message-----
> > From: Alex Coplan <Alex.Coplan@arm.com>
> > Sent: Wednesday, January 24, 2024 8:34 AM
> > To: gcc-patches@gcc.gnu.org
> > Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>; Richard Sandiford
> > <Richard.Sandiford@arm.com>; Kyrylo Tkachov <Kyrylo.Tkachov@arm.com>;
> > Jakub Jelinek <jakub@redhat.com>
> > Subject: [PATCH] aarch64: Re-enable ldp/stp fusion pass
> >
> > Hi,
> >
> > Since, to the best of my knowledge, all reported regressions related to
> > the ldp/stp fusion pass have now been fixed, and PGO+LTO bootstrap with
> > --enable-languages=all is working again with the passes enabled, this
> > patch turns the passes back on by default, as agreed with Jakub here:
> >
> > https://gcc.gnu.org/pipermail/gcc-patches/2024-January/642478.html
> >
> > Bootstrapped/regtested on aarch64-linux-gnu, OK for trunk?
> >
>
> If we were super-pedantic about the GCC rules we could say that this is a revert of 8ed77a2356c3562f96c64f968e7529065c128c6a and therefore:
> "Similarly, no outside approval is needed to revert a patch that you checked in." 😊
> But that would go against the spirit of the rule.
Heh, definitely seems against the spirit of the rule.
> Anyway, this is ok. Thanks for working through the regressions so diligently.
Thanks! Pushed as g:da9647e98aa289ba3aba41cf5bbe14d0f5f27e77.
I'll keep an eye on gcc-bugs for any further fallout.
Alex
> Kyrill
>
> > Thanks,
> > Alex
> >
> > gcc/ChangeLog:
> >
> > * config/aarch64/aarch64.opt (-mearly-ldp-fusion): Set default
> > to 1.
> > (-mlate-ldp-fusion): Likewise.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-24 9:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-24 8:34 [PATCH] aarch64: Re-enable ldp/stp fusion pass Alex Coplan
2024-01-24 9:15 ` Kyrylo Tkachov
2024-01-24 9:34 ` Alex Coplan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).