Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

182 lines
7.5KB

  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>MMIX Options (Using the GNU Compiler Collection (GCC))</title>
  21. <meta name="description" content="MMIX Options (Using the GNU Compiler Collection (GCC))">
  22. <meta name="keywords" content="MMIX 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="MN10300-Options.html#MN10300-Options" rel="next" title="MN10300 Options">
  31. <link href="MIPS-Options.html#MIPS-Options" rel="prev" title="MIPS 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="MMIX-Options"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="MN10300-Options.html#MN10300-Options" accesskey="n" rel="next">MN10300 Options</a>, Previous: <a href="MIPS-Options.html#MIPS-Options" accesskey="p" rel="prev">MIPS 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="MMIX-Options-1"></a>
  68. <h4 class="subsection">3.19.30 MMIX Options</h4>
  69. <a name="index-MMIX-Options"></a>
  70. <p>These options are defined for the MMIX:
  71. </p>
  72. <dl compact="compact">
  73. <dt><code>-mlibfuncs</code></dt>
  74. <dt><code>-mno-libfuncs</code></dt>
  75. <dd><a name="index-mlibfuncs"></a>
  76. <a name="index-mno_002dlibfuncs"></a>
  77. <p>Specify that intrinsic library functions are being compiled, passing all
  78. values in registers, no matter the size.
  79. </p>
  80. </dd>
  81. <dt><code>-mepsilon</code></dt>
  82. <dt><code>-mno-epsilon</code></dt>
  83. <dd><a name="index-mepsilon"></a>
  84. <a name="index-mno_002depsilon"></a>
  85. <p>Generate floating-point comparison instructions that compare with respect
  86. to the <code>rE</code> epsilon register.
  87. </p>
  88. </dd>
  89. <dt><code>-mabi=mmixware</code></dt>
  90. <dt><code>-mabi=gnu</code></dt>
  91. <dd><a name="index-mabi_003dmmixware"></a>
  92. <a name="index-mabi_003dgnu"></a>
  93. <p>Generate code that passes function parameters and return values that (in
  94. the called function) are seen as registers <code>$0</code> and up, as opposed to
  95. the GNU ABI which uses global registers <code>$231</code> and up.
  96. </p>
  97. </dd>
  98. <dt><code>-mzero-extend</code></dt>
  99. <dt><code>-mno-zero-extend</code></dt>
  100. <dd><a name="index-mzero_002dextend"></a>
  101. <a name="index-mno_002dzero_002dextend"></a>
  102. <p>When reading data from memory in sizes shorter than 64 bits, use (do not
  103. use) zero-extending load instructions by default, rather than
  104. sign-extending ones.
  105. </p>
  106. </dd>
  107. <dt><code>-mknuthdiv</code></dt>
  108. <dt><code>-mno-knuthdiv</code></dt>
  109. <dd><a name="index-mknuthdiv"></a>
  110. <a name="index-mno_002dknuthdiv"></a>
  111. <p>Make the result of a division yielding a remainder have the same sign as
  112. the divisor. With the default, <samp>-mno-knuthdiv</samp>, the sign of the
  113. remainder follows the sign of the dividend. Both methods are
  114. arithmetically valid, the latter being almost exclusively used.
  115. </p>
  116. </dd>
  117. <dt><code>-mtoplevel-symbols</code></dt>
  118. <dt><code>-mno-toplevel-symbols</code></dt>
  119. <dd><a name="index-mtoplevel_002dsymbols"></a>
  120. <a name="index-mno_002dtoplevel_002dsymbols"></a>
  121. <p>Prepend (do not prepend) a &lsquo;<samp>:</samp>&rsquo; to all global symbols, so the assembly
  122. code can be used with the <code>PREFIX</code> assembly directive.
  123. </p>
  124. </dd>
  125. <dt><code>-melf</code></dt>
  126. <dd><a name="index-melf-1"></a>
  127. <p>Generate an executable in the ELF format, rather than the default
  128. &lsquo;<samp>mmo</samp>&rsquo; format used by the <code>mmix</code> simulator.
  129. </p>
  130. </dd>
  131. <dt><code>-mbranch-predict</code></dt>
  132. <dt><code>-mno-branch-predict</code></dt>
  133. <dd><a name="index-mbranch_002dpredict"></a>
  134. <a name="index-mno_002dbranch_002dpredict"></a>
  135. <p>Use (do not use) the probable-branch instructions, when static branch
  136. prediction indicates a probable branch.
  137. </p>
  138. </dd>
  139. <dt><code>-mbase-addresses</code></dt>
  140. <dt><code>-mno-base-addresses</code></dt>
  141. <dd><a name="index-mbase_002daddresses"></a>
  142. <a name="index-mno_002dbase_002daddresses"></a>
  143. <p>Generate (do not generate) code that uses <em>base addresses</em>. Using a
  144. base address automatically generates a request (handled by the assembler
  145. and the linker) for a constant to be set up in a global register. The
  146. register is used for one or more base address requests within the range 0
  147. to 255 from the value held in the register. The generally leads to short
  148. and fast code, but the number of different data items that can be
  149. addressed is limited. This means that a program that uses lots of static
  150. data may require <samp>-mno-base-addresses</samp>.
  151. </p>
  152. </dd>
  153. <dt><code>-msingle-exit</code></dt>
  154. <dt><code>-mno-single-exit</code></dt>
  155. <dd><a name="index-msingle_002dexit"></a>
  156. <a name="index-mno_002dsingle_002dexit"></a>
  157. <p>Force (do not force) generated code to have a single exit point in each
  158. function.
  159. </p></dd>
  160. </dl>
  161. <hr>
  162. <div class="header">
  163. <p>
  164. Next: <a href="MN10300-Options.html#MN10300-Options" accesskey="n" rel="next">MN10300 Options</a>, Previous: <a href="MIPS-Options.html#MIPS-Options" accesskey="p" rel="prev">MIPS 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>
  165. </div>
  166. </body>
  167. </html>