1 |
Graham Murray schrieb: |
2 |
> Andrew Gaydenko <a@××××××××.com> writes: |
3 |
> |
4 |
> |
5 |
>> gcc-4.3.1 is umasked now. I'm on ~amd64 with Core 2 Duo CPU. Is it |
6 |
>> sufficient just to set |
7 |
>> |
8 |
>> CFLAGS="-O2 -march=core2 -mtune=core2 -pipe" |
9 |
>> |
10 |
>> instead of |
11 |
>> |
12 |
>> CFLAGS="-O2 -march=native -mtune=native -pipe" |
13 |
>> |
14 |
>> which I have in make.conf now? Are there any other things to do? |
15 |
>> |
16 |
> |
17 |
> Should the two not be equivalent? On a core2 processor, should |
18 |
> -march=native not generate code for the core2? |
19 |
> |
20 |
I can't remember where (but it could only be in the wiki or the official |
21 |
gcc docs), I read that using -march="YOURARCH" should be preferred over |
22 |
-march=native. |