s390.opt revision 1.3
1; Options for the S/390 / zSeries port of the compiler.
2
3; Copyright (C) 2005-2013 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
79mbackchain
80Target Report Mask(BACKCHAIN)
81Maintain backchain pointer
82
83mdebug
84Target Report Mask(DEBUG_ARG)
85Additional debug prints
86
87mesa
88Target Report RejectNegative Negative(mzarch) InverseMask(ZARCH)
89ESA/390 architecture
90
91mhard-dfp
92Target Report Mask(HARD_DFP)
93Enable decimal floating point hardware support
94
95mhard-float
96Target Report RejectNegative Negative(msoft-float) InverseMask(SOFT_FLOAT, HARD_FLOAT)
97Enable hardware floating point
98
99mhotpatch=
100Target RejectNegative Report Joined Var(s390_deferred_options) Defer
101Takes two non-negative integer numbers separated by a comma.
102Prepend the function label with the number of two-byte Nop
103instructions indicated by the first.  Append Nop instructions
104covering the number of halfwords indicated by the second after the
105label.  Nop instructions of the largest possible size are used
106(six, four or two bytes), beginning with the largest possible
107size.  Using 0 for both values disables hotpatching.
108
109mlong-double-128
110Target Report RejectNegative Negative(mlong-double-64) Mask(LONG_DOUBLE_128)
111Use 128-bit long double
112
113mlong-double-64
114Target Report RejectNegative Negative(mlong-double-128) InverseMask(LONG_DOUBLE_128)
115Use 64-bit long double
116
117mhtm
118Target Report Mask(OPT_HTM)
119Use hardware transactional execution instructions
120
121mpacked-stack
122Target Report Mask(PACKED_STACK)
123Use packed stack layout
124
125msmall-exec
126Target Report Mask(SMALL_EXEC)
127Use bras for executable < 64k
128
129msoft-float
130Target Report RejectNegative Negative(mhard-float) Mask(SOFT_FLOAT)
131Disable hardware floating point
132
133mstack-guard=
134Target RejectNegative Joined UInteger Var(s390_stack_guard)
135Set the max. number of bytes which has to be left to stack size before a trap instruction is triggered
136
137mstack-size=
138Target RejectNegative Joined UInteger Var(s390_stack_size)
139Emit extra code in the function prologue in order to trap if the stack size exceeds the given limit
140
141mtune=
142Target RejectNegative Joined Enum(processor_type) Var(s390_tune) Init(PROCESSOR_max)
143Schedule code for given CPU
144
145mmvcle
146Target Report Mask(MVCLE)
147mvcle use
148
149mwarn-dynamicstack
150Target RejectNegative Var(s390_warn_dynamicstack_p)
151Warn if a function uses alloca or creates an array with dynamic size
152
153mwarn-framesize=
154Target RejectNegative Joined
155Warn if a single function's framesize exceeds the given framesize
156
157mzarch
158Target Report RejectNegative Negative(mesa) Mask(ZARCH)
159z/Architecture
160
161mbranch-cost=
162Target Report Joined RejectNegative UInteger Var(s390_branch_cost) Init(1)
163Set the branch costs for conditional branch instructions.  Reasonable
164values are small, non-negative integers.  The default branch cost is
1651.
166