Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

187 lines
7.4KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Copyright (C) 1988-2020 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3 or
  6. any later version published by the Free Software Foundation; with the
  7. Invariant Sections being "Funding Free Software", the Front-Cover
  8. Texts being (a) (see below), and with the Back-Cover Texts being (b)
  9. (see below). A copy of the license is included in the section entitled
  10. "GNU Free Documentation License".
  11. (a) The FSF's Front-Cover Text is:
  12. A GNU Manual
  13. (b) The FSF's Back-Cover Text is:
  14. You have freedom to copy and modify this GNU Manual, like GNU
  15. software. Copies published by the Free Software Foundation raise
  16. funds for GNU development. -->
  17. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  18. <head>
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  20. <title>MN10300 Options (Using the GNU Compiler Collection (GCC))</title>
  21. <meta name="description" content="MN10300 Options (Using the GNU Compiler Collection (GCC))">
  22. <meta name="keywords" content="MN10300 Options (Using the GNU Compiler Collection (GCC))">
  23. <meta name="resource-type" content="document">
  24. <meta name="distribution" content="global">
  25. <meta name="Generator" content="makeinfo">
  26. <link href="index.html#Top" rel="start" title="Top">
  27. <link href="Option-Index.html#Option-Index" rel="index" title="Option Index">
  28. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  29. <link href="Submodel-Options.html#Submodel-Options" rel="up" title="Submodel Options">
  30. <link href="Moxie-Options.html#Moxie-Options" rel="next" title="Moxie Options">
  31. <link href="MMIX-Options.html#MMIX-Options" rel="prev" title="MMIX Options">
  32. <style type="text/css">
  33. <!--
  34. a.summary-letter {text-decoration: none}
  35. blockquote.indentedblock {margin-right: 0em}
  36. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  37. blockquote.smallquotation {font-size: smaller}
  38. div.display {margin-left: 3.2em}
  39. div.example {margin-left: 3.2em}
  40. div.lisp {margin-left: 3.2em}
  41. div.smalldisplay {margin-left: 3.2em}
  42. div.smallexample {margin-left: 3.2em}
  43. div.smalllisp {margin-left: 3.2em}
  44. kbd {font-style: oblique}
  45. pre.display {font-family: inherit}
  46. pre.format {font-family: inherit}
  47. pre.menu-comment {font-family: serif}
  48. pre.menu-preformatted {font-family: serif}
  49. pre.smalldisplay {font-family: inherit; font-size: smaller}
  50. pre.smallexample {font-size: smaller}
  51. pre.smallformat {font-family: inherit; font-size: smaller}
  52. pre.smalllisp {font-size: smaller}
  53. span.nolinebreak {white-space: nowrap}
  54. span.roman {font-family: initial; font-weight: normal}
  55. span.sansserif {font-family: sans-serif; font-weight: normal}
  56. ul.no-bullet {list-style: none}
  57. -->
  58. </style>
  59. </head>
  60. <body lang="en">
  61. <a name="MN10300-Options"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="Moxie-Options.html#Moxie-Options" accesskey="n" rel="next">Moxie Options</a>, Previous: <a href="MMIX-Options.html#MMIX-Options" accesskey="p" rel="prev">MMIX Options</a>, Up: <a href="Submodel-Options.html#Submodel-Options" accesskey="u" rel="up">Submodel Options</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
  65. </div>
  66. <hr>
  67. <a name="MN10300-Options-1"></a>
  68. <h4 class="subsection">3.19.31 MN10300 Options</h4>
  69. <a name="index-MN10300-options"></a>
  70. <p>These <samp>-m</samp> options are defined for Matsushita MN10300 architectures:
  71. </p>
  72. <dl compact="compact">
  73. <dt><code>-mmult-bug</code></dt>
  74. <dd><a name="index-mmult_002dbug"></a>
  75. <p>Generate code to avoid bugs in the multiply instructions for the MN10300
  76. processors. This is the default.
  77. </p>
  78. </dd>
  79. <dt><code>-mno-mult-bug</code></dt>
  80. <dd><a name="index-mno_002dmult_002dbug"></a>
  81. <p>Do not generate code to avoid bugs in the multiply instructions for the
  82. MN10300 processors.
  83. </p>
  84. </dd>
  85. <dt><code>-mam33</code></dt>
  86. <dd><a name="index-mam33"></a>
  87. <p>Generate code using features specific to the AM33 processor.
  88. </p>
  89. </dd>
  90. <dt><code>-mno-am33</code></dt>
  91. <dd><a name="index-mno_002dam33"></a>
  92. <p>Do not generate code using features specific to the AM33 processor. This
  93. is the default.
  94. </p>
  95. </dd>
  96. <dt><code>-mam33-2</code></dt>
  97. <dd><a name="index-mam33_002d2"></a>
  98. <p>Generate code using features specific to the AM33/2.0 processor.
  99. </p>
  100. </dd>
  101. <dt><code>-mam34</code></dt>
  102. <dd><a name="index-mam34"></a>
  103. <p>Generate code using features specific to the AM34 processor.
  104. </p>
  105. </dd>
  106. <dt><code>-mtune=<var>cpu-type</var></code></dt>
  107. <dd><a name="index-mtune-10"></a>
  108. <p>Use the timing characteristics of the indicated CPU type when
  109. scheduling instructions. This does not change the targeted processor
  110. type. The CPU type must be one of &lsquo;<samp>mn10300</samp>&rsquo;, &lsquo;<samp>am33</samp>&rsquo;,
  111. &lsquo;<samp>am33-2</samp>&rsquo; or &lsquo;<samp>am34</samp>&rsquo;.
  112. </p>
  113. </dd>
  114. <dt><code>-mreturn-pointer-on-d0</code></dt>
  115. <dd><a name="index-mreturn_002dpointer_002don_002dd0"></a>
  116. <p>When generating a function that returns a pointer, return the pointer
  117. in both <code>a0</code> and <code>d0</code>. Otherwise, the pointer is returned
  118. only in <code>a0</code>, and attempts to call such functions without a prototype
  119. result in errors. Note that this option is on by default; use
  120. <samp>-mno-return-pointer-on-d0</samp> to disable it.
  121. </p>
  122. </dd>
  123. <dt><code>-mno-crt0</code></dt>
  124. <dd><a name="index-mno_002dcrt0"></a>
  125. <p>Do not link in the C run-time initialization object file.
  126. </p>
  127. </dd>
  128. <dt><code>-mrelax</code></dt>
  129. <dd><a name="index-mrelax-2"></a>
  130. <p>Indicate to the linker that it should perform a relaxation optimization pass
  131. to shorten branches, calls and absolute memory addresses. This option only
  132. has an effect when used on the command line for the final link step.
  133. </p>
  134. <p>This option makes symbolic debugging impossible.
  135. </p>
  136. </dd>
  137. <dt><code>-mliw</code></dt>
  138. <dd><a name="index-mliw"></a>
  139. <p>Allow the compiler to generate <em>Long Instruction Word</em>
  140. instructions if the target is the &lsquo;<samp>AM33</samp>&rsquo; or later. This is the
  141. default. This option defines the preprocessor macro <code>__LIW__</code>.
  142. </p>
  143. </dd>
  144. <dt><code>-mno-liw</code></dt>
  145. <dd><a name="index-mno_002dliw"></a>
  146. <p>Do not allow the compiler to generate <em>Long Instruction Word</em>
  147. instructions. This option defines the preprocessor macro
  148. <code>__NO_LIW__</code>.
  149. </p>
  150. </dd>
  151. <dt><code>-msetlb</code></dt>
  152. <dd><a name="index-msetlb"></a>
  153. <p>Allow the compiler to generate the <em>SETLB</em> and <em>Lcc</em>
  154. instructions if the target is the &lsquo;<samp>AM33</samp>&rsquo; or later. This is the
  155. default. This option defines the preprocessor macro <code>__SETLB__</code>.
  156. </p>
  157. </dd>
  158. <dt><code>-mno-setlb</code></dt>
  159. <dd><a name="index-mno_002dsetlb"></a>
  160. <p>Do not allow the compiler to generate <em>SETLB</em> or <em>Lcc</em>
  161. instructions. This option defines the preprocessor macro
  162. <code>__NO_SETLB__</code>.
  163. </p>
  164. </dd>
  165. </dl>
  166. <hr>
  167. <div class="header">
  168. <p>
  169. Next: <a href="Moxie-Options.html#Moxie-Options" accesskey="n" rel="next">Moxie Options</a>, Previous: <a href="MMIX-Options.html#MMIX-Options" accesskey="p" rel="prev">MMIX Options</a>, Up: <a href="Submodel-Options.html#Submodel-Options" accesskey="u" rel="up">Submodel Options</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
  170. </div>
  171. </body>
  172. </html>