[Fwd: GCC2C compiler/converter]

David S. Miller davem@redhat.com
Wed Jul 17 04:53:00 GMT 2002


   From: Alexey Starovoytov <starlex@eng.sun.com>
   Date: Tue, 16 Jul 2002 18:23:59 -0700 (PDT)

   Hi David,
   > Not true, loop prefetch for Ultra-I/II/III exists even in the current
   > 3.1 sources.  The mainline even has an Ultra-III specific scheduler
   > description.
   
   GCC 3.1 doesn't see a difference between Ultra 1, 2 and 3.
   Some commercial applications saw 2x gains just recompiling from US2 to US3.

That doesn't mean it doesn't support UltraSPARC prefetch.  The
prefetch instructions are designed in a way that you can use them
without knowing what kind of processor or what the prefetch
implementation of the chip looks like.  You just use the generic codes
defined in the v9 architecture.



More information about the Gcc mailing list