Home | History | Annotate | Line # | Download | only in m68k
      1 ; Options for the Motorola 68000 port of the compiler.
      2 
      3 ; Copyright (C) 2005-2022 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 mnobitfield
    150 Target RejectNegative InverseMask(BITFIELD)
    151 Do not use the bit-field instructions.
    152 
    153 mnortd
    154 Target RejectNegative InverseMask(RTD)
    155 Use normal calling convention.
    156 
    157 mnoshort
    158 Target RejectNegative InverseMask(SHORT)
    159 Consider type 'int' to be 32 bits wide.
    160 
    161 mpcrel
    162 Target Mask(PCREL)
    163 Generate pc-relative code.
    164 
    165 mrtd
    166 Target Mask(RTD)
    167 Use different calling convention using 'rtd'.
    168 
    169 msep-data
    170 Target Mask(SEP_DATA)
    171 Enable separate data segment.
    172 
    173 mshared-library-id=
    174 Target RejectNegative Joined UInteger
    175 ID of shared library to build.
    176 
    177 mshort
    178 Target Mask(SHORT)
    179 Consider type 'int' to be 16 bits wide.
    180 
    181 msoft-float
    182 Target RejectNegative InverseMask(HARD_FLOAT)
    183 Generate code with library calls for floating point.
    184 
    185 mstrict-align
    186 Target Mask(STRICT_ALIGNMENT)
    187 Do not use unaligned memory references.
    188 
    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.
    192 
    193 mxgot
    194 Target Mask(XGOT)
    195 Support more than 8192 GOT entries on ColdFire.
    196 
    197 mxtls
    198 Target Mask(XTLS)
    199 Support TLS segment larger than 64K.
    200