gcc -mcpu / -march for Sempron 2400+ ?

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Nov 18 21:53:31 UTC 2004


On Thu, Nov 18, 2004 at 11:12:49AM -0800, Lloyd D Budd wrote:
> gcc -mcpu or -march for (desktop) Sempron 2400+ ? 
> 
> I found http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html ,
> but it does not list Sempron explicitly .
> 
> It seems that for higher Sempon (3100+ ?) it is the Athlon XP core ,
> so "-march=athlon-xp" works for it , but I have found confirmation for
> the 2400+ specifically .  Any one know ?

The Semptron is either a cache reduced version of the Athlon XP, or a
32bit limited cache reduced version of the Athlon 64.  Treating it as an
Athlon XP should always work just fine as far as I know.

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list