aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-09-20 14:20:47 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-09-20 14:20:47 -0400
commitb26a0d6dc6cec90f1b9ef1b2c67e457a770b6a72 (patch)
treee36ea0d7b8b26bda298db8ec28445391ee30a36e
parentd8090d46bcdcd2eb490ecffeef24f5956de32310 (diff)
downloadgcc-b26a0d6dc6cec90f1b9ef1b2c67e457a770b6a72.zip
gcc-b26a0d6dc6cec90f1b9ef1b2c67e457a770b6a72.tar.gz
gcc-b26a0d6dc6cec90f1b9ef1b2c67e457a770b6a72.tar.bz2
(cmphi recognizer): Make condition match constraints.
(cmpqi recognizer): Likewise. From-SVN: r10384
-rw-r--r--gcc/config/pyr/pyr.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/pyr/pyr.md b/gcc/config/pyr/pyr.md
index 97a984f..3c03bea 100644
--- a/gcc/config/pyr/pyr.md
+++ b/gcc/config/pyr/pyr.md
@@ -1,5 +1,5 @@
;; GNU C machine description for Pyramid 90x, 9000, MIServer Series
-;; Copyright (C) 1989, 1990 Free Software Foundation, Inc.
+;; Copyright (C) 1989, 1990, 1995 Free Software Foundation, Inc.
;; This file is part of GNU CC.
@@ -224,7 +224,7 @@
(compare (match_operand:HI 0 "nonimmediate_operand" "r,m")
(match_operand:HI 1 "nonimmediate_operand" "m,r")))]
"(!TRULY_UNSIGNED_COMPARE_P (GET_CODE (XEXP (SET_SRC (PATTERN (NEXT_INSN (insn))), 0))))
- && (GET_CODE (operands[0]) != GET_CODE (operands[1]))"
+ && ((GET_CODE (operands[0]) == MEM) != (GET_CODE (operands[1]) == MEM))"
"*
{
rtx br_insn = NEXT_INSN (insn);
@@ -306,7 +306,7 @@
[(set (cc0)
(compare (match_operand:QI 0 "nonimmediate_operand" "r,m")
(match_operand:QI 1 "nonimmediate_operand" "m,r")))]
- "(GET_CODE (operands[0]) != GET_CODE (operands[1]))"
+ "((GET_CODE (operands[0]) == MEM) != (GET_CODE (operands[1]) == MEM))"
"*
{
rtx br_insn = NEXT_INSN (insn);