[PATCH] add Kconfig option for optimizing for cell
arnd at arndb.de
Sat Sep 15 11:02:52 EST 2007
On Saturday 15 September 2007, Segher Boessenkool wrote:
> > +config TUNE_CELL
> > + bool "Optimize for Cell Broadband Engine"
> > + depends on PPC64
> > + help
> > + Cause the compiler to optimize for the PPE of the Cell Broadband
> > + Engine. This will make the code run considerably faster on Cell
> > + but somewhat slower on other machines. This option only changes
> > + the scheduling of instructions, not the selection of instructions
> > + itself,
> It _does_ change instruction selection, which is the main factor
> in the slowdown on other machines (and a big part of the speedup
> on Cell, too). It doesn't change which insns the compiler is
> allowed to use though, which is probably what you wanted to say?
Right, thanks for the correction.
More information about the Linuxppc-dev