Why -mtune=atom?

Peter Robinson pbrobinson at gmail.com
Thu Mar 12 13:11:45 UTC 2015

On Thu, Mar 12, 2015 at 1:02 PM, Florian Weimer <fweimer at redhat.com> wrote:
> The default CFLAGS set by RPM include “-mtune-atom”.

That's for i686 only

> Why?  I doubt Atom CPUs are Fedora's primary target.  It's not even a
> documented GCC option.  There is such a wide variety of CPUs under this
> label that it's not even clear what it would mean.
> If it's better than “-mtune=generic” or the GCC default, shouldn't GCC
> be fixed?

It was decided some time ago (F-13 from memory) and it's aimed at 32
bit platforms. At the time it was decided it was the best compromise
and if people wanted performance they should be running 64 bit anyway.


More information about the devel mailing list