Gentoo Archives: gentoo-dev

From: Dave Lee <davel@××××××.com>
To: gentoo-dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] gcc 3.1 inconsistencies :
Date: Tue, 04 Jun 2002 22:26:32
Message-Id: Pine.SGI.4.21.0206042056110.27878136-100000@the-gimp
In Reply to: [gentoo-dev] gcc 3.1 inconsistencies : by Spider
1 Spider wrote:
2 > soo, right now I'm running march=athlon-tbird -O3 -pipe for most things
3
4 In case anybody is curious like I was:
5
6 I didn't know the difference between the various athlon arch settings,
7 athlon-tbird, athlon-xp, etc. I found that there are two athlon
8 variations, those with the sse instruction set and those w/o sse.
9
10 no sse: athlon, athlon-tbird
11 sse: athlon-4, athlon-xp, athlon-mp
12
13 `grep sse /proc/cpuinfo` to see if your cpu has sse, though I don't know
14 how reliable cpuinfo is. I have a duron 1GHz, and it has sse, but earlier
15 durons, <1GHz, don't have sse.
16
17 also, when you do either of -msse -m3dnow gcc automagically does -mmmmx
18 for you.
19
20 from what I see, athlon and athlon-tbird are identical arch settings, as
21 are athlon-4, athlon-xp, and athlon-mp.
22
23 so can anyone verify this? of course its possible the different names are
24 there for finer grained code gen in the future.
25
26 Dave