Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67384
b: refs/heads/master
c: 3164ccc
h: refs/heads/master
v: v3
  • Loading branch information
Arnd Bergmann authored and Paul Mackerras committed Sep 22, 2007
1 parent 4ebce46 commit db9353b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fb8299ed31d474248c2028ab8393462841cc9b0b
refs/heads/master: 3164cccdc0e6e16eb9797586aaa8d1f759799c01
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ else
endif
endif

ifeq ($(CONFIG_TUNE_CELL),y)
CFLAGS += $(call cc-option,-mtune=cell)
endif

# No AltiVec instruction when building kernel
CFLAGS += $(call cc-option,-mno-altivec)

Expand Down
12 changes: 12 additions & 0 deletions trunk/arch/powerpc/platforms/Kconfig.cputype
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,18 @@ config POWER4
depends on PPC64
def_bool y

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, so the resulting kernel will keep running on all other
machines. When building a kernel that is supposed to run only
on Cell, you should also select the POWER4_ONLY option.

config 6xx
bool

Expand Down

0 comments on commit db9353b

Please sign in to comment.