This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc optimisation flags for Intel Atom


ä 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,
xunxun


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]