summaryrefslogtreecommitdiff
path: root/devdocs/gcc~13/mn10300-options.html
blob: 4c8d239e87e41fb426f88457bbbfa64760b9b7d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<div class="subsection-level-extent" id="MN10300-Options"> <div class="nav-panel"> <p> Next: <a href="moxie-options" accesskey="n" rel="next">Moxie Options</a>, Previous: <a href="mmix-options" accesskey="p" rel="prev">MMIX Options</a>, Up: <a href="submodel-options" accesskey="u" rel="up">Machine-Dependent Options</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div>  <h1 class="subsection" id="MN10300-Options-1"><span>3.19.30 MN10300 Options<a class="copiable-link" href="#MN10300-Options-1"> ¶</a></span></h1>  <p>These <samp class="option">-m</samp> options are defined for Matsushita MN10300 architectures: </p> <dl class="table"> <dt>
<span><code class="code">-mmult-bug</code><a class="copiable-link" href="#index-mmult-bug"> ¶</a></span>
</dt> <dd>
<p>Generate code to avoid bugs in the multiply instructions for the MN10300 processors. This is the default. </p> </dd> <dt>
<span><code class="code">-mno-mult-bug</code><a class="copiable-link" href="#index-mno-mult-bug"> ¶</a></span>
</dt> <dd>
<p>Do not generate code to avoid bugs in the multiply instructions for the MN10300 processors. </p> </dd> <dt>
<span><code class="code">-mam33</code><a class="copiable-link" href="#index-mam33"> ¶</a></span>
</dt> <dd>
<p>Generate code using features specific to the AM33 processor. </p> </dd> <dt>
<span><code class="code">-mno-am33</code><a class="copiable-link" href="#index-mno-am33"> ¶</a></span>
</dt> <dd>
<p>Do not generate code using features specific to the AM33 processor. This is the default. </p> </dd> <dt>
<span><code class="code">-mam33-2</code><a class="copiable-link" href="#index-mam33-2"> ¶</a></span>
</dt> <dd>
<p>Generate code using features specific to the AM33/2.0 processor. </p> </dd> <dt>
<span><code class="code">-mam34</code><a class="copiable-link" href="#index-mam34"> ¶</a></span>
</dt> <dd>
<p>Generate code using features specific to the AM34 processor. </p> </dd> <dt>
<span><code class="code">-mtune=<var class="var">cpu-type</var></code><a class="copiable-link" href="#index-mtune-11"> ¶</a></span>
</dt> <dd>
<p>Use the timing characteristics of the indicated CPU type when scheduling instructions. This does not change the targeted processor type. The CPU type must be one of ‘<samp class="samp">mn10300</samp>’, ‘<samp class="samp">am33</samp>’, ‘<samp class="samp">am33-2</samp>’ or ‘<samp class="samp">am34</samp>’. </p> </dd> <dt>
<span><code class="code">-mreturn-pointer-on-d0</code><a class="copiable-link" href="#index-mreturn-pointer-on-d0"> ¶</a></span>
</dt> <dd>
<p>When generating a function that returns a pointer, return the pointer in both <code class="code">a0</code> and <code class="code">d0</code>. Otherwise, the pointer is returned only in <code class="code">a0</code>, and attempts to call such functions without a prototype result in errors. Note that this option is on by default; use <samp class="option">-mno-return-pointer-on-d0</samp> to disable it. </p> </dd> <dt>
<span><code class="code">-mno-crt0</code><a class="copiable-link" href="#index-mno-crt0"> ¶</a></span>
</dt> <dd>
<p>Do not link in the C run-time initialization object file. </p> </dd> <dt>
<span><code class="code">-mrelax</code><a class="copiable-link" href="#index-mrelax-2"> ¶</a></span>
</dt> <dd>
<p>Indicate to the linker that it should perform a relaxation optimization pass to shorten branches, calls and absolute memory addresses. This option only has an effect when used on the command line for the final link step. </p> <p>This option makes symbolic debugging impossible. </p> </dd> <dt>
<span><code class="code">-mliw</code><a class="copiable-link" href="#index-mliw"> ¶</a></span>
</dt> <dd>
<p>Allow the compiler to generate <em class="emph">Long Instruction Word</em> instructions if the target is the ‘<samp class="samp">AM33</samp>’ or later. This is the default. This option defines the preprocessor macro <code class="code">__LIW__</code>. </p> </dd> <dt>
<span><code class="code">-mno-liw</code><a class="copiable-link" href="#index-mno-liw"> ¶</a></span>
</dt> <dd>
<p>Do not allow the compiler to generate <em class="emph">Long Instruction Word</em> instructions. This option defines the preprocessor macro <code class="code">__NO_LIW__</code>. </p> </dd> <dt>
<span><code class="code">-msetlb</code><a class="copiable-link" href="#index-msetlb"> ¶</a></span>
</dt> <dd>
<p>Allow the compiler to generate the <em class="emph">SETLB</em> and <em class="emph">Lcc</em> instructions if the target is the ‘<samp class="samp">AM33</samp>’ or later. This is the default. This option defines the preprocessor macro <code class="code">__SETLB__</code>. </p> </dd> <dt>
<span><code class="code">-mno-setlb</code><a class="copiable-link" href="#index-mno-setlb"> ¶</a></span>
</dt> <dd>
<p>Do not allow the compiler to generate <em class="emph">SETLB</em> or <em class="emph">Lcc</em> instructions. This option defines the preprocessor macro <code class="code">__NO_SETLB__</code>. </p> </dd> </dl> </div>  <div class="nav-panel"> <p> Next: <a href="moxie-options">Moxie Options</a>, Previous: <a href="mmix-options">MMIX Options</a>, Up: <a href="submodel-options">Machine-Dependent Options</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div><div class="_attribution">
  <p class="_attribution-p">
    &copy; Free Software Foundation<br>Licensed under the GNU Free Documentation License, Version 1.3.<br>
    <a href="https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/MN10300-Options.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/MN10300-Options.html</a>
  </p>
</div>