This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
__builtin_prefetch() question
- From: Guillermo Ballester Valor <gbv at oxixares dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 26 May 2002 11:13:55 +0200
- Subject: __builtin_prefetch() question
Hi all,
My question is: does __builtin_prefetch() in GCC 3.1 actually insert any
prefetch hint for pentium3 target? or it does nothing with it?
I listed assembler outputs with -march=pentium3 (and some prefetch calls) and
I can't see any prefetch code, and diffs show me no differences with
__builtin_prefetch() calls and without it.
Thanks in advance.
Guillermo.
P.S: OTOH GCC 3.1 is currently doing faster code than Intel compiler 5.0 for
my project (I have not 2.4.x kernel linux and libc 2.2.3 linux to run v.6.0),
and about 5-10% faster than 3.0.4. See http://sourceforge.net/projects/glucas
You've been a impressive job!
--
Guillermo Ballester Valor
gbv@oxixares.com
Granada (Spain)