This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: K6 optimization && compiler builtins
On Mon, Dec 15, 1997 at 11:36:17PM +0100, Ronald Wahl wrote:
> Hi,
>
> At the moment I'm playing with the string/memory routines of libc which
> are written in assembler. On a K6 (somtimes PPro also, Pentium not testet)
> I can get a performance gain of 10-40% (!). Now my question: If I use one
> of the string/memory functions (e.g. memcmp) in my programs, which one
> will be uses - the compiler builtin or the one in the libc? If the builtin
I guess the compiler builtins will be used (Why not try it out?),
btw, I have a version of strlen that's about 30% faster on
pentiums than the one currently in gcc.
anybody wants to hack it into i386.md?
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ --+
The choice of a GNU generation |
|