diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-02-10 22:40:30 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-02-10 22:40:30 +0000 |
commit | 2493deee555bff3a4be1cc3ef011b4f7a4efdf71 (patch) | |
tree | 379c40d73d9cbf26c86815737608bb5118eefb04 /gcc | |
parent | 0237b2dc30312a14a02cd6cc42daeec82b49b913 (diff) | |
download | gcc-2493deee555bff3a4be1cc3ef011b4f7a4efdf71.zip gcc-2493deee555bff3a4be1cc3ef011b4f7a4efdf71.tar.gz gcc-2493deee555bff3a4be1cc3ef011b4f7a4efdf71.tar.bz2 |
h8300.md: Remove an incorrect comment about peephole2.
* config/h8300/h8300.md: Remove an incorrect comment about
peephole2. Add comments.
From-SVN: r77618
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.md | 14 |
2 files changed, 16 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a3e050d..5cfcbfa 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 c0a9575..99a72a3 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) |