Re: [PATCH] Mention Intel Atom in Kconfig.cpu

From: Adrian Bunk
Date: Mon Oct 13 2008 - 10:03:47 EST


On Mon, Oct 13, 2008 at 09:30:14AM -0400, Arjan van de Ven wrote:
> On Mon, 13 Oct 2008 15:30:51 +0200
> Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
> >
> > > Core2 instruction set with tune=generic is still the best to set.
> >
> > Not sure that is true. These option are mostly for the compiler.
>
> exactly, and our benchmarks show that tune=generic is best right now
> for Atom.
> (586 scheduling sounds nice, but the pipelines are rather different.
> And the benchmarks don't lie.. ;-)

That sounds a bit dangerous since tune=generic is documented to change
the semantics between gcc versions to better fit more recent CPUs
(there's even a small difference between gcc 4.2 and gcc 4.3):

As new processors are deployed in the marketplace, the
behavior of this option will change. Therefore, if you
upgrade to a newer version of GCC, the code generated option
will change to reflect the processors that were most common
when that version of GCC was released.


cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/