This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Optimising std::find on x86 and PPC
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Chris Jefferson <caj at cs dot york dot ac dot uk>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 14 Dec 2004 09:57:09 -0600
- Subject: Re: Optimising std::find on x86 and PPC
- Organization: Red Hat / Chicago
- References: <41BEF98C.3000403@cs.york.ac.uk>
>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