]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/config/pyr/pyr.md
*** empty log message ***
[gcc.git] / gcc / config / pyr / pyr.md
index 65b1fc0b359d165842b20dc899275ee7af1dac8b..06fc0e94b9340b5e8e0b661632cc856a0244f64b 100644 (file)
@@ -25,6 +25,7 @@
 ;; cpp macro #define NOTICE_UPDATE_CC in file tm.h handles condition code
 ;; updates for most instructions.
 \f
+;; 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.
   [(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);
   [(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);
This page took 0.026095 seconds and 5 git commands to generate.