public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8802] mips: Fix missing mode in neg<mode:MSA>2
@ 2024-02-05 12:20 Xi Ruoyao
  0 siblings, 0 replies; only message in thread
From: Xi Ruoyao @ 2024-02-05 12:20 UTC (permalink / raw)
  To: gcc-cvs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-05 12:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-05 12:20 [gcc r14-8802] mips: Fix missing mode in neg<mode:MSA>2 Xi Ruoyao

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