1 |
Etaoin Shrdlu wrote: |
2 |
> On Monday 18 December 2006 19:06, Mark Haney wrote: |
3 |
> |
4 |
>> I've been using -mcpu since I started using gentoo, but have been |
5 |
>> noticing the '-mcpu is deprecated etc.' messages when updating. Being |
6 |
>> the paranoid I am, I'd like to get rid of those, but haven't found the |
7 |
>> correct option to use for -march. Is it the same as -mcpu? Or what's |
8 |
>> the correct one for amd64? |
9 |
> |
10 |
> You can use -mtune in place of -mcpu. If you don't need binary |
11 |
> compatibility with other CPUs, you should use -march. Speaking of |
12 |
> which...that really depends. "amd64" means a lot of CPUs, including AMD |
13 |
> and Intel models. What's your CPU? |
14 |
> |
15 |
> According to [1], you should set -march=k8 for AMD CPUs (non-EM64T) |
16 |
> and -march=nocona for Intel ones (EM64T). But, for AMD athlon64 X2, you |
17 |
> can also use -march=athlon64. [2] is a good reference, IMHO. |
18 |
> |
19 |
> If you want to optimize further, the forums have lots of threads devoted |
20 |
> to CFLAGS optimization. |
21 |
> |
22 |
> [1] http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml#cflags |
23 |
> [2] http://gentoo-wiki.com/Safe_Cflags |
24 |
|
25 |
All the suggestions I have received have been great. As for my CPU it's |
26 |
a standard Athlon64 sitting in a Compaq laptop. Nothing particularly |
27 |
outside the norm. |
28 |
|
29 |
Thanks again for all the answers. |
30 |
|
31 |
|
32 |
|
33 |
-- |
34 |
Ita erat quando hic adveni. |
35 |
|
36 |
Mark Haney |
37 |
Sr. Systems Administrator |
38 |
ERC Broadband |
39 |
(828) 350-2415 |
40 |
-- |
41 |
gentoo-amd64@g.o mailing list |