diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-02-12 13:57:56 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-02-12 13:57:56 +0000 |
commit | 86bc9b196b775eee1dbf91e962d68a9135f50923 (patch) | |
tree | 20116a48d4fd93dc1dc1cb1011839d0abcae568e /gcc | |
parent | 0e0335e36a45b4411427a58f8cd0584ad750e0c6 (diff) | |
download | gcc-86bc9b196b775eee1dbf91e962d68a9135f50923.zip gcc-86bc9b196b775eee1dbf91e962d68a9135f50923.tar.gz gcc-86bc9b196b775eee1dbf91e962d68a9135f50923.tar.bz2 |
h8300.md (several peephole2): Replace find_regno_note with peep2_reg_dead_p.
* config/h8300/h8300.md (several peephole2): Replace
find_regno_note with peep2_reg_dead_p.
From-SVN: r62763
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.md | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ccd5b58..52c1cd7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-02-12 Kazu Hirata <kazu@cs.umass.edu> + + * config/h8300/h8300.md (several peephole2): Replace + find_regno_note with peep2_reg_dead_p. + 2003-02-11 Richard Henderson <rth@redhat.com> * gcse.c (lookup_set): Remove unused argument PAT. Update diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index a469704..5c412a7 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -3448,7 +3448,7 @@ (label_ref (match_operand 2 "" "")) (pc)))] "(TARGET_H8300H || TARGET_H8300S) - && find_regno_note (insn, REG_DEAD, REGNO (operands[0]))" + && peep2_reg_dead_p (1, operands[0])" [(set (cc0) (match_dup 0)) (set (pc) @@ -3470,7 +3470,7 @@ (label_ref (match_operand 2 "" "")) (pc)))] "(TARGET_H8300H || TARGET_H8300S) - && find_regno_note (insn, REG_DEAD, REGNO (operands[0]))" + && peep2_reg_dead_p (1, operands[0])" [(set (cc0) (match_dup 0)) (set (pc) @@ -3492,7 +3492,7 @@ (label_ref (match_operand 3 "" "")) (pc)))] "(TARGET_H8300H || TARGET_H8300S) - && find_regno_note (insn, REG_DEAD, REGNO (operands[0])) + && peep2_reg_dead_p (1, operands[0]) && (INTVAL (operands[1]) == 1 || INTVAL (operands[1]) == 3 || INTVAL (operands[1]) == 7 @@ -3529,7 +3529,7 @@ [(cc0) (const_int 0)]) (label_ref (match_operand 2 "" "")) (pc)))] - "find_regno_note (next_nonnote_insn (insn), REG_DEAD, REGNO (operands[0]))" + "peep2_reg_dead_p (2, operands[0])" [(set (match_dup 4) (and:QI (match_dup 4) (match_dup 5))) @@ -3553,7 +3553,7 @@ [(cc0) (const_int 0)]) (label_ref (match_operand 2 "" "")) (pc)))] - "find_regno_note (next_nonnote_insn (insn), REG_DEAD, REGNO (operands[0]))" + "peep2_reg_dead_p (2, operands[0])" [(set (match_dup 4) (and:QI (match_dup 4) (match_dup 5))) @@ -3577,7 +3577,7 @@ [(cc0) (const_int 0)]) (label_ref (match_operand 2 "" "")) (pc)))] - "find_regno_note (next_nonnote_insn (insn), REG_DEAD, REGNO (operands[0]))" + "peep2_reg_dead_p (2, operands[0])" [(set (match_dup 4) (and:HI (match_dup 4) (match_dup 5))) |