diff options
author | Christian Borntraeger <cborntra@de.ibm.com> | 2006-09-28 10:55:46 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-09-28 10:55:46 -0400 |
commit | 0efa470363699ecba49e67cc3c75f46b300f98a4 (patch) | |
tree | a27ea609d8a45369fa47d016839fc94db8f80cdb /arch | |
parent | d9f7a745d55527d0d41684b22506a86c4381f7f1 (diff) |
[S390] config option for z9-109 code generation.
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 <cborntra@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/Kconfig | 8 | ||||
-rw-r--r-- | arch/s390/Makefile | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index b6b42f9f0d52..f900a516f099 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
@@ -153,6 +153,14 @@ config MARCH_Z990 | |||
153 | This will be slightly faster but does not work on | 153 | This will be slightly faster but does not work on |
154 | older machines such as the z900. | 154 | older machines such as the z900. |
155 | 155 | ||
156 | config MARCH_Z9_109 | ||
157 | bool "IBM System z9" | ||
158 | help | ||
159 | Select this to enable optimizations for IBM System z9-109, IBM | ||
160 | System z9 Enterprise Class (z9 EC), and IBM System z9 Business | ||
161 | Class (z9 BC). The kernel will be slightly faster but will not | ||
162 | work on older machines such as the z990, z890, z900, and z800. | ||
163 | |||
156 | endchoice | 164 | endchoice |
157 | 165 | ||
158 | config PACK_STACK | 166 | config PACK_STACK |
diff --git a/arch/s390/Makefile b/arch/s390/Makefile index 74ef57dcfa60..5deb9f7544a1 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile | |||
@@ -33,6 +33,7 @@ endif | |||
33 | cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5) | 33 | cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5) |
34 | cflags-$(CONFIG_MARCH_Z900) += $(call cc-option,-march=z900) | 34 | cflags-$(CONFIG_MARCH_Z900) += $(call cc-option,-march=z900) |
35 | cflags-$(CONFIG_MARCH_Z990) += $(call cc-option,-march=z990) | 35 | cflags-$(CONFIG_MARCH_Z990) += $(call cc-option,-march=z990) |
36 | cflags-$(CONFIG_MARCH_Z9_109) += $(call cc-option,-march=z9-109) | ||
36 | 37 | ||
37 | # | 38 | # |
38 | # Prevent tail-call optimizations, to get clearer backtraces: | 39 | # Prevent tail-call optimizations, to get clearer backtraces: |