public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-8802] mips: Fix missing mode in neg<mode:MSA>2
Date: Mon,  5 Feb 2024 12:20:32 +0000 (GMT)	[thread overview]
Message-ID: <20240205122032.84C983858C5E@sourceware.org> (raw)

https://gcc.gnu.org/g:55357960fbddd261e32f088f5dd328d58b0f25b3

commit r14-8802-g55357960fbddd261e32f088f5dd328d58b0f25b3
Author: Xi Ruoyao <xry111@xry111.site>
Date:   Mon Feb 5 20:17:25 2024 +0800

    mips: Fix missing mode in neg<mode:MSA>2
    
    I was too sleepy writting this :(.
    
    gcc/ChangeLog:
    
            * config/mips/mips-msa.md (neg<mode:MSA>2): Add missing mode for
            neg.

Diff:
---
 gcc/config/mips/mips-msa.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/mips/mips-msa.md b/gcc/config/mips/mips-msa.md
index 920161ed1d89..779157f2a0ce 100644
--- a/gcc/config/mips/mips-msa.md
+++ b/gcc/config/mips/mips-msa.md
@@ -613,7 +613,7 @@
 
 (define_insn "neg<mode>2"
   [(set (match_operand:FMSA 0 "register_operand" "=f")
-	(neg (match_operand:FMSA 1 "register_operand" "f")))]
+	(neg:FMSA (match_operand:FMSA 1 "register_operand" "f")))]
   "ISA_HAS_MSA"
   "bnegi.<msafmt>\t%w0,%w1,<elmsgnbit>"
   [(set_attr "type" "simd_bit")

                 reply	other threads:[~2024-02-05 12:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20240205122032.84C983858C5E@sourceware.org \
    --to=xry111@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.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).