public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@xry111.site>
To: Lulu Cheng <chenglulu@loongson.cn>, 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:41:57 +0800	[thread overview]
Message-ID: <c0a2f7a45cc12177e389c97709a6f5c2b7e1b650.camel@xry111.site> (raw)
In-Reply-To: <20240727083625.27312-1-chenglulu@loongson.cn>

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.

> ---
>  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"))

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University

  reply	other threads:[~2024-07-27  8:42 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 [this message]
2024-07-27  8:44   ` Lulu Cheng
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=c0a2f7a45cc12177e389c97709a6f5c2b7e1b650.camel@xry111.site \
    --to=xry111@xry111.site \
    --cc=chenglulu@loongson.cn \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=i@xen0n.name \
    --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).