PDP_002d11-Options.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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): PDP-11 Options</title>
  20. <meta name="description" content="Using the GNU Compiler Collection (GCC): PDP-11 Options">
  21. <meta name="keywords" content="Using the GNU Compiler Collection (GCC): PDP-11 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="picoChip-Options.html#picoChip-Options" rel="next" title="picoChip Options">
  31. <link href="Nvidia-PTX-Options.html#Nvidia-PTX-Options" rel="prev" title="Nvidia PTX 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="PDP_002d11-Options"></a>
  63. <div class="header">
  64. <p>
  65. Next: <a href="picoChip-Options.html#picoChip-Options" accesskey="n" rel="next">picoChip Options</a>, Previous: <a href="Nvidia-PTX-Options.html#Nvidia-PTX-Options" accesskey="p" rel="prev">Nvidia PTX 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="PDP_002d11-Options-1"></a>
  69. <h4 class="subsection">3.18.34 PDP-11 Options</h4>
  70. <a name="index-PDP_002d11-Options"></a>
  71. <p>These options are defined for the PDP-11:
  72. </p>
  73. <dl compact="compact">
  74. <dt><code>-mfpu</code></dt>
  75. <dd><a name="index-mfpu-2"></a>
  76. <p>Use hardware FPP floating point. This is the default. (FIS floating
  77. point on the PDP-11/40 is not supported.)
  78. </p>
  79. </dd>
  80. <dt><code>-msoft-float</code></dt>
  81. <dd><a name="index-msoft_002dfloat-7"></a>
  82. <p>Do not use hardware floating point.
  83. </p>
  84. </dd>
  85. <dt><code>-mac0</code></dt>
  86. <dd><a name="index-mac0"></a>
  87. <p>Return floating-point results in ac0 (fr0 in Unix assembler syntax).
  88. </p>
  89. </dd>
  90. <dt><code>-mno-ac0</code></dt>
  91. <dd><a name="index-mno_002dac0"></a>
  92. <p>Return floating-point results in memory. This is the default.
  93. </p>
  94. </dd>
  95. <dt><code>-m40</code></dt>
  96. <dd><a name="index-m40"></a>
  97. <p>Generate code for a PDP-11/40.
  98. </p>
  99. </dd>
  100. <dt><code>-m45</code></dt>
  101. <dd><a name="index-m45"></a>
  102. <p>Generate code for a PDP-11/45. This is the default.
  103. </p>
  104. </dd>
  105. <dt><code>-m10</code></dt>
  106. <dd><a name="index-m10"></a>
  107. <p>Generate code for a PDP-11/10.
  108. </p>
  109. </dd>
  110. <dt><code>-mbcopy-builtin</code></dt>
  111. <dd><a name="index-mbcopy_002dbuiltin"></a>
  112. <p>Use inline <code>movmemhi</code> patterns for copying memory. This is the
  113. default.
  114. </p>
  115. </dd>
  116. <dt><code>-mbcopy</code></dt>
  117. <dd><a name="index-mbcopy"></a>
  118. <p>Do not use inline <code>movmemhi</code> patterns for copying memory.
  119. </p>
  120. </dd>
  121. <dt><code>-mint16</code></dt>
  122. <dt><code>-mno-int32</code></dt>
  123. <dd><a name="index-mint16"></a>
  124. <a name="index-mno_002dint32"></a>
  125. <p>Use 16-bit <code>int</code>. This is the default.
  126. </p>
  127. </dd>
  128. <dt><code>-mint32</code></dt>
  129. <dt><code>-mno-int16</code></dt>
  130. <dd><a name="index-mint32-2"></a>
  131. <a name="index-mno_002dint16"></a>
  132. <p>Use 32-bit <code>int</code>.
  133. </p>
  134. </dd>
  135. <dt><code>-mfloat64</code></dt>
  136. <dt><code>-mno-float32</code></dt>
  137. <dd><a name="index-mfloat64"></a>
  138. <a name="index-mno_002dfloat32"></a>
  139. <p>Use 64-bit <code>float</code>. This is the default.
  140. </p>
  141. </dd>
  142. <dt><code>-mfloat32</code></dt>
  143. <dt><code>-mno-float64</code></dt>
  144. <dd><a name="index-mfloat32"></a>
  145. <a name="index-mno_002dfloat64"></a>
  146. <p>Use 32-bit <code>float</code>.
  147. </p>
  148. </dd>
  149. <dt><code>-mabshi</code></dt>
  150. <dd><a name="index-mabshi"></a>
  151. <p>Use <code>abshi2</code> pattern. This is the default.
  152. </p>
  153. </dd>
  154. <dt><code>-mno-abshi</code></dt>
  155. <dd><a name="index-mno_002dabshi"></a>
  156. <p>Do not use <code>abshi2</code> pattern.
  157. </p>
  158. </dd>
  159. <dt><code>-mbranch-expensive</code></dt>
  160. <dd><a name="index-mbranch_002dexpensive"></a>
  161. <p>Pretend that branches are expensive. This is for experimenting with
  162. code generation only.
  163. </p>
  164. </dd>
  165. <dt><code>-mbranch-cheap</code></dt>
  166. <dd><a name="index-mbranch_002dcheap"></a>
  167. <p>Do not pretend that branches are expensive. This is the default.
  168. </p>
  169. </dd>
  170. <dt><code>-munix-asm</code></dt>
  171. <dd><a name="index-munix_002dasm"></a>
  172. <p>Use Unix assembler syntax. This is the default when configured for
  173. &lsquo;<samp>pdp11-*-bsd</samp>&rsquo;.
  174. </p>
  175. </dd>
  176. <dt><code>-mdec-asm</code></dt>
  177. <dd><a name="index-mdec_002dasm"></a>
  178. <p>Use DEC assembler syntax. This is the default when configured for any
  179. PDP-11 target other than &lsquo;<samp>pdp11-*-bsd</samp>&rsquo;.
  180. </p></dd>
  181. </dl>
  182. <hr>
  183. <div class="header">
  184. <p>
  185. Next: <a href="picoChip-Options.html#picoChip-Options" accesskey="n" rel="next">picoChip Options</a>, Previous: <a href="Nvidia-PTX-Options.html#Nvidia-PTX-Options" accesskey="p" rel="prev">Nvidia PTX 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>
  186. </div>
  187. </body>
  188. </html>