1 |
On Tue, 2011-07-26 at 14:58 -0400, Michael Mol wrote: |
2 |
> On Tue, Jul 26, 2011 at 4:36 PM, Alokat <mailing@××××××.org> wrote: |
3 |
> > Hi folks, |
4 |
> > |
5 |
> > I'm wondering what kind of cpu-type I should use? |
6 |
> > |
7 |
> > cat /proc/cpuinfo |
8 |
> [snip] |
9 |
> > model name : Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz |
10 |
> |
11 |
> [snip] |
12 |
> > .............. |
13 |
> > |
14 |
> > After a short research on this website: |
15 |
> > http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options |
16 |
> > |
17 |
> > I guess core2 is the right one? |
18 |
> > Is that true? |
19 |
> |
20 |
> That should work fine. Or 'native', if you don't plan on playing with distcc. |
21 |
> |
22 |
|
23 |
moriah tuxonice-2.6.39 # gcc -Q --help=target -march=core2 >a |
24 |
moriah tuxonice-2.6.39 # gcc -Q --help=target -march=native >b |
25 |
moriah tuxonice-2.6.39 # diff a b |
26 |
23c23 |
27 |
< -mcx16 [disabled] |
28 |
--- |
29 |
> -mcx16 [enabled] |
30 |
56c56 |
31 |
< -msahf [disabled] |
32 |
--- |
33 |
> -msahf [enabled] |
34 |
74c74 |
35 |
< -mtune= |
36 |
--- |
37 |
> -mtune= core2 |
38 |
moriah tuxonice-2.6.39 # |
39 |
|
40 |
I am now using core2 as I was having some really odd problems after |
41 |
mixing flags after multiple hardware changes along with native. Core2 |
42 |
is recommended for this processor, and I cant see the two flags changed |
43 |
via native making a difference, but the previous processors is no longer |
44 |
available to check. |
45 |
|
46 |
Perhaps someone could do the above and send me the result (the full "gcc |
47 |
-Q --help=target -march=native", using gcc-4.5) for an intel E4600? |
48 |
(the list probably wont be interested!) |
49 |
|
50 |
BillK |