MN10300-Options.html 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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-2017 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 5.2, http://www.gnu.org/software/texinfo/ -->
  18. <head>
  19. <title>Using the GNU Compiler Collection (GCC): MN10300 Options</title>
  20. <meta name="description" content="Using the GNU Compiler Collection (GCC): MN10300 Options">
  21. <meta name="keywords" content="Using the GNU Compiler Collection (GCC): MN10300 Options">
  22. <meta name="resource-type" content="document">
  23. <meta name="distribution" content="global">
  24. <meta name="Generator" content="makeinfo">
  25. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  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.smallquotation {font-size: smaller}
  36. div.display {margin-left: 3.2em}
  37. div.example {margin-left: 3.2em}
  38. div.indentedblock {margin-left: 3.2em}
  39. div.lisp {margin-left: 3.2em}
  40. div.smalldisplay {margin-left: 3.2em}
  41. div.smallexample {margin-left: 3.2em}
  42. div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
  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.nocodebreak {white-space:nowrap}
  54. span.nolinebreak {white-space:nowrap}
  55. span.roman {font-family:serif; font-weight:normal}
  56. span.sansserif {font-family:sans-serif; font-weight:normal}
  57. ul.no-bullet {list-style: none}
  58. -->
  59. </style>
  60. </head>
  61. <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
  62. <a name="MN10300-Options"></a>
  63. <div class="header">
  64. <p>
  65. 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>
  66. </div>
  67. <hr>
  68. <a name="MN10300-Options-1"></a>
  69. <h4 class="subsection">3.18.28 MN10300 Options</h4>
  70. <a name="index-MN10300-options"></a>
  71. <p>These <samp>-m</samp> options are defined for Matsushita MN10300 architectures:
  72. </p>
  73. <dl compact="compact">
  74. <dt><code>-mmult-bug</code></dt>
  75. <dd><a name="index-mmult_002dbug"></a>
  76. <p>Generate code to avoid bugs in the multiply instructions for the MN10300
  77. processors. This is the default.
  78. </p>
  79. </dd>
  80. <dt><code>-mno-mult-bug</code></dt>
  81. <dd><a name="index-mno_002dmult_002dbug"></a>
  82. <p>Do not generate code to avoid bugs in the multiply instructions for the
  83. MN10300 processors.
  84. </p>
  85. </dd>
  86. <dt><code>-mam33</code></dt>
  87. <dd><a name="index-mam33"></a>
  88. <p>Generate code using features specific to the AM33 processor.
  89. </p>
  90. </dd>
  91. <dt><code>-mno-am33</code></dt>
  92. <dd><a name="index-mno_002dam33"></a>
  93. <p>Do not generate code using features specific to the AM33 processor. This
  94. is the default.
  95. </p>
  96. </dd>
  97. <dt><code>-mam33-2</code></dt>
  98. <dd><a name="index-mam33_002d2"></a>
  99. <p>Generate code using features specific to the AM33/2.0 processor.
  100. </p>
  101. </dd>
  102. <dt><code>-mam34</code></dt>
  103. <dd><a name="index-mam34"></a>
  104. <p>Generate code using features specific to the AM34 processor.
  105. </p>
  106. </dd>
  107. <dt><code>-mtune=<var>cpu-type</var></code></dt>
  108. <dd><a name="index-mtune-9"></a>
  109. <p>Use the timing characteristics of the indicated CPU type when
  110. scheduling instructions. This does not change the targeted processor
  111. type. The CPU type must be one of &lsquo;<samp>mn10300</samp>&rsquo;, &lsquo;<samp>am33</samp>&rsquo;,
  112. &lsquo;<samp>am33-2</samp>&rsquo; or &lsquo;<samp>am34</samp>&rsquo;.
  113. </p>
  114. </dd>
  115. <dt><code>-mreturn-pointer-on-d0</code></dt>
  116. <dd><a name="index-mreturn_002dpointer_002don_002dd0"></a>
  117. <p>When generating a function that returns a pointer, return the pointer
  118. in both <code>a0</code> and <code>d0</code>. Otherwise, the pointer is returned
  119. only in <code>a0</code>, and attempts to call such functions without a prototype
  120. result in errors. Note that this option is on by default; use
  121. <samp>-mno-return-pointer-on-d0</samp> to disable it.
  122. </p>
  123. </dd>
  124. <dt><code>-mno-crt0</code></dt>
  125. <dd><a name="index-mno_002dcrt0"></a>
  126. <p>Do not link in the C run-time initialization object file.
  127. </p>
  128. </dd>
  129. <dt><code>-mrelax</code></dt>
  130. <dd><a name="index-mrelax-2"></a>
  131. <p>Indicate to the linker that it should perform a relaxation optimization pass
  132. to shorten branches, calls and absolute memory addresses. This option only
  133. has an effect when used on the command line for the final link step.
  134. </p>
  135. <p>This option makes symbolic debugging impossible.
  136. </p>
  137. </dd>
  138. <dt><code>-mliw</code></dt>
  139. <dd><a name="index-mliw"></a>
  140. <p>Allow the compiler to generate <em>Long Instruction Word</em>
  141. instructions if the target is the &lsquo;<samp>AM33</samp>&rsquo; or later. This is the
  142. default. This option defines the preprocessor macro <code>__LIW__</code>.
  143. </p>
  144. </dd>
  145. <dt><code>-mnoliw</code></dt>
  146. <dd><a name="index-mnoliw"></a>
  147. <p>Do not allow the compiler to generate <em>Long Instruction Word</em>
  148. instructions. This option defines the preprocessor macro
  149. <code>__NO_LIW__</code>.
  150. </p>
  151. </dd>
  152. <dt><code>-msetlb</code></dt>
  153. <dd><a name="index-msetlb"></a>
  154. <p>Allow the compiler to generate the <em>SETLB</em> and <em>Lcc</em>
  155. instructions if the target is the &lsquo;<samp>AM33</samp>&rsquo; or later. This is the
  156. default. This option defines the preprocessor macro <code>__SETLB__</code>.
  157. </p>
  158. </dd>
  159. <dt><code>-mnosetlb</code></dt>
  160. <dd><a name="index-mnosetlb"></a>
  161. <p>Do not allow the compiler to generate <em>SETLB</em> or <em>Lcc</em>
  162. instructions. This option defines the preprocessor macro
  163. <code>__NO_SETLB__</code>.
  164. </p>
  165. </dd>
  166. </dl>
  167. <hr>
  168. <div class="header">
  169. <p>
  170. 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>
  171. </div>
  172. </body>
  173. </html>