Skip to content

Commit

Permalink
[S390] config option for z9-109 code generation.
Browse files Browse the repository at this point in the history
Add a kernel config option for the IBM System z9. This will produce
faster code on newer compilers using the -march=z9-109 option.

Signed-off-by: Christian Borntraeger <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
  • Loading branch information
Christian Borntraeger authored and Martin Schwidefsky committed Sep 28, 2006
1 parent d9f7a74 commit 0efa470
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@ config MARCH_Z990
This will be slightly faster but does not work on
older machines such as the z900.

config MARCH_Z9_109
bool "IBM System z9"
help
Select this to enable optimizations for IBM System z9-109, IBM
System z9 Enterprise Class (z9 EC), and IBM System z9 Business
Class (z9 BC). The kernel will be slightly faster but will not
work on older machines such as the z990, z890, z900, and z800.

endchoice

config PACK_STACK
Expand Down
1 change: 1 addition & 0 deletions arch/s390/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ endif
cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5)
cflags-$(CONFIG_MARCH_Z900) += $(call cc-option,-march=z900)
cflags-$(CONFIG_MARCH_Z990) += $(call cc-option,-march=z990)
cflags-$(CONFIG_MARCH_Z9_109) += $(call cc-option,-march=z9-109)

#
# Prevent tail-call optimizations, to get clearer backtraces:
Expand Down

0 comments on commit 0efa470

Please sign in to comment.