[PATCH] add Kconfig option for optimizing for cell

Arnd Bergmann arnd at arndb.de
Sat Sep 15 11:02:23 EST 2007


On Saturday 15 September 2007, Josh Boyer wrote:
> On Sat, 2007-09-15 at 02:21 +0200, Arnd Bergmann wrote:
> > Since the PPE on cell is an in-order core, it suffers significantly
> > from wrong instruction scheduling. This adds an Kconfig option that
> > enables passing -mtune=cell to gcc in order to generate object
> > code that runs well on cell.
> 
> Which version of gcc supports that?
> 

gcc-4.3 will be the first official release that has everything in it,
and I think 4.1 has some parts. However, there are many patched gcc
versions in various distributions, so I tried to avoid being too
specific about the version here.

Of course, on gcc versions that don't support -mtune=cell, the 
Kconfig option does not make a difference.

	Arnd <><



More information about the Linuxppc-dev mailing list