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