This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc optimisation flags for Intel Atom
- From: xunxun <xunxun1982 at gmail dot com>
- To: Michael Zintakis <michael dot zintakis at googlemail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 26 Jun 2012 11:08:52 +0800
- Subject: Re: gcc optimisation flags for Intel Atom
- References: <4FE924DD.4050802@googlemail.com>
ä 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