Optimising std::find on x86 and PPC

Benjamin Kosnik bkoz@redhat.com
Tue Dec 14 15:57:00 GMT 2004


>If anyone with more knowledge than me knows either how I could tweak 
>this code so it optimises well on both x86 or PPC, or how hard it might 
>be to poke the optimiser so one version of this code can be efficent on 
>both processors.

file a gcc/codegen bugzilla report.

this is not the type of thing libstdc++ should deal with. see nathan's
patches for min/max from last year for more commentary.

-benjamin



More information about the Libstdc++ mailing list