public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/32390]  New: tree-ssa-math-opts.c performs too many IL scans
@ 2007-06-18 12:21 dnovillo at gcc dot gnu dot org
  2007-06-18 13:56 ` [Bug tree-optimization/32390] " rguenth at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2007-06-18 12:21 UTC (permalink / raw)
  To: gcc-bugs

In tree-ssa-math-opts.c we already had a pass to cse sin and cos.  The new
reciprocal sqrt pass is mechanically similar to that one.  It does a linear
scan over the CFG applying these peephole transformations.  This new pass
should not be doing a separate IL scan to do its job.

Perhaps it would be a good idea to do a single scan that calls back to
all these transformations on every statement?  I realize that each pass
requires its own setup and may need to do things a bit differently, but
perhaps we can save ourselves multiple IL scans if we generalize it a bit.


-- 
           Summary: tree-ssa-math-opts.c performs too many IL scans
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dnovillo at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32390


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-02-06 22:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-18 12:21 [Bug tree-optimization/32390] New: tree-ssa-math-opts.c performs too many IL scans dnovillo at gcc dot gnu dot org
2007-06-18 13:56 ` [Bug tree-optimization/32390] " rguenth at gcc dot gnu dot org
2007-06-18 14:00 ` dnovillo at google dot com
2007-06-18 17:40 ` ubizjak at gmail dot com
2007-06-19  5:09 ` paolo dot bonzini at lu dot unisi dot ch
2009-02-06 21:41 ` steven at gcc dot gnu dot org
2009-02-06 22:29 ` rguenth at gcc dot gnu dot org
2009-02-06 22:43 ` steven at gcc dot gnu dot org
2009-02-06 22:51 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).