Gentoo Archives: gentoo-amd64

From: Daniel Iliev <danny@××××××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] First Impressions
Date: Thu, 28 Sep 2006 04:02:37
Message-Id: 451B48AD.4050207@ilievnet.com
In Reply to: Re: [gentoo-amd64] First Impressions by Dan Pasanen
1 Dan Pasanen wrote:
2 > Ok, im not too sure about this, but i was wondering, i have dual core
3 > turion64's should that affect if im running -O2 or -O3? currently im
4 > running -O2. and if i did change it to -O3, what, if anything should
5 > i recompile?
6
7 >From gcc man page:
8
9 -O3 Optimize yet more. -O3 turns on all optimizations specified by -O2
10 and also turns on the -finline-functions, -funswitch-loops and
11 -fgcse-after-reload options.
12
13
14 So "-O3" is adding 3 more optimization flags to the bunch of flags "-O2"
15 brings. I thing it is reasonable to doubt that a program compiled with
16 "-O3" would greatly outperform the same program compiled with "-O2". The
17 same logic is applicable about stability. I have to admit that my logic
18 here is a plain arithmetic of type: "1 lemon - 10 cents, 10 lemons - 100
19 cents". There are programmers here who's opinion should be respected if
20 it differs from this logic.
21
22 --
23 Best regards,
24 Daniel
25
26
27 --
28 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] First Impressions "Boyd Stephen Smith Jr." <bss03@××××××××××.net>