| 1 |
; Options for the Motorola MCore 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 |
m210 |
| 22 |
Target RejectNegative InverseMask(M340) |
| 23 |
Generate code for the M*Core M210. |
| 24 |
|
| 25 |
m340 |
| 26 |
Target RejectNegative Mask(M340) |
| 27 |
Generate code for the M*Core M340. |
| 28 |
|
| 29 |
m4byte-functions |
| 30 |
Target Mask(OVERALIGN_FUNC) |
| 31 |
Force functions to be aligned to a 4 byte boundary. |
| 32 |
|
| 33 |
mbig-endian |
| 34 |
Target RejectNegative InverseMask(LITTLE_END) |
| 35 |
Generate big-endian code. |
| 36 |
|
| 37 |
mcallgraph-data |
| 38 |
Target Mask(CG_DATA) |
| 39 |
Emit call graph information. |
| 40 |
|
| 41 |
mdiv |
| 42 |
Target Mask(DIV) |
| 43 |
Use the divide instruction. |
| 44 |
|
| 45 |
mhardlit |
| 46 |
Target Mask(HARDLIT) |
| 47 |
Inline constants if it can be done in 2 insns or less. |
| 48 |
|
| 49 |
mlittle-endian |
| 50 |
Target RejectNegative Mask(LITTLE_END) |
| 51 |
Generate little-endian code. |
| 52 |
|
| 53 |
; Not used by the compiler proper. |
| 54 |
mno-lsim |
| 55 |
Target RejectNegative |
| 56 |
Assume that run-time support has been provided, so omit -lsim from the linker command line. |
| 57 |
|
| 58 |
mrelax-immediates |
| 59 |
Target Mask(RELAX_IMM) |
| 60 |
Use arbitrary sized immediates in bit operations. |
| 61 |
|
| 62 |
mslow-bytes |
| 63 |
Target Mask(SLOW_BYTES) |
| 64 |
Prefer word accesses over byte accesses. |
| 65 |
|
| 66 |
; Maximum size we are allowed to grow the stack in a single operation. |
| 67 |
; If we want more, we must do it in increments of at most this size. |
| 68 |
; If this value is 0, we don't check at all. |
| 69 |
mstack-increment= |
| 70 |
Target RejectNegative Joined UInteger Var(mcore_stack_increment) Init(STACK_UNITS_MAXSTEP) |
| 71 |
Set the maximum amount for a single stack increment operation. |
| 72 |
|
| 73 |
mwide-bitfields |
| 74 |
Target Mask(W_FIELD) |
| 75 |
Always treat bitfields as int-sized. |