You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

165 lines
5.6KB

  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>PDP-11 Options (Using the GNU Compiler Collection (GCC))</title>
  21. <meta name="description" content="PDP-11 Options (Using the GNU Compiler Collection (GCC))">
  22. <meta name="keywords" content="PDP-11 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="picoChip-Options.html#picoChip-Options" rel="next" title="picoChip Options">
  31. <link href="OpenRISC-Options.html#OpenRISC-Options" rel="prev" title="OpenRISC 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="PDP_002d11-Options"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="picoChip-Options.html#picoChip-Options" accesskey="n" rel="next">picoChip Options</a>, Previous: <a href="OpenRISC-Options.html#OpenRISC-Options" accesskey="p" rel="prev">OpenRISC 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="PDP_002d11-Options-1"></a>
  68. <h4 class="subsection">3.19.38 PDP-11 Options</h4>
  69. <a name="index-PDP_002d11-Options"></a>
  70. <p>These options are defined for the PDP-11:
  71. </p>
  72. <dl compact="compact">
  73. <dt><code>-mfpu</code></dt>
  74. <dd><a name="index-mfpu-2"></a>
  75. <p>Use hardware FPP floating point. This is the default. (FIS floating
  76. point on the PDP-11/40 is not supported.) Implies -m45.
  77. </p>
  78. </dd>
  79. <dt><code>-msoft-float</code></dt>
  80. <dd><a name="index-msoft_002dfloat-9"></a>
  81. <p>Do not use hardware floating point.
  82. </p>
  83. </dd>
  84. <dt><code>-mac0</code></dt>
  85. <dd><a name="index-mac0"></a>
  86. <p>Return floating-point results in ac0 (fr0 in Unix assembler syntax).
  87. </p>
  88. </dd>
  89. <dt><code>-mno-ac0</code></dt>
  90. <dd><a name="index-mno_002dac0"></a>
  91. <p>Return floating-point results in memory. This is the default.
  92. </p>
  93. </dd>
  94. <dt><code>-m40</code></dt>
  95. <dd><a name="index-m40"></a>
  96. <p>Generate code for a PDP-11/40. Implies -msoft-float -mno-split.
  97. </p>
  98. </dd>
  99. <dt><code>-m45</code></dt>
  100. <dd><a name="index-m45"></a>
  101. <p>Generate code for a PDP-11/45. This is the default.
  102. </p>
  103. </dd>
  104. <dt><code>-m10</code></dt>
  105. <dd><a name="index-m10"></a>
  106. <p>Generate code for a PDP-11/10. Implies -msoft-float -mno-split.
  107. </p>
  108. </dd>
  109. <dt><code>-mint16</code></dt>
  110. <dt><code>-mno-int32</code></dt>
  111. <dd><a name="index-mint16"></a>
  112. <a name="index-mno_002dint32"></a>
  113. <p>Use 16-bit <code>int</code>. This is the default.
  114. </p>
  115. </dd>
  116. <dt><code>-mint32</code></dt>
  117. <dt><code>-mno-int16</code></dt>
  118. <dd><a name="index-mint32-2"></a>
  119. <a name="index-mno_002dint16"></a>
  120. <p>Use 32-bit <code>int</code>.
  121. </p>
  122. </dd>
  123. <dt><code>-msplit</code></dt>
  124. <dd><a name="index-msplit"></a>
  125. <p>Target has split instruction and data space. Implies -m45.
  126. </p>
  127. </dd>
  128. <dt><code>-munix-asm</code></dt>
  129. <dd><a name="index-munix_002dasm"></a>
  130. <p>Use Unix assembler syntax.
  131. </p>
  132. </dd>
  133. <dt><code>-mdec-asm</code></dt>
  134. <dd><a name="index-mdec_002dasm"></a>
  135. <p>Use DEC assembler syntax.
  136. </p>
  137. </dd>
  138. <dt><code>-mgnu-asm</code></dt>
  139. <dd><a name="index-mgnu_002dasm"></a>
  140. <p>Use GNU assembler syntax. This is the default.
  141. </p>
  142. </dd>
  143. <dt><code>-mlra</code></dt>
  144. <dd><a name="index-mlra-2"></a>
  145. <p>Use the new LRA register allocator. By default, the old &ldquo;reload&rdquo;
  146. allocator is used.
  147. </p></dd>
  148. </dl>
  149. </body>
  150. </html>