diff options
author | Xi Ruoyao <xry111@xry111.site> | 2024-02-05 20:17:25 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2024-02-05 20:20:05 +0800 |
commit | 55357960fbddd261e32f088f5dd328d58b0f25b3 (patch) | |
tree | b959e5951e2b8fdbd4b21ce8571a4fb46a377f8a | |
parent | 4d7fe3cf82505b45719356a2e51b1480b5ee21d6 (diff) | |
download | gcc-55357960fbddd261e32f088f5dd328d58b0f25b3.zip gcc-55357960fbddd261e32f088f5dd328d58b0f25b3.tar.gz gcc-55357960fbddd261e32f088f5dd328d58b0f25b3.tar.bz2 |
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.
-rw-r--r-- | gcc/config/mips/mips-msa.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/mips-msa.md b/gcc/config/mips/mips-msa.md index 920161e..779157f 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") |