public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Lulu Cheng <chenglulu@loongson.cn>
To: Xi Ruoyao <xry111@xry111.site>, gcc-patches@gcc.gnu.org
Cc: i@xen0n.name, xuchenghua@loongson.cn
Subject: Re: [PATCH] LoongArch: Use iorn and andn standard pattern names for scalar modes.
Date: Sat, 27 Jul 2024 16:44:55 +0800	[thread overview]
Message-ID: <1c8dd8ca-632e-1258-73c8-e1f494bb0538@loongson.cn> (raw)
In-Reply-To: <c0a2f7a45cc12177e389c97709a6f5c2b7e1b650.camel@xry111.site>


在 2024/7/27 下午4:41, Xi Ruoyao 写道:
> On Sat, 2024-07-27 at 16:36 +0800, Lulu Cheng wrote:
>> gcc/ChangeLog:
>>
>> 	* config/loongarch/loongarch.md (<optab>n<mode>): Rename to ...
>> 	(<optab>n<mode>3): This.
> Ok.
>
> Note that [x]vorn<mode>3 and [x]vandn<mode>3 should be renamed as well.

Uh, I just forgot about them, I'm modifying the content of the vector.

Thanks!

>
>> ---
>>   gcc/config/loongarch/loongarch.md | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/gcc/config/loongarch/loongarch.md b/gcc/config/loongarch/loongarch.md
>> index 459ad30b9bb..4e4ddd515c9 100644
>> --- a/gcc/config/loongarch/loongarch.md
>> +++ b/gcc/config/loongarch/loongarch.md
>> @@ -1668,7 +1668,7 @@ (define_insn "*norsi3_internal"
>>     [(set_attr "type" "logical")
>>      (set_attr "mode" "SI")])
>>   
>> -(define_insn "<optab>n<mode>"
>> +(define_insn "<optab>n<mode>3"
>>     [(set (match_operand:X 0 "register_operand" "=r")
>>   	(neg_bitwise:X
>>   	    (not:X (match_operand:X 1 "register_operand" "r"))


  reply	other threads:[~2024-07-27  8:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-27  8:36 Lulu Cheng
2024-07-27  8:41 ` Xi Ruoyao
2024-07-27  8:44   ` Lulu Cheng [this message]
2024-07-27 19:27 ` Andrew Pinski
2024-07-27  8:54 Lulu Cheng

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=1c8dd8ca-632e-1258-73c8-e1f494bb0538@loongson.cn \
    --to=chenglulu@loongson.cn \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=i@xen0n.name \
    --cc=xry111@xry111.site \
    --cc=xuchenghua@loongson.cn \
    /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).