From: HAO CHEN GUI <guihaoc@linux.ibm.com>
To: Segher Boessenkool <segher@kernel.crashing.org>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>, David <dje.gcc@gmail.com>,
"Kewen.Lin" <linkw@linux.ibm.com>,
Peter Bergner <bergner@linux.ibm.com>
Subject: Re: [PATCH v2, rs6000] Add multiply-add expand pattern [PR103109]
Date: Wed, 10 Aug 2022 13:20:13 +0800 [thread overview]
Message-ID: <66788f9a-c84a-09ef-a308-1cc6cb92fbf3@linux.ibm.com> (raw)
In-Reply-To: <20220809214313.GV25951@gate.crashing.org>
Hi Segher,
Thanks for your comments. I checked the cost table. For P9 and P10, the
cost of all mul* insn is the same, not relevant to the size of operand.
I will split the test case to one compiling and one runnable case.
Thanks.
Gui Haochen
On 10/8/2022 上午 5:43, Segher Boessenkool wrote:
> Hi!
>
> On Mon, Aug 08, 2022 at 02:04:07PM +0800, HAO CHEN GUI wrote:
>> This patch adds an expand and several insns for multiply-add with three
>> 64bit operands.
>
> Also for maddld for 32-bit operands.
>
>> "maddld %0,%1,%2,%3"
>> [(set_attr "type" "mul")])
>
> I suppose attr "size" isn't relevant for any of the cpus that implement
> these instructions?
>
> Okay for trunk. Thanks!
>
> (The testcase improvements can be done later).
>
>
> Segher
prev parent reply other threads:[~2022-08-10 5:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-08 6:04 HAO CHEN GUI
2022-08-09 3:14 ` Kewen.Lin
2022-08-09 21:34 ` Segher Boessenkool
2022-08-10 7:37 ` Kewen.Lin
2022-08-09 21:43 ` Segher Boessenkool
2022-08-10 5:20 ` HAO CHEN GUI [this message]
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=66788f9a-c84a-09ef-a308-1cc6cb92fbf3@linux.ibm.com \
--to=guihaoc@linux.ibm.com \
--cc=bergner@linux.ibm.com \
--cc=dje.gcc@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=linkw@linux.ibm.com \
--cc=segher@kernel.crashing.org \
/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).