]>
Commit | Line | Data |
---|---|---|
78fb8038 RS |
1 | ; Options for the Motorola MCore port of the compiler. |
2 | ||
99dee823 | 3 | ; Copyright (C) 2005-2021 Free Software Foundation, Inc. |
78fb8038 RS |
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 | |
2f83c7d6 | 9 | ; Software Foundation; either version 3, or (at your option) any later |
78fb8038 RS |
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 | |
2f83c7d6 NC |
18 | ; along with GCC; see the file COPYING3. If not see |
19 | ; <http://www.gnu.org/licenses/>. | |
78fb8038 RS |
20 | |
21 | m210 | |
eece52b5 | 22 | Target RejectNegative InverseMask(M340) |
04e5c73d | 23 | Generate code for the M*Core M210. |
78fb8038 RS |
24 | |
25 | m340 | |
eece52b5 | 26 | Target RejectNegative Mask(M340) |
04e5c73d | 27 | Generate code for the M*Core M340. |
78fb8038 | 28 | |
78fb8038 | 29 | m4byte-functions |
eece52b5 | 30 | Target Mask(OVERALIGN_FUNC) |
a7b2e184 | 31 | Force functions to be aligned to a 4 byte boundary. |
78fb8038 | 32 | |
78fb8038 | 33 | mbig-endian |
eece52b5 | 34 | Target RejectNegative InverseMask(LITTLE_END) |
a7b2e184 | 35 | Generate big-endian code. |
78fb8038 RS |
36 | |
37 | mcallgraph-data | |
eece52b5 | 38 | Target Mask(CG_DATA) |
a7b2e184 | 39 | Emit call graph information. |
78fb8038 RS |
40 | |
41 | mdiv | |
eece52b5 | 42 | Target Mask(DIV) |
a7b2e184 | 43 | Use the divide instruction. |
78fb8038 RS |
44 | |
45 | mhardlit | |
eece52b5 | 46 | Target Mask(HARDLIT) |
a7b2e184 | 47 | Inline constants if it can be done in 2 insns or less. |
78fb8038 RS |
48 | |
49 | mlittle-endian | |
eece52b5 | 50 | Target RejectNegative Mask(LITTLE_END) |
a7b2e184 | 51 | Generate little-endian code. |
78fb8038 RS |
52 | |
53 | ; Not used by the compiler proper. | |
54 | mno-lsim | |
40190a76 | 55 | Target RejectNegative |
a7b2e184 | 56 | Assume that run-time support has been provided, so omit -lsim from the linker command line. |
78fb8038 RS |
57 | |
58 | mrelax-immediates | |
eece52b5 | 59 | Target Mask(RELAX_IMM) |
a7b2e184 | 60 | Use arbitrary sized immediates in bit operations. |
78fb8038 RS |
61 | |
62 | mslow-bytes | |
eece52b5 | 63 | Target Mask(SLOW_BYTES) |
a7b2e184 | 64 | Prefer word accesses over byte accesses. |
78fb8038 | 65 | |
e90afde6 JM |
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. | |
78fb8038 | 69 | mstack-increment= |
e90afde6 | 70 | Target RejectNegative Joined UInteger Var(mcore_stack_increment) Init(STACK_UNITS_MAXSTEP) |
a7b2e184 | 71 | Set the maximum amount for a single stack increment operation. |
78fb8038 RS |
72 | |
73 | mwide-bitfields | |
eece52b5 | 74 | Target Mask(W_FIELD) |
a7b2e184 | 75 | Always treat bitfields as int-sized. |