This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
K6 optimization && compiler builtins
- To: egcs at cygnus dot com
- Subject: K6 optimization && compiler builtins
- From: Ronald Wahl <Ronald dot Wahl at informatik dot tu-chemnitz dot de>
- Date: Mon, 15 Dec 1997 23:36:17 +0100 (CET)
- Reply-To: egcs at cygnus dot com
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
is used - is it possible to include my optimized versions (if ready)?
ron
--
\ Ronald Wahl --- rwa@informatik.tu-chemnitz.de \
\ WWW: http://www.tu-chemnitz.de/~row \
\ Talk: rwa@goliath.csn.tu-chemnitz.de \
\ PGP key available by finger to my email address \