From: Segher Boessenkool <segher@kernel.crashing.org>
To: acsawdey@linux.ibm.com
Cc: gcc-patches@gcc.gnu.org, wschmidt@linux.ibm.com,
will_schmidt@vnet.ibm.com
Subject: Re: [PATCH,rs6000 2/2] Fusion patterns for add-logical/logical-add
Date: Wed, 19 May 2021 17:15:32 -0500 [thread overview]
Message-ID: <20210519221532.GO10366@gate.crashing.org> (raw)
In-Reply-To: <20210426202130.3882980-3-acsawdey@linux.ibm.com>
On Mon, Apr 26, 2021 at 03:21:30PM -0500, acsawdey@linux.ibm.com wrote:
> This patch modifies the function in genfusion.pl for generating
> the logical-logical patterns so that it can also generate the
> add-logical and logical-add patterns which are very similar.
> + $outer_32 = "%2,%3";
> + $outer_42 = "%2,%4";
I think you had trouble thinking of good names here :-)
> +mpower10-fusion-logical-add
> +Target Undocumented Mask(P10_FUSION_LOGADD) Var(rs6000_isa_flags)
> +Fuse certain integer operations together for better performance on power10.
> +
> +mpower10-fusion-add-logical
> +Target Undocumented Mask(P10_FUSION_ADDLOG) Var(rs6000_isa_flags)
> +Fuse certain integer operations together for better performance on power10.
Do you not want to say something a little more precise here?
> --- /dev/null
> +++ b/gcc/testsuite/gcc.target/powerpc/fusion-p10-logadd.c
> @@ -0,0 +1,98 @@
> +/* { dg-do compile { target { powerpc*-*-* } } } */
> +/* { dg-skip-if "" { powerpc*-*-darwin* } } */
Same issues here as in the previous patch.
Other than those things, okay for trunk and backport to 11. Thanks!
Segher
next prev parent reply other threads:[~2021-05-19 22:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-26 20:21 [PATCH,rs6000 0/2] p10 add-add and add-logical fusion series acsawdey
2021-04-26 20:21 ` [PATCH,rs6000 1/2] combine patterns for add-add fusion acsawdey
2021-05-19 21:29 ` Segher Boessenkool
2021-04-26 20:21 ` [PATCH,rs6000 2/2] Fusion patterns for add-logical/logical-add acsawdey
2021-05-19 22:15 ` Segher Boessenkool [this message]
2021-05-24 19:41 ` Aaron Sawdey
2021-05-11 13:50 ` [PATCH,rs6000 0/2] p10 add-add and add-logical fusion series Aaron Sawdey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210519221532.GO10366@gate.crashing.org \
--to=segher@kernel.crashing.org \
--cc=acsawdey@linux.ibm.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=will_schmidt@vnet.ibm.com \
--cc=wschmidt@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).