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: gcc3.1 and 3DNOW prefetch


On Tue, Jun 04, 2002 at 11:16:45AM +0200, Jan Hubicka wrote:
> > 
> > I've been looking at the 3.1 source code w.r.t. to PREFETCH, and it
> > looks like only the SSE prefetch is supported, not the 3DNOW prefetch. 
> > Am I missing something?
> 
> There is 3dnow prefetch support.  SSE prefetch is used with
> priority as it is more portable and supported by all chips supporting
> 3dnow one, but when you ask for write prefetch and -march=k6/athlon you
> should get the 3dnow one.

Tom,

There are some tests that check for the appropriate use of prefetch
instructions on x86 architectures, and they can let you know which
ones to expect; in gcc/testsuite/gcc.misc-tests, see i386-prefetch.exp
and i386-pf*.

Janis


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