From: Xi Ruoyao Date: Mon, 5 Feb 2024 12:17:25 +0000 (+0800) Subject: mips: Fix missing mode in neg2 X-Git-Tag: releases/gcc-13.3.0~501 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dfe2801b3ab9245e80bdab6e09518b93eddb642;p=thirdparty%2Fgcc.git mips: Fix missing mode in neg2 I was too sleepy writting this :(. gcc/ChangeLog: * config/mips/mips-msa.md (neg2): Add missing mode for neg. (cherry picked from commit 55357960fbddd261e32f088f5dd328d58b0f25b3) --- diff --git a/gcc/config/mips/mips-msa.md b/gcc/config/mips/mips-msa.md index 046ce3e529ed..8f28ad7570ed 100644 --- a/gcc/config/mips/mips-msa.md +++ b/gcc/config/mips/mips-msa.md @@ -613,7 +613,7 @@ (define_insn "neg2" [(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.\t%w0,%w1," [(set_attr "type" "simd_bit")