diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-04-26 18:16:50 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-04-26 18:16:50 -0400 |
commit | d8ddc751ee9667b27a4b28f7a00fa550c23f65c2 (patch) | |
tree | 7e8eccc270b4bfecb0342fb7b72eb6dd9ffdf5f8 /gcc/config/pyr | |
parent | b095754a73868960130564eaa065a755bb403311 (diff) | |
download | gcc-d8ddc751ee9667b27a4b28f7a00fa550c23f65c2.zip gcc-d8ddc751ee9667b27a4b28f7a00fa550c23f65c2.tar.gz gcc-d8ddc751ee9667b27a4b28f7a00fa550c23f65c2.tar.bz2 |
Remove bad peepholes that improperly use dead_or_set_p.
From-SVN: r9491
Diffstat (limited to 'gcc/config/pyr')
-rw-r--r-- | gcc/config/pyr/pyr.md | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gcc/config/pyr/pyr.md b/gcc/config/pyr/pyr.md index 781466a..9c0a11a 100644 --- a/gcc/config/pyr/pyr.md +++ b/gcc/config/pyr/pyr.md @@ -1136,36 +1136,6 @@ return \"mtstw %1,%0\"; ") -;; Same for HI and QI mode move-test as well. - -(define_peephole - [(set (match_operand:HI 0 "register_operand" "=r") - (match_operand:HI 1 "nonimmediate_operand" "rm")) - (set (match_operand:SI 2 "register_operand" "=r") - (sign_extend:SI (match_operand:HI 3 "nonimmediate_operand" "rm"))) - (set (cc0) (match_dup 2))] - "dead_or_set_p (insn, operands[2]) - && (rtx_equal_p (operands[3], operands[0]) - || rtx_equal_p (operands[3], operands[1]))" - "* - cc_status.flags |= CC_NO_OVERFLOW; - return \"cvthw %1,%0\"; -") - -(define_peephole - [(set (match_operand:QI 0 "register_operand" "=r") - (match_operand:QI 1 "nonimmediate_operand" "rm")) - (set (match_operand:SI 2 "register_operand" "=r") - (sign_extend:SI (match_operand:QI 3 "nonimmediate_operand" "rm"))) - (set (cc0) (match_dup 2))] - "dead_or_set_p (insn, operands[2]) - && (rtx_equal_p (operands[3], operands[0]) - || rtx_equal_p (operands[3], operands[1]))" - "* - cc_status.flags |= CC_NO_OVERFLOW; - return \"cvtbw %1,%0\"; -") - ;; Optimize loops with an incremented/decremented variable. (define_peephole |