1 |
>>>>> "AC" == Amar Cosic <amar.cosic@×××××.com> writes: |
2 |
|
3 |
AC> Couple months ago I tried this |
4 |
AC> http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD#AMD_FX-8xxx.2F6xxx.2F4xxx_.28Bulldozer.29 |
5 |
|
6 |
Those flags are silly. |
7 |
|
8 |
Specifying -march=bderv1 already enables all of the rest of those -m flags. |
9 |
|
10 |
You will need to use gcc-4.6 or later to have -march=bderv1, otherwise |
11 |
try -march=native and/or -march=amdfam10. |
12 |
|
13 |
Iff you enable the graphite USE flag, you can add: |
14 |
|
15 |
-floop-interchange -floop-strip-mine -floop-block |
16 |
|
17 |
to enable the graphite optimizations. |
18 |
|
19 |
If you do install gcc-4.6.2, try these to confirm what native offers: |
20 |
|
21 |
:; echo | gcc -dM -E - -march=bdver1 | sort >gcc-info-bdver1 |
22 |
:; echo | gcc -dM -E - -march=native | sort >gcc-info-native |
23 |
|
24 |
A diff(1) of those two files should be empty. |
25 |
|
26 |
-JimC |
27 |
-- |
28 |
James Cloos <cloos@×××××××.com> OpenPGP: 1024D/ED7DAEA6 |