View previous topic :: View next topic |
Author |
Message |
vencik n00b

Joined: 21 Apr 2005 Posts: 4
|
Posted: Thu Apr 21, 2005 9:10 am Post subject: Fine--tuning a Sempron system |
|
|
Hi,
does anyone have an experience with setting suitable CFLAGS for
AMD Sempron with Palermo core (on socket 754)?
I was thinking about something like
-march=athlon-4 -mfpmath=sse -msse2
or just
-mfpmath=sse -msse -msse2 -mmmx -m3dnow
Any suggestions for -mtune/-march?
Thanks,
vencik _________________ "Face the Evil. Feed your Penguin." (Tux) |
|
Back to top |
|
 |
nxsty Veteran


Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Thu Apr 21, 2005 9:44 am Post subject: |
|
|
I think -march=athlon-4 is the correct option for your CPU. Don't use -mfpmath= it will only make code slower. Also the correct -mmmx, -msse etc. options are already included by -march, except sse2 but sse2/sse3 support is currently broken in gcc anyway. |
|
Back to top |
|
 |
|