Gentoo Archives: gentoo-user

From: pk <peterk2@××××××××.se>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CFlags for CPU
Date: Wed, 27 Jul 2011 21:12:53
Message-Id: 4E307F0E.3020602@coolmail.se
In Reply to: Re: [gentoo-user] CFlags for CPU by Mick
1 On 2011-07-27 20:32, Mick wrote:
2
3 > It seems that on my early i7, the -march=core2 does not have all the -msse*
4 > flags enabled, while native does:
5
6 Acc. to this there is a flag for i7, BUT... I'm not sure if current
7 stable version accepts it:
8 http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html
9
10 > I wonder if I should just set it to "-march=native -O2 -pipe" and forget about
11 > it ... native it seems to have more stuff switched on and it would probably be
12 > a-good-thing® (although my understanding of what each flag does is rather
13 > cursory).
14
15 I assume "native" would do fine...
16
17 Best regards
18
19 Peter K