]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/mips/mips.opt
unwind-hpux.c: New file.
[thirdparty/gcc.git] / gcc / config / mips / mips.opt
CommitLineData
3ad7bb65
KH
1; Options for the MIPS port of the compiler
2;
3; Copyright (C) 2005 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 2, or (at your option) any later
10; version.
11;
12; GCC is distributed in the hope that it will be useful, but WITHOUT
13; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15; License for more details.
16;
17; You should have received a copy of the GNU General Public License
18; along with GCC; see the file COPYING. If not, write to the Free
39d14dda
KC
19; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
20; 02110-1301, USA.
3ad7bb65 21
d522e7a2
RS
22mabi=
23Target RejectNegative Joined
24-mabi=ABI Generate code that conforms to the given ABI
25
21c425ee
RS
26mabicalls
27Target Report Mask(ABICALLS)
28Use SVR4-style PIC
29
30mad
31Target Report Var(TARGET_MAD)
32Use PMC-style 'mad' instructions
33
d522e7a2 34march=
55bea00a 35Target RejectNegative Joined Var(mips_arch_string)
d522e7a2
RS
36-march=ISA Generate code for the given ISA
37
21c425ee
RS
38mbranch-likely
39Target Report Mask(BRANCHLIKELY)
40Use Branch Likely instructions, overriding the architecture default
41
42mcheck-zero-division
43Target Report Mask(CHECK_ZERO_DIV)
44Trap on integer divide by zero
45
46mdivide-breaks
25e3d99d 47Target Report RejectNegative Mask(DIVIDE_BREAKS)
21c425ee
RS
48Use branch-and-break sequences to check for integer divide by zero
49
50mdivide-traps
25e3d99d 51Target Report RejectNegative InverseMask(DIVIDE_BREAKS, DIVIDE_TRAPS)
21c425ee
RS
52Use trap instructions to check for integer divide by zero
53
54mdouble-float
55Target Report RejectNegative InverseMask(SINGLE_FLOAT, DOUBLE_FLOAT)
56Allow hardware floating-point instructions to cover both 32-bit and 64-bit operations
57
118ea793
CF
58mdsp
59Target Report Mask(DSP)
60Use MIPS-DSP instructions
61
21c425ee
RS
62mdebug
63Target Var(TARGET_DEBUG_MODE) Undocumented
64
65mdebugd
66Target Var(TARGET_DEBUG_D_MODE) Undocumented
67
68meb
69Target Report RejectNegative Mask(BIG_ENDIAN)
70Use big-endian byte order
71
72mel
73Target Report RejectNegative InverseMask(BIG_ENDIAN, LITTLE_ENDIAN)
74Use little-endian byte order
75
76membedded-data
77Target Report Var(TARGET_EMBEDDED_DATA)
78Use ROM instead of RAM
79
80mexplicit-relocs
81Target Report Mask(EXPLICIT_RELOCS)
82Use NewABI-style %reloc() assembly operators
83
84mfix-r4000
85Target Report Mask(FIX_R4000)
86Work around certain R4000 errata
87
88mfix-r4400
89Target Report Mask(FIX_R4400)
90Work around certain R4400 errata
91
92mfix-sb1
93Target Report Var(TARGET_FIX_SB1)
94Work around errata for early SB-1 revision 2 cores
95
96mfix-vr4120
97Target Report Var(TARGET_FIX_VR4120)
98Work around certain VR4120 errata
99
100mfix-vr4130
101Target Report Var(TARGET_FIX_VR4130)
102Work around VR4130 mflo/mfhi errata
103
104mfix4300
105Target Report Var(TARGET_4300_MUL_FIX)
106Work around an early 4300 hardware bug
107
108mfp-exceptions
109Target Report Mask(FP_EXCEPTIONS)
110FP exceptions are enabled
111
112mfp32
113Target Report RejectNegative InverseMask(FLOAT64)
114Use 32-bit floating-point registers
115
116mfp64
117Target Report RejectNegative Mask(FLOAT64)
118Use 64-bit floating-point registers
119
d522e7a2 120mflush-func=
55bea00a 121Target RejectNegative Joined Var(mips_cache_flush_func) Init(CACHE_FLUSH_FUNC)
d522e7a2
RS
122-mflush-func=FUNC Use FUNC to flush the cache before calling stack trampolines
123
21c425ee
RS
124mfused-madd
125Target Report Mask(FUSED_MADD)
126Generate floating-point multiply-add instructions
127
128mgp32
129Target Report RejectNegative InverseMask(64BIT)
130Use 32-bit general registers
131
132mgp64
133Target Report RejectNegative Mask(64BIT)
134Use 64-bit general registers
135
136mhard-float
137Target Report RejectNegative InverseMask(SOFT_FLOAT, HARD_FLOAT)
138Allow the use of hardware floating-point instructions
139
d522e7a2
RS
140mips
141Target RejectNegative Joined
142-mipsN Generate code for ISA level N
143
21c425ee
RS
144mips16
145Target Report RejectNegative Mask(MIPS16)
146Generate mips16 code
147
148mips3d
149Target Report RejectNegative Mask(MIPS3D)
150Use MIPS-3D instructions
151
152mlong-calls
153Target Report Var(TARGET_LONG_CALLS)
154Use indirect calls
155
156mlong32
157Target Report RejectNegative InverseMask(LONG64, LONG32)
158Use a 32-bit long type
159
160mlong64
161Target Report RejectNegative Mask(LONG64)
162Use a 64-bit long type
163
164mmemcpy
165Target Report Var(TARGET_MEMCPY)
166Don't optimize block moves
167
168mmips-tfile
169Target
170Use the mips-tfile postpass
171
d522e7a2
RS
172mno-flush-func
173Target RejectNegative
174Do not use a cache-flushing function before calling stack trampolines
175
21c425ee
RS
176mno-mips16
177Target Report RejectNegative InverseMask(MIPS16)
178Generate normal-mode code
179
180mno-mips3d
181Target Report RejectNegative InverseMask(MIPS3D)
182Do not use MIPS-3D instructions
183
184mpaired-single
185Target Report Mask(PAIRED_SINGLE_FLOAT)
186Use paired-single floating-point instructions
187
188msingle-float
189Target Report RejectNegative Mask(SINGLE_FLOAT)
190Restrict the use of hardware floating-point instructions to 32-bit operations
191
192msoft-float
193Target Report RejectNegative Mask(SOFT_FLOAT)
194Prevent the use of all hardware floating-point instructions
195
196msplit-addresses
197Target Report Mask(SPLIT_ADDRESSES)
198Optimize lui/addiu address loads
199
200msym32
201Target Report Var(TARGET_SYM32)
202Assume all symbols have 32-bit values
203
d522e7a2 204mtune=
55bea00a 205Target RejectNegative Joined Var(mips_tune_string)
d522e7a2
RS
206-mtune=PROCESSOR Optimize the output for PROCESSOR
207
21c425ee
RS
208muninit-const-in-rodata
209Target Report Var(TARGET_UNINIT_CONST_IN_RODATA)
210Put uninitialized constants in ROM (needs -membedded-data)
211
212mvr4130-align
213Target Report Mask(VR4130_ALIGN)
214Perform VR4130-specific alignment optimizations
215
216mxgot
217Target Report Var(TARGET_XGOT)
218Lift restrictions on GOT size