This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Support -mtune= on Alpha
On Fri, Sep 15, 2000 at 10:54:08AM -0700, Richard Henderson wrote:
> On Fri, Sep 15, 2000 at 11:08:27AM -0400, Jakub Jelinek wrote:
> > BTW: I came over
> > { 3, 13, -1 }, /* ev6 -- Ho hum, doesn't exist yet */
> > in override_options, the comment looks pretty outdated, that's why I'm
> > wondering whether somebody measured E2$ and E3$ latencies on ev6....
>
> Heh. { 3, 12, 30 }.
When looking at it, I saw that running with -mmemory-latency=L0 will do
really weird things. Plus your latency numbers probably deserve some comment...
--- gcc/config/alpha/alpha.c.jj Fri Sep 15 19:57:10 2000
+++ gcc/config/alpha/alpha.c Fri Sep 15 20:13:25 2000
@@ -309,11 +309,11 @@ override_options ()
{
{ 3, 30, -1 }, /* ev4 -- Bcache is a guess */
{ 2, 12, 38 }, /* ev5 -- Bcache from PC164 LMbench numbers */
- { 3, 13, -1 }, /* ev6 -- Ho hum, doesn't exist yet */
+ { 3, 12, 30 }, /* ev6 -- ??? */
};
lat = alpha_mlat_string[1] - '0';
- if (lat < 0 || lat > 3 || cache_latency[alpha_cpu][lat-1] == -1)
+ if (lat <= 0 || lat > 3 || cache_latency[alpha_cpu][lat-1] == -1)
{
warning ("L%d cache latency unknown for %s",
lat, alpha_cpu_name[alpha_cpu]);
Jakub