PR rtl-optimization/88018
[official-gcc.git] / gcc / config / m68k / m68k.opt
blob9d794bdf314cb6d1a396a56b2efb3a78f57c42b7
1 ; Options for the Motorola 68000 port of the compiler.
3 ; Copyright (C) 2005-2018 Free Software Foundation, Inc.
5 ; This file is part of GCC.
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.
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.
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/>.
21 HeaderInclude
22 config/m68k/m68k-opts.h
24 ; Specify the identification number of the library being built.
25 Variable
26 const char *m68k_library_id_string = "_current_shared_library_a5_offset_"
28 m5200
29 Target RejectNegative Alias(mcpu=, 5206)
30 Generate code for a 520X.
32 m5206e
33 Target RejectNegative Alias(mcpu=, 5206e)
34 Generate code for a 5206e.
36 m528x
37 Target RejectNegative Alias(mcpu=, 528x)
38 Generate code for a 528x.
40 m5307
41 Target RejectNegative Alias(mcpu=, 5307)
42 Generate code for a 5307.
44 m5407
45 Target RejectNegative Alias(mcpu=, 5407)
46 Generate code for a 5407.
48 m68000
49 Target RejectNegative Alias(mcpu=, 68000)
50 Generate code for a 68000.
52 m68010
53 Target RejectNegative Alias(mcpu=, 68010)
54 Generate code for a 68010.
56 m68020
57 Target RejectNegative Alias(mcpu=, 68020)
58 Generate code for a 68020.
60 m68020-40
61 Target RejectNegative
62 Generate code for a 68040, without any new instructions.
64 m68020-60
65 Target RejectNegative
66 Generate code for a 68060, without any new instructions.
68 m68030
69 Target RejectNegative Alias(mcpu=, 68030)
70 Generate code for a 68030.
72 m68040
73 Target RejectNegative Alias(mcpu=, 68040)
74 Generate code for a 68040.
76 m68060
77 Target RejectNegative Alias(mcpu=, 68060)
78 Generate code for a 68060.
80 m68302
81 Target RejectNegative Alias(mcpu=, 68302)
82 Generate code for a 68302.
84 m68332
85 Target RejectNegative Alias(mcpu=, 68332)
86 Generate code for a 68332.
88 ; Has no effect on gcc
89 m68851
90 Target
91 Generate code for a 68851.
93 m68881
94 Target RejectNegative Mask(HARD_FLOAT)
95 Generate code that uses 68881 floating-point instructions.
97 malign-int
98 Target Report Mask(ALIGN_INT)
99 Align variables on a 32-bit boundary.
101 march=
102 Target RejectNegative Joined Enum(m68k_isa) Var(m68k_arch_option)
103 Specify the name of the target architecture.
105 mbitfield
106 Target Report Mask(BITFIELD)
107 Use the bit-field instructions.
109 mc68000
110 Target RejectNegative Alias(mcpu=, 68000)
111 Generate code for a 68000.
113 mc68020
114 Target RejectNegative Alias(mcpu=, 68020)
115 Generate code for a 68020.
117 mcfv4e
118 Target RejectNegative Alias(mcpu=, 547x)
119 Generate code for a ColdFire v4e.
121 mcpu=
122 Target RejectNegative Joined Enum(target_device) Var(m68k_cpu_option) Init(unk_device)
123 Specify the target CPU.
125 mcpu32
126 Target RejectNegative Alias(mcpu=, 68332)
127 Generate code for a cpu32.
129 mdiv
130 Target Report Mask(CF_HWDIV)
131 Use hardware division instructions on ColdFire.
133 mfidoa
134 Target RejectNegative
135 Generate code for a Fido A.
137 mhard-float
138 Target RejectNegative Mask(HARD_FLOAT)
139 Generate code which uses hardware floating point instructions.
141 mid-shared-library
142 Target Report Mask(ID_SHARED_LIBRARY)
143 Enable ID based shared library.
145 mlong-jump-table-offsets
146 Target Report RejectNegative Mask(LONG_JUMP_TABLE_OFFSETS)
147 Use 32-bit offsets in jump tables rather than 16-bit offsets.
149 mnobitfield
150 Target RejectNegative InverseMask(BITFIELD)
151 Do not use the bit-field instructions.
153 mnortd
154 Target RejectNegative InverseMask(RTD)
155 Use normal calling convention.
157 mnoshort
158 Target RejectNegative InverseMask(SHORT)
159 Consider type 'int' to be 32 bits wide.
161 mpcrel
162 Target Report Mask(PCREL)
163 Generate pc-relative code.
165 mrtd
166 Target Report Mask(RTD)
167 Use different calling convention using 'rtd'.
169 msep-data
170 Target Report Mask(SEP_DATA)
171 Enable separate data segment.
173 mshared-library-id=
174 Target RejectNegative Joined UInteger
175 ID of shared library to build.
177 mshort
178 Target Report Mask(SHORT)
179 Consider type 'int' to be 16 bits wide.
181 msoft-float
182 Target RejectNegative InverseMask(HARD_FLOAT)
183 Generate code with library calls for floating point.
185 mstrict-align
186 Target Report Mask(STRICT_ALIGNMENT)
187 Do not use unaligned memory references.
189 mtune=
190 Target RejectNegative Joined Enum(uarch_type) Var(m68k_tune_option) Init(unk_arch)
191 Tune for the specified target CPU or architecture.
193 mxgot
194 Target Report Mask(XGOT)
195 Support more than 8192 GOT entries on ColdFire.
197 mxtls
198 Target Report Mask(XTLS)
199 Support TLS segment larger than 64K.