diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a3e050d8990..5cfcbfa21cd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-10 Kazu Hirata + + * config/h8300/h8300.md: Remove an incorrect comment about + peephole2. Add comments. + 2004-02-10 Josef Zlomek PR/14058 diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index c0a9575f4cd..99a72a35633 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)