[PATCH] add Kconfig option for optimizing for cell

Segher Boessenkool segher at kernel.crashing.org
Sat Sep 15 10:50:23 EST 2007


> +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?


Segher




More information about the Linuxppc-dev mailing list