aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2021-05-28 00:21:07 -0500
committerKewen Lin <linkw@linux.ibm.com>2021-06-05 06:27:47 -0500
commitbdce6760c2098558cbf9c89e166ddb172ec56cc7 (patch)
tree12014fb1e4bd92dcc7c5cf8ecc0f1bcb425be4ec
parent9147affc04e1188a385748ad0f51eb7491a792ab (diff)
downloadgcc-bdce6760c2098558cbf9c89e166ddb172ec56cc7.zip
gcc-bdce6760c2098558cbf9c89e166ddb172ec56cc7.tar.gz
gcc-bdce6760c2098558cbf9c89e166ddb172ec56cc7.tar.bz2
mips: Update unexpected empty split condition
gcc/ChangeLog: * config/mips/mips.md (<anonymous>, bswapsi2, bswapdi2): Fix empty split condition.
-rw-r--r--gcc/config/mips/mips.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md
index eef3cfd..455b9b8 100644
--- a/gcc/config/mips/mips.md
+++ b/gcc/config/mips/mips.md
@@ -5835,7 +5835,7 @@
(match_operand:SI 2 "immediate_operand" "I")))]
"TARGET_MIPS16"
"#"
- ""
+ "&& 1"
[(set (match_dup 0) (match_dup 1))
(set (match_dup 0) (lshiftrt:SI (match_dup 0) (match_dup 2)))]
""
@@ -5871,7 +5871,7 @@
(bswap:SI (match_operand:SI 1 "register_operand" "d")))]
"ISA_HAS_WSBH && ISA_HAS_ROR"
"#"
- ""
+ "&& 1"
[(set (match_dup 0) (unspec:SI [(match_dup 1)] UNSPEC_WSBH))
(set (match_dup 0) (rotatert:SI (match_dup 0) (const_int 16)))]
""
@@ -5882,7 +5882,7 @@
(bswap:DI (match_operand:DI 1 "register_operand" "d")))]
"TARGET_64BIT && ISA_HAS_WSBH"
"#"
- ""
+ "&& 1"
[(set (match_dup 0) (unspec:DI [(match_dup 1)] UNSPEC_DSBH))
(set (match_dup 0) (unspec:DI [(match_dup 0)] UNSPEC_DSHD))]
""