1 |
maxim wexler writes: |
2 |
|
3 |
> > If so, Daniel's tip about 'gcc -Q --help=target -march=native' will give |
4 |
> > you the exact options to use. |
5 |
|
6 |
> See attachment please. Some stuff is enabled, some disabled, some blank. |
7 |
|
8 |
Try this: |
9 |
gcc -Q --help=target -march=native > /tmp/gccoptions.native |
10 |
gcc -Q --help=target > /tmp/gccoptions.plain |
11 |
diff /tmp/gccoptions.* |
12 |
|
13 |
This will show the things that specifying -march=native turns on. Put this |
14 |
in your CFLAGS, unless you use -march=native. |
15 |
|
16 |
> And -march=prescott !? |
17 |
|
18 |
Why not? Seems gcc 4.3 does not have the -march=atom optimization yet. It's |
19 |
also suggested here: |
20 |
http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Atom |
21 |
|
22 |
Wonko |