Gentoo Archives: gentoo-dev

From: Dan Armak <ermak@×××××××××××××.il>
To: gentoo-dev@××××××××××.org
Subject: [gentoo-dev] make.conf optimization flags for k6, athlon
Date: Fri, 13 Jul 2001 14:35:06
Message-Id: 01071323350502.00707@localhost
1 Hi all,
2
3 In make.conf we specify the optimization CXXFLAGS as follows:
4
5 # For Pentium and k6/2 machines
6 # -----------------------------
7
8 #CHOST="i586-pc-linux-gnu"
9 #CFLAGS="-mpentium -march=pentium -O3 -pipe"
10 #CXXFLAGS="-mpentium -march=pentium -O3 -pipe"
11
12 Why don't we use -march=k6 -mcpu=k6? Wouldn't that allow use of mmx and
13 3dnow, which a generic pentium doesn't have?
14
15
16 # For PII PIII and Athlon machines
17 # --------------------------------
18
19 #CHOST="i686-pc-linux-gnu"
20 #CFLAGS="-mpentiumpro -march=pentiumpro -O3 -pipe"
21 #CXXFLAGS="-mpentiumpro -march=pentiumpro -O3 -pipe"
22
23 The same here: I believe (though I'm not sure as I don't have an Athlon) that
24 the flags -mcpu=athlon -march=athlon might be of use.
25
26 Dan Armak

Replies

Subject Author
Re: [gentoo-dev] make.conf optimization flags for k6, athlon Daniel Robbins <drobbins@g.o>
Re: [gentoo-dev] make.conf optimization flags for k6, athlon Thomas Beaudry <k8la@××××.net>