1 ; Options for the Motorola 68000 port of the compiler.
3 ; Copyright (C) 2005-2024 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
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
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/>.
22 config/m68k/m68k-opts.h
24 ; Specify the identification number of the library being built.
26 const char *m68k_library_id_string = "_current_shared_library_a5_offset_"
29 Target RejectNegative Alias(mcpu=, 5206)
30 Generate code for a 520X.
33 Target RejectNegative Alias(mcpu=, 5206e)
34 Generate code for a 5206e.
37 Target RejectNegative Alias(mcpu=, 528x)
38 Generate code for a 528x.
41 Target RejectNegative Alias(mcpu=, 5307)
42 Generate code for a 5307.
45 Target RejectNegative Alias(mcpu=, 5407)
46 Generate code for a 5407.
49 Target RejectNegative Alias(mcpu=, 68000)
50 Generate code for a 68000.
53 Target RejectNegative Alias(mcpu=, 68010)
54 Generate code for a 68010.
57 Target RejectNegative Alias(mcpu=, 68020)
58 Generate code for a 68020.
62 Generate code for a 68040, without any new instructions.
66 Generate code for a 68060, without any new instructions.
69 Target RejectNegative Alias(mcpu=, 68030)
70 Generate code for a 68030.
73 Target RejectNegative Alias(mcpu=, 68040)
74 Generate code for a 68040.
77 Target RejectNegative Alias(mcpu=, 68060)
78 Generate code for a 68060.
81 Target RejectNegative Alias(mcpu=, 68302)
82 Generate code for a 68302.
85 Target RejectNegative Alias(mcpu=, 68332)
86 Generate code for a 68332.
88 ; Has no effect on gcc
91 Generate code for a 68851.
94 Target RejectNegative Mask(HARD_FLOAT)
95 Generate code that uses 68881 floating-point instructions.
98 Target Mask(ALIGN_INT)
99 Align variables on a 32-bit boundary.
102 Target RejectNegative Joined Enum(m68k_isa) Var(m68k_arch_option)
103 Specify the name of the target architecture.
106 Target Mask(BITFIELD)
107 Use the bit-field instructions.
110 Target RejectNegative Alias(mcpu=, 68000)
111 Generate code for a 68000.
114 Target RejectNegative Alias(mcpu=, 68020)
115 Generate code for a 68020.
118 Target RejectNegative Alias(mcpu=, 547x)
119 Generate code for a ColdFire v4e.
122 Target RejectNegative Joined Enum(target_device) Var(m68k_cpu_option) Init(unk_device)
123 Specify the target CPU.
126 Target RejectNegative Alias(mcpu=, 68332)
127 Generate code for a cpu32.
130 Target Mask(CF_HWDIV)
131 Use hardware division instructions on ColdFire.
134 Target RejectNegative
135 Generate code for a Fido A.
138 Target RejectNegative Mask(HARD_FLOAT)
139 Generate code which uses hardware floating point instructions.
142 Target Mask(ID_SHARED_LIBRARY)
143 Enable ID based shared library.
145 mlong-jump-table-offsets
146 Target RejectNegative Mask(LONG_JUMP_TABLE_OFFSETS)
147 Use 32-bit offsets in jump tables rather than 16-bit offsets.
150 Target Var(m68k_lra_p) Undocumented
151 Usa LRA for reload instead of the old reload framework. This option is
152 experimental, and it may be removed in future versions of the compiler.
155 Target RejectNegative InverseMask(BITFIELD)
156 Do not use the bit-field instructions.
159 Target RejectNegative InverseMask(RTD)
160 Use normal calling convention.
163 Target RejectNegative InverseMask(SHORT)
164 Consider type 'int' to be 32 bits wide.
168 Generate pc-relative code.
172 Use different calling convention using 'rtd'.
175 Target Mask(SEP_DATA)
176 Enable separate data segment.
179 Target RejectNegative Joined UInteger
180 ID of shared library to build.
184 Consider type 'int' to be 16 bits wide.
187 Target RejectNegative InverseMask(HARD_FLOAT)
188 Generate code with library calls for floating point.
191 Target Mask(STRICT_ALIGNMENT)
192 Do not use unaligned memory references.
195 Target RejectNegative Joined Enum(uarch_type) Var(m68k_tune_option) Init(unk_arch)
196 Tune for the specified target CPU or architecture.
200 Support more than 8192 GOT entries on ColdFire.
204 Support TLS segment larger than 64K.