Gentoo Archives: gentoo-user

From: Chris Walters <cjw2004d@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] amd Athlon 64 x2 install cpu?
Date: Sat, 02 Dec 2006 05:24:42
Message-Id: 45710D1D.7080301@comcast.net
In Reply to: Re: [gentoo-user] amd Athlon 64 x2 install cpu? by Raymond Lewis Rebbeck
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 Raymond Lewis Rebbeck wrote:
5 > On Saturday, 2 December 2006 14:59, Chris Walters wrote:
6 >> James wrote:
7 >>> Hello,
8 >>>
9 >>> Im using the livecd amd64 to install a new AMD ATholon 64 x2 Dual-Core
10 >>> based system. I'm at the processor selection and stumped by the lack of
11 >>> choices.
12 >>>
13 >>> My amd64 turion laptop uses this option:
14 >>> CFLAGS="-march=k8 -O2 -pipe"
15 >>> CHOST="x86_64-pc-linux-gnu"
16 >>>
17 >>> In the current install, I k6, k6-2, k6-3, athlon-xp and athlon-mp
18 >>> as choices.
19 >>>
20 >>> Did I burn the wrong liveCD amd64 cd?
21 >>>
22 >>> James
23 >> Hello James,
24 >>
25 >> I would suggest trying in the CFLAGS, "-athlon64" you might want to set
26 >> some other flags like "-mfpmath=", "-sse", "-sse2", and "-3dnow".
27 >
28 > You should be specifying '-march=athlon64'.
29
30 Oops. This is what I meant to say - what I get when I divide my
31 attention. Pity, since I just recently installed a Gentoo system for
32 the same processor.
33
34 > '-athlon64' is not a valid CFLAG, also -sse/2 and -3dnow are all implied
35 > by -march=athlon64 and I'm quite sure that -mfpmath=sse is also the default
36 > on amd64. It may be useful to specify '-msse3' in the CFLAGS though if your
37 > cpu supports SSE3 as no -march setting implies it yet. Although it's unlikely
38 > that gcc utilises sse3 properly.
39 >
40 > I recommend the following CFLAGS:
41 >
42 > CFLAGS="-O2 -march=athlon64 -pipe"
43
44 That is what I was going to suggest... Oh well, I guess I'd better
45 learn to concentrate.
46 >
47 > Adding -msse3 if appropriate for your cpu.
48
49 Regards,
50 Chris
51 -----BEGIN PGP SIGNATURE-----
52
53 iD8DBQFFcQ0bUx1jS/ORyCsRCKHFAJ47vdN38SNRp1YQGbowANWn8bpCrgCfexro
54 4qlyhzQwXnu4mGmJrdQLObU=
55 =0vLx
56 -----END PGP SIGNATURE-----
57 --
58 gentoo-user@g.o mailing list