]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/doc/gcc/gcc-command-options/machine-dependent-options/mcore-options.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / gcc / doc / gcc / gcc-command-options / machine-dependent-options / mcore-options.rst
1 ..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6 .. program:: MCore
7
8 .. index:: MCore options
9
10 .. _mcore-options:
11
12 MCore Options
13 ^^^^^^^^^^^^^
14
15 These are the :samp:`-m` options defined for the Motorola M\*Core
16 processors.
17
18 .. option:: -mhardlit, -mno-hardlit
19
20 Inline constants into the code stream if it can be done in two
21 instructions or less.
22
23 .. option:: -mdiv, -mno-div
24
25 Use the divide instruction. (Enabled by default).
26
27 .. option:: -mrelax-immediate, -mno-relax-immediate
28
29 Allow arbitrary-sized immediates in bit operations.
30
31 .. option:: -mwide-bitfields, -mno-wide-bitfields
32
33 Always treat bit-fields as ``int`` -sized.
34
35 .. option:: -m4byte-functions, -mno-4byte-functions
36
37 Force all functions to be aligned to a 4-byte boundary.
38
39 .. option:: -mcallgraph-data, -mno-callgraph-data
40
41 Emit callgraph information.
42
43 .. option:: -mslow-bytes, -mno-slow-bytes
44
45 Prefer word access when reading byte quantities.
46
47 .. option:: -mlittle-endian, -mbig-endian
48
49 Generate code for a little-endian target.
50
51 .. option:: -m210, -m340
52
53 Generate code for the 210 processor.
54
55 .. option:: -mno-lsim
56
57 Assume that runtime support has been provided and so omit the
58 simulator library (:samp:`libsim.a)` from the linker command line.
59
60 .. option:: -mstack-increment={size}
61
62 Set the maximum amount for a single stack increment operation. Large
63 values can increase the speed of programs that contain functions
64 that need a large amount of stack space, but they can also trigger a
65 segmentation fault if the stack is extended too much. The default
66 value is 0x1000.