]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
h8300.md: Remove an incorrect comment about peephole2.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 10 Feb 2004 22:40:30 +0000 (22:40 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 10 Feb 2004 22:40:30 +0000 (22:40 +0000)
* config/h8300/h8300.md: Remove an incorrect comment about
peephole2.  Add comments.

From-SVN: r77618

gcc/ChangeLog
gcc/config/h8300/h8300.md

index a3e050d89904f82f598013077909f00a8fbb85b2..5cfcbfa21cdd75c0226689d44c4763b779e85cdd 100644 (file)
@@ -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
index c0a9575f4cdfcab7c3d33074a607ce1758c441bd..99a72a35633f3dc288569a4188ba6d86893f5444 100644 (file)
    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)
        (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)