From: Jeff Law <jeffreyalaw@gmail.com>
To: Juzhe-Zhong <juzhe.zhong@rivai.ai>, gcc-patches@gcc.gnu.org
Cc: kito.cheng@sifive.com, palmer@rivosinc.com, rdapp.gcc@gmail.com
Subject: Re: [PATCH] RISC-V: Refactor the integer ternary autovec pattern
Date: Sat, 24 Jun 2023 08:03:47 -0600 [thread overview]
Message-ID: <18dffc14-01b4-ee87-d4a4-0423a4d9f727@gmail.com> (raw)
In-Reply-To: <20230621223842.259423-1-juzhe.zhong@rivai.ai>
On 6/21/23 16:38, Juzhe-Zhong wrote:
> Long time ago, I encounter ICE when trying to set clobber register as Pmode
> and I forgot the reason.
>
> So, I clobber SI scratch and PUT_MODE to make it Pmode after reload which
> makes patterns look unreasonable.
>
> According to Jeff's comments, I tried it again, it works now when we try to
> set clobber register as Pmode and the patterns look more reasonable now.
>
> The tests are all passed, Ok for trunk.
>
> gcc/ChangeLog:
>
> * config/riscv/autovec.md (*fma<mode>): set clobber to Pmode in expand stage.
> (*fma<VI:mode><P:mode>): Ditto.
> (*fnma<mode>): Ditto.
> (*fnma<VI:mode><P:mode>): Ditto.
OK
jeff
next prev parent reply other threads:[~2023-06-24 14:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-21 22:38 Juzhe-Zhong
2023-06-24 1:32 ` 钟居哲
2023-06-24 14:03 ` Jeff Law [this message]
2023-06-24 14:43 ` Li, Pan2
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=18dffc14-01b4-ee87-d4a4-0423a4d9f727@gmail.com \
--to=jeffreyalaw@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=juzhe.zhong@rivai.ai \
--cc=kito.cheng@sifive.com \
--cc=palmer@rivosinc.com \
--cc=rdapp.gcc@gmail.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).