OSDN Git Service

Revert my previous commit.
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / i386.opt
1 ; Options for the IA-32 and AMD64 ports of the compiler.
2
3 ; Copyright (C) 2005, 2006, 2007 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
21 m128bit-long-double
22 Target RejectNegative Report Mask(128BIT_LONG_DOUBLE)
23 sizeof(long double) is 16
24
25 m80387
26 Target Report Mask(80387)
27 Use hardware fp
28
29 m96bit-long-double
30 Target RejectNegative Report InverseMask(128BIT_LONG_DOUBLE)
31 sizeof(long double) is 12
32
33 maccumulate-outgoing-args
34 Target Report Mask(ACCUMULATE_OUTGOING_ARGS)
35 Reserve space for outgoing arguments in the function prologue
36
37 malign-double
38 Target Report Mask(ALIGN_DOUBLE)
39 Align some doubles on dword boundary
40
41 malign-functions=
42 Target RejectNegative Joined Var(ix86_align_funcs_string)
43 Function starts are aligned to this power of 2
44
45 malign-jumps=
46 Target RejectNegative Joined Var(ix86_align_jumps_string)
47 Jump targets are aligned to this power of 2
48
49 malign-loops=
50 Target RejectNegative Joined Var(ix86_align_loops_string)
51 Loop code aligned to this power of 2
52
53 malign-stringops
54 Target RejectNegative Report InverseMask(NO_ALIGN_STRINGOPS, ALIGN_STRINGOPS)
55 Align destination of the string operations
56
57 march=
58 Target RejectNegative Joined Var(ix86_arch_string)
59 Generate code for given CPU
60
61 masm=
62 Target RejectNegative Joined Var(ix86_asm_string)
63 Use given assembler dialect
64
65 mbranch-cost=
66 Target RejectNegative Joined Var(ix86_branch_cost_string)
67 Branches are this expensive (1-5, arbitrary units)
68
69 mlarge-data-threshold=
70 Target RejectNegative Joined Var(ix86_section_threshold_string)
71 Data greater than given threshold will go into .ldata section in x86-64 medium model
72
73 mcmodel=
74 Target RejectNegative Joined Var(ix86_cmodel_string)
75 Use given x86-64 code model
76
77 mfancy-math-387
78 Target RejectNegative Report InverseMask(NO_FANCY_MATH_387, USE_FANCY_MATH_387)
79 Generate sin, cos, sqrt for FPU
80
81 mfp-ret-in-387
82 Target Report Mask(FLOAT_RETURNS)
83 Return values of functions in FPU registers
84
85 mfpmath=
86 Target RejectNegative Joined Var(ix86_fpmath_string)
87 Generate floating point mathematics using given instruction set
88
89 mhard-float
90 Target RejectNegative Mask(80387) MaskExists
91 Use hardware fp
92
93 mieee-fp
94 Target Report Mask(IEEE_FP)
95 Use IEEE math for fp comparisons
96
97 minline-all-stringops
98 Target Report Mask(INLINE_ALL_STRINGOPS)
99 Inline all known string operations
100
101 minline-stringops-dynamically
102 Target Report Mask(INLINE_STRINGOPS_DYNAMICALLY)
103 Inline memset/memcpy string operations, but perform inline version only for small blocks
104
105 mintel-syntax
106 Target Undocumented
107 ;; Deprecated
108
109 mms-bitfields
110 Target Report Mask(MS_BITFIELD_LAYOUT)
111 Use native (MS) bitfield layout
112
113 mno-align-stringops
114 Target RejectNegative Report Mask(NO_ALIGN_STRINGOPS) Undocumented
115
116 mno-fancy-math-387
117 Target RejectNegative Report Mask(NO_FANCY_MATH_387) Undocumented
118
119 mno-push-args
120 Target RejectNegative Report Mask(NO_PUSH_ARGS) Undocumented
121
122 mno-red-zone
123 Target RejectNegative Report Mask(NO_RED_ZONE) Undocumented
124
125 momit-leaf-frame-pointer
126 Target Report Mask(OMIT_LEAF_FRAME_POINTER)
127 Omit the frame pointer in leaf functions
128
129 mpc
130 Target RejectNegative Report Joined Var(ix87_precision_string)
131 Set 80387 floating-point precision (-mpc32, -mpc64, -mpc80)
132
133 mpreferred-stack-boundary=
134 Target RejectNegative Joined Var(ix86_preferred_stack_boundary_string)
135 Attempt to keep stack aligned to this power of 2
136
137 mpush-args
138 Target Report InverseMask(NO_PUSH_ARGS, PUSH_ARGS)
139 Use push instructions to save outgoing arguments
140
141 mred-zone
142 Target RejectNegative Report InverseMask(NO_RED_ZONE, RED_ZONE)
143 Use red-zone in the x86-64 code
144
145 mregparm=
146 Target RejectNegative Joined Var(ix86_regparm_string)
147 Number of registers used to pass integer arguments
148
149 mrtd
150 Target Report Mask(RTD)
151 Alternate calling convention
152
153 msoft-float
154 Target InverseMask(80387)
155 Do not use hardware fp
156
157 msseregparm
158 Target RejectNegative Mask(SSEREGPARM)
159 Use SSE register passing conventions for SF and DF mode
160
161 mstackrealign
162 Target Report Var(ix86_force_align_arg_pointer)
163 Realign stack in prologue
164
165 mstack-arg-probe
166 Target Report Mask(STACK_PROBE)
167 Enable stack probing
168
169 mstringop-strategy=
170 Target RejectNegative Joined Var(ix86_stringop_string)
171 Chose strategy to generate stringop using
172
173 mtls-dialect=
174 Target RejectNegative Joined Var(ix86_tls_dialect_string)
175 Use given thread-local storage dialect
176
177 mtls-direct-seg-refs
178 Target Report Mask(TLS_DIRECT_SEG_REFS)
179 Use direct references against %gs when accessing tls data
180
181 mtune=
182 Target RejectNegative Joined Var(ix86_tune_string)
183 Schedule code for given CPU
184
185 mveclibabi=
186 Target RejectNegative Joined Var(ix86_veclibabi_string)
187 Vector library ABI to use
188
189 ;; ISA support
190
191 m32
192 Target RejectNegative Negative(m64) Report InverseMask(ISA_64BIT) Var(ix86_isa_flags) VarExists
193 Generate 32bit i386 code
194
195 m64
196 Target RejectNegative Negative(m32) Report Mask(ISA_64BIT) Var(ix86_isa_flags) VarExists
197 Generate 64bit x86-64 code
198
199 mmmx
200 Target Report Mask(ISA_MMX) Var(ix86_isa_flags) VarExists
201 Support MMX built-in functions
202
203 m3dnow
204 Target Report Mask(ISA_3DNOW) Var(ix86_isa_flags) VarExists
205 Support 3DNow! built-in functions
206
207 m3dnowa
208 Target Undocumented Mask(ISA_3DNOW_A) Var(ix86_isa_flags) VarExists
209 Support Athlon 3Dnow! built-in functions
210
211 msse
212 Target Report Mask(ISA_SSE) Var(ix86_isa_flags) VarExists
213 Support MMX and SSE built-in functions and code generation
214
215 msse2
216 Target Report Mask(ISA_SSE2) Var(ix86_isa_flags) VarExists
217 Support MMX, SSE and SSE2 built-in functions and code generation
218
219 msse3
220 Target Report Mask(ISA_SSE3) Var(ix86_isa_flags) VarExists
221 Support MMX, SSE, SSE2 and SSE3 built-in functions and code generation
222
223 mssse3
224 Target Report Mask(ISA_SSSE3) Var(ix86_isa_flags) VarExists
225 Support MMX, SSE, SSE2, SSE3 and SSSE3 built-in functions and code generation
226
227 msse4.1
228 Target Report Mask(ISA_SSE4_1) Var(ix86_isa_flags) VarExists
229 Support MMX, SSE, SSE2, SSE3, SSSE3 and SSE4.1 built-in functions and code generation
230
231 msse4.2
232 Target Report Mask(ISA_SSE4_2) Var(ix86_isa_flags) VarExists
233 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1 and SSE4.2 built-in functions and code generation
234
235 msse4
236 Target RejectNegative Report Mask(ISA_SSE4_2) MaskExists Var(ix86_isa_flags) VarExists
237 Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1 and SSE4.2 built-in functions and code generation
238
239 mno-sse4
240 Target RejectNegative Report InverseMask(ISA_SSE4_1) MaskExists Var(ix86_isa_flags) VarExists
241 Do not support SSE4.1 and SSE4.2 built-in functions and code generation
242
243 msse4a
244 Target Report Mask(ISA_SSE4A) Var(ix86_isa_flags) VarExists
245 Support MMX, SSE, SSE2, SSE3 and SSE4A built-in functions and code generation
246
247 msse5
248 Target Report Mask(ISA_SSE5) Var(ix86_isa_flags) VarExists
249 Support SSE5 built-in functions and code generation
250
251 ;; Instruction support
252
253 mabm
254 Target Report RejectNegative Var(x86_abm)
255 Support code generation of Advanced Bit Manipulation (ABM) instructions.
256
257 mcx16
258 Target Report RejectNegative Var(x86_cmpxchg16b)
259 Support code generation of cmpxchg16b instruction.
260
261 mpopcnt
262 Target Report RejectNegative Var(x86_popcnt)
263 Support code generation of popcnt instruction.
264
265 msahf
266 Target Report RejectNegative Var(x86_sahf)
267 Support code generation of sahf instruction in 64bit x86-64 code.
268
269 mrecip
270 Target Report RejectNegative Var(x86_recip)
271 Generate reciprocals instead of divss and sqrtss.
272
273 mfused-madd
274 Target Report Var(x86_fused_muladd) Init(1)
275 Enable automatic generation of fused floating point multiply-add instructions
276 if the ISA supports such instructions.  The -mfused-madd option is on by
277 default.