diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a3e050d89904f82f598013077909f00a8fbb85b2..5cfcbfa21cdd75c0226689d44c4763b779e85cdd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-10 Kazu Hirata <kazu@cs.umass.edu> + + * config/h8300/h8300.md: Remove an incorrect comment about + peephole2. Add comments. + 2004-02-10 Josef Zlomek <zlomekj@suse.cz> PR/14058 diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index c0a9575f4cdfcab7c3d33074a607ce1758c441bd..99a72a35633f3dc288569a4188ba6d86893f5444 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -4971,9 +4971,12 @@ operands[7] = gen_int_mode (INTVAL (operands[2]), QImode);") ;; These triggers right at the end of allocation of locals in the -;; prologue. The only profitable cases are when we have stack -;; adjustment of -4 or -12. That of -8 won't happen because it is -;; always split into two consecutive subtractions of -4. +;; prologue (and possibly at other places). + +;; stack adjustment of -8, generate one push +;; +;; before : 14 bytes, 22 clocks +;; after : 8 bytes, 20 clocks (define_peephole2 [(set (reg:SI SP_REG) @@ -4987,6 +4990,11 @@ (match_dup 0))] "") +;; stack adjustment of -12, generate one push +;; +;; before : 10 bytes, 14 clocks +;; after : 8 bytes, 14 clocks + (define_peephole2 [(set (reg:SI SP_REG) (plus:SI (reg:SI SP_REG)