s390.opt revision 1.5
1; Options for the S/390 / zSeries port of the compiler.
2
3; Copyright (C) 2005-2015 Free Software Foundation, Inc.
4;
5; This file is part of GCC.
6;
7; GCC is free software; you can redistribute it and/or modify it under
8; the terms of the GNU General Public License as published by the Free
9; Software Foundation; either version 3, or (at your option) any later
10; version.
11;
12; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15; for more details.
16;
17; You should have received a copy of the GNU General Public License
18; along with GCC; see the file COPYING3.  If not see
19; <http://www.gnu.org/licenses/>.
20
21HeaderInclude
22config/s390/s390-opts.h
23
24; The architecture name to use in diagnostics.
25Variable
26const char *s390_arch_string
27
28Variable
29int s390_tune_flags
30
31Variable
32int s390_arch_flags
33
34Variable
35HOST_WIDE_INT s390_warn_framesize = 0
36
37m31
38Target Report RejectNegative Negative(m64) InverseMask(64BIT)
3931 bit ABI
40
41m64
42Target Report RejectNegative Negative(m31) Mask(64BIT)
4364 bit ABI
44
45march=
46Target RejectNegative Joined Enum(processor_type) Var(s390_arch) Init(PROCESSOR_max)
47Generate code for given CPU
48
49Enum
50Name(processor_type) Type(enum processor_type)
51
52EnumValue
53Enum(processor_type) String(g5) Value(PROCESSOR_9672_G5)
54
55EnumValue
56Enum(processor_type) String(g6) Value(PROCESSOR_9672_G6)
57
58EnumValue
59Enum(processor_type) String(z900) Value(PROCESSOR_2064_Z900)
60
61EnumValue
62Enum(processor_type) String(z990) Value(PROCESSOR_2084_Z990)
63
64EnumValue
65Enum(processor_type) String(z9-109) Value(PROCESSOR_2094_Z9_109)
66
67EnumValue
68Enum(processor_type) String(z9-ec) Value(PROCESSOR_2094_Z9_EC)
69
70EnumValue
71Enum(processor_type) String(z10) Value(PROCESSOR_2097_Z10)
72
73EnumValue
74Enum(processor_type) String(z196) Value(PROCESSOR_2817_Z196)
75
76EnumValue
77Enum(processor_type) String(zEC12) Value(PROCESSOR_2827_ZEC12)
78
79EnumValue
80Enum(processor_type) String(z13) Value(PROCESSOR_2964_Z13)
81
82mbackchain
83Target Report Mask(BACKCHAIN)
84Maintain backchain pointer
85
86mdebug
87Target Report Mask(DEBUG_ARG)
88Additional debug prints
89
90mesa
91Target Report RejectNegative Negative(mzarch) InverseMask(ZARCH)
92ESA/390 architecture
93
94mhard-dfp
95Target Report Mask(HARD_DFP)
96Enable decimal floating point hardware support
97
98mhard-float
99Target Report RejectNegative Negative(msoft-float) InverseMask(SOFT_FLOAT, HARD_FLOAT)
100Enable hardware floating point
101
102mhotpatch=
103Target RejectNegative Report Joined Var(s390_deferred_options) Defer
104Takes two non-negative integer numbers separated by a comma.
105Prepend the function label with the number of two-byte Nop
106instructions indicated by the first.  Append Nop instructions
107covering the number of halfwords indicated by the second after the
108label.  Nop instructions of the largest possible size are used
109(six, four or two bytes), beginning with the largest possible
110size.  Using 0 for both values disables hotpatching.
111
112mlong-double-128
113Target Report RejectNegative Negative(mlong-double-64) Mask(LONG_DOUBLE_128)
114Use 128-bit long double
115
116mlong-double-64
117Target Report RejectNegative Negative(mlong-double-128) InverseMask(LONG_DOUBLE_128)
118Use 64-bit long double
119
120mhtm
121Target Report Mask(OPT_HTM)
122Use hardware transactional execution instructions
123
124mvx
125Target Report Mask(OPT_VX)
126Use hardware vector facility instructions and enable the vector ABI
127
128mpacked-stack
129Target Report Mask(PACKED_STACK)
130Use packed stack layout
131
132msmall-exec
133Target Report Mask(SMALL_EXEC)
134Use bras for executable < 64k
135
136msoft-float
137Target Report RejectNegative Negative(mhard-float) Mask(SOFT_FLOAT)
138Disable hardware floating point
139
140mstack-guard=
141Target RejectNegative Joined UInteger Var(s390_stack_guard)
142Set the max. number of bytes which has to be left to stack size before a trap instruction is triggered
143
144mstack-size=
145Target RejectNegative Joined UInteger Var(s390_stack_size)
146Emit extra code in the function prologue in order to trap if the stack size exceeds the given limit
147
148mtune=
149Target RejectNegative Joined Enum(processor_type) Var(s390_tune) Init(PROCESSOR_max)
150Schedule code for given CPU
151
152mmvcle
153Target Report Mask(MVCLE)
154mvcle use
155
156mzvector
157Target Report Mask(ZVECTOR)
158Enable the z vector language extension providing the context-sensitive vector macro.
159
160mwarn-dynamicstack
161Target RejectNegative Var(s390_warn_dynamicstack_p)
162Warn if a function uses alloca or creates an array with dynamic size
163
164mwarn-framesize=
165Target RejectNegative Joined
166Warn if a single function's framesize exceeds the given framesize
167
168mzarch
169Target Report RejectNegative Negative(mesa) Mask(ZARCH)
170z/Architecture
171
172mbranch-cost=
173Target Report Joined RejectNegative UInteger Var(s390_branch_cost) Init(1)
174Set the branch costs for conditional branch instructions.  Reasonable
175values are small, non-negative integers.  The default branch cost is
1761.
177
178mlra
179Target Report Var(s390_lra_flag) Init(1) Save
180Use LRA instead of reload
181