Re: [PATCH] add Kconfig option for optimizing for cell

2007-09-15 Thread Arnd Bergmann
On Saturday 15 September 2007, David Woodhouse 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 o

Re: [PATCH] add Kconfig option for optimizing for cell

2007-09-15 Thread David Woodhouse
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. Do we

Re: [PATCH] add Kconfig option for optimizing for cell

2007-09-14 Thread Josh Boyer
On Sat, 2007-09-15 at 03:02 +0200, Arnd Bergmann wrote: > 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 Kcon

Re: [PATCH] add Kconfig option for optimizing for cell

2007-09-14 Thread Arnd Bergmann
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 ru

Re: [PATCH] add Kconfig option for optimizing for cell

2007-09-14 Thread Arnd Bergmann
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

Re: [PATCH] add Kconfig option for optimizing for cell

2007-09-14 Thread Segher Boessenkool
> +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 mac

Re: [PATCH] add Kconfig option for optimizing for cell

2007-09-14 Thread Josh Boyer
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

[PATCH] add Kconfig option for optimizing for cell

2007-09-14 Thread Arnd Bergmann
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. Signed-off-by: Arnd Bergmann <[EMAIL PROTECTED]> --- diff --git a/arch