Optimising std::find on x86 and PPC

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Dec 14 21:43:00 GMT 2004


Paolo Carlini <pcarlini@suse.de> writes:

| Paolo Carlini wrote:
| 
| > Hi Theodore and thanks for the interesting analysis.
| 
| I would like to add, that both gcc3.3.3 and other compilers are
| definitely able to unroll the loop at issue, therefore I'm tempted to
| consider the current behavior just a serious (performance) regression
| (i.e., correctness vs aliasing and other subtleties should not be in
| the way)

That is a clear regression.

Tree-ssa has been sold on the name of bringing better methodology to
optimizations; given Theo's analysis, I think this issue no longer
belongs to V3.  It should be brought to GCC main list 

-- Gaby



More information about the Libstdc++ mailing list