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]

Re: __builtin_prefetch() question


Guillermo Ballester Valor wrote:

>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.
>

Try -mcpu=pentium3

Bryce.




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