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