[gcc r11-11225] mips: Fix missing mode in neg<mode:MSA>2
Xi Ruoyao
xry111@gcc.gnu.org
Mon Feb 5 12:21:42 GMT 2024
https://gcc.gnu.org/g:e6a94f135c13271bcfe9198c841aeeffc64ee78a
commit r11-11225-ge6a94f135c13271bcfe9198c841aeeffc64ee78a
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.
(cherry picked from commit 55357960fbddd261e32f088f5dd328d58b0f25b3)
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 605164026319..980451546734 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")
More information about the Gcc-cvs
mailing list