]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mips: Fix missing mode in neg<mode:MSA>2
authorXi Ruoyao <xry111@xry111.site>
Mon, 5 Feb 2024 12:17:25 +0000 (20:17 +0800)
committerXi Ruoyao <xry111@xry111.site>
Mon, 5 Feb 2024 12:20:05 +0000 (20:20 +0800)
I was too sleepy writting this :(.

gcc/ChangeLog:

* config/mips/mips-msa.md (neg<mode:MSA>2): Add missing mode for
neg.

gcc/config/mips/mips-msa.md

index 920161ed1d89e8083c988234186e4f7346de484c..779157f2a0ce38eff53539aea29458a743e8f041 100644 (file)
 
 (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")