aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pyr
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-04-01 19:39:57 +0000
committerRichard Stallman <rms@gnu.org>1992-04-01 19:39:57 +0000
commitdc2a006b4084e192f0479c1112d7d56cd0d5f2f5 (patch)
tree8741aa1772a98cdd8707a348f91efcf688308cc6 /gcc/config/pyr
parentef8200df89e7ebd52c41673ebb5e6fc100363201 (diff)
downloadgcc-dc2a006b4084e192f0479c1112d7d56cd0d5f2f5.zip
gcc-dc2a006b4084e192f0479c1112d7d56cd0d5f2f5.tar.gz
gcc-dc2a006b4084e192f0479c1112d7d56cd0d5f2f5.tar.bz2
*** empty log message ***
From-SVN: r663
Diffstat (limited to 'gcc/config/pyr')
-rw-r--r--gcc/config/pyr/pyr.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/config/pyr/pyr.md b/gcc/config/pyr/pyr.md
index 65b1fc0..06fc0e9 100644
--- a/gcc/config/pyr/pyr.md
+++ b/gcc/config/pyr/pyr.md
@@ -25,6 +25,7 @@
;; cpp macro #define NOTICE_UPDATE_CC in file tm.h handles condition code
;; updates for most instructions.
+;; These comments are mostly obsolete. Written for gcc version 1.XX.
;; * Try using define_insn instead of some peepholes in more places.
;; * Set REG_NOTES:REG_EQUIV for cvt[bh]w loads. This would make the
;; backward scan in sign_extend needless.
@@ -197,7 +198,8 @@
[(set (cc0)
(compare (match_operand:HI 0 "memory_operand" "m")
(match_operand:HI 1 "memory_operand" "m")))]
- "weird_memory_memory (operands[0], operands[1])"
+ "(!TRULY_UNSIGNED_COMPARE_P (GET_CODE (XEXP (SET_SRC (PATTERN (NEXT_INSN (insn))), 0))))
+ && weird_memory_memory (operands[0], operands[1])"
"*
{
rtx br_insn = NEXT_INSN (insn);
@@ -220,7 +222,8 @@
[(set (cc0)
(compare (match_operand:HI 0 "nonimmediate_operand" "r,m")
(match_operand:HI 1 "nonimmediate_operand" "m,r")))]
- "(GET_CODE (operands[0]) != GET_CODE (operands[1]))"
+ "(!TRULY_UNSIGNED_COMPARE_P (GET_CODE (XEXP (SET_SRC (PATTERN (NEXT_INSN (insn))), 0))))
+ && (GET_CODE (operands[0]) != GET_CODE (operands[1]))"
"*
{
rtx br_insn = NEXT_INSN (insn);