This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

__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)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]