This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Optimize manual byte swap implementations v3


On Fri, 5 Jun 2009, Andi Kleen wrote:

> "Andreas Krebbel" <krebbel@linux.vnet.ibm.com> writes:
> >
> > I think the run-time of the pass is dominated by the time needed to
> > walk over the ssa statements.  I doubt that tweaks in the recognition
> > of bswap will buy a lot.  Merging it with sincos would help here but
> > would cost us the flexibility to move the pass to somewhere else.  I
> > can certainly do that if this is considered the way to go.
> 
> It would be nice if there was a single pass that does all these simple
> walks in parallel, serving both sincos and yours and any others that
> might come up. 

That doesn't make it easily maintainable nor relocatable within
the pass pipeline.  Also I don't think a stmt walk adds 0.5% compile-time.

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]