lkml.org 
[lkml]   [2002]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.4/2.5] Athlon CFLAGS
Dave Jones wrote:
> On Sun, Sep 08, 2002 at 09:28:11PM +0200, Daniel Mehrmann wrote:
> > Hi Alan,
> >
> > i add for the AMD Athlon family some optimize compilerflags.
> > Gcc 3.1 and 3.2 support more specific Athlon instructions as 3.0 or 2.95x.
> > This patch for 2.4.19, 2.4.20-pre5 and 2.5.33 set a new "-march" flag:
> >
> > Athlon TB/Duron += -march=athlon-tbird
> > Athlon XP/Athlon4/Duron += -march=athlon-xp
> > Athlon MP += -march=athlon-mp
>
> I thought these were all just gcc aliases for the same options ?
> It's been a while since I looked at the gcc option parser, so I've
> forgotten exactly what happens, but at least you missed the
> bogus athlon-4 option.
>
> Are the gains between all these options really worth the added
> complexity ?
>
> Dave
>

They all have the same scheduling AFAICS, there are minor variations
between athlon, athlon-tbird, and the rest:

>
> {"athlon", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
> | PTA_3DNOW_A},
> {"athlon-tbird", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE
> | PTA_3DNOW | PTA_3DNOW_A},
> {"athlon-4", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
> | PTA_3DNOW_A | PTA_SSE},
> {"athlon-xp", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
> | PTA_3DNOW_A | PTA_SSE},
> {"athlon-mp", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
> | PTA_3DNOW_A | PTA_SSE},

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.088 / U:1.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site