[POWERPC] add Kconfig option for optimizing for cell
authorArnd Bergmann <arnd@arndb.de>
Sat, 15 Sep 2007 00:21:57 +0000 (10:21 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 22 Sep 2007 04:49:22 +0000 (14:49 +1000)
commit3164cccdc0e6e16eb9797586aaa8d1f759799c01
tree5685db34bfa546cefcd1f6fc0cbbac8bd11945bb
parentfb8299ed31d474248c2028ab8393462841cc9b0b
[POWERPC] add Kconfig option for optimizing for cell

Since the PPE on cell is an in-order core, it suffers significantly
from wrong instruction scheduling.  This adds a 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 <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Makefile
arch/powerpc/platforms/Kconfig.cputype