Re: gcc optimisation flags for Intel Atom

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

于 2012/6/26 10:56, Michael Zintakis 写道:
I am reading some very different (and sometimes conflicting) opinions what these optimisation flags should be. So, what are the best flags to use to compile source code for running on Atom?

Personally, I think using "-O2 -march=atom -msssse3 -mfpmath=sse -fomit-frame-pointer -pipe" is decent enough. Any other opinions? I am using gcc 4.4.5.
-msssse3 -> -mssse3

As I know, -mfpmath=sse may slow some code speed in some architechures, but I don't know if it also is on ATOM.

Best Regards,

[Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

Add to Google