This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Fwd: GCC2C compiler/converter]
- From: "David S. Miller" <davem at redhat dot com>
- To: gcc2c at sun dot com, starlex at eng dot sun dot com
- Cc: gcc at gcc dot gnu dot org, dberlin at dberlin dot org
- Date: Tue, 16 Jul 2002 18:22:00 -0700 (PDT)
- Subject: Re: [Fwd: GCC2C compiler/converter]
- References: <Pine.GSO.4.31.0207161801120.13468-100000@boojum>
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.