From: Segher Boessenkool <segher@kernel.crashing.org>
To: "Kewen.Lin" <linkw@linux.ibm.com>
Cc: HAO CHEN GUI <guihaoc@linux.ibm.com>, David <dje.gcc@gmail.com>,
Peter Bergner <bergner@linux.ibm.com>,
gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH v4, rs6000] Add a combine pattern for CA minus one [PR95737]
Date: Fri, 13 May 2022 08:32:40 -0500 [thread overview]
Message-ID: <20220513133240.GW25951@gate.crashing.org> (raw)
In-Reply-To: <11ea60d3-8fa2-a77a-67ec-11624367e54e@linux.ibm.com>
Hi!
On Fri, May 13, 2022 at 10:40:22AM +0800, Kewen.Lin wrote:
> on 2022/5/13 09:07, HAO CHEN GUI wrote:
> > * config/rs6000/rs6000.md (extenddi_ca_minus_one): Define.
>
> Nit: (*extenddi_ca_minus_one): New define_insn_and_split.
Or just "New." even :-) It's boring, yes, but boring is good. It helps
to be more verbose sometimes, certainly, but it isn't required here.
Changelog entries are free-form in any case, after the colons that is :-)
> > +/* { dg-options "-O2 -mno-isel" } */
>
> Nit: It seems good to put one comment for the reason why we need this
> special -mno-isel, like something: Power9 leverages isel for this case,
> force -mno-isel to keep the test point valid on Power9 and later."
But in fewer words if you can :-) Even "/* for p9 and later */" would
be very helpful already. It's not necessary to explain everything, but
giving some leads to whoever gets to investigate this testcase next is
useful :-)
Segher
next prev parent reply other threads:[~2022-05-13 13:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-13 1:07 HAO CHEN GUI
2022-05-13 2:40 ` Kewen.Lin
2022-05-13 13:32 ` Segher Boessenkool [this message]
2022-05-13 13:21 ` Segher Boessenkool
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=20220513133240.GW25951@gate.crashing.org \
--to=segher@kernel.crashing.org \
--cc=bergner@linux.ibm.com \
--cc=dje.gcc@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=guihaoc@linux.ibm.com \
--cc=linkw@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).