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