您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

190 行
5.8KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- This file documents the GNU Assembler "as".
  4. Copyright (C) 1991-2020 Free Software Foundation, Inc.
  5. Permission is granted to copy, distribute and/or modify this document
  6. under the terms of the GNU Free Documentation License, Version 1.3
  7. or any later version published by the Free Software Foundation;
  8. with no Invariant Sections, with no Front-Cover Texts, and with no
  9. Back-Cover Texts. A copy of the license is included in the
  10. section entitled "GNU Free Documentation License".
  11. -->
  12. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  13. <head>
  14. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  15. <title>NDS32 Options (Using as)</title>
  16. <meta name="description" content="NDS32 Options (Using as)">
  17. <meta name="keywords" content="NDS32 Options (Using as)">
  18. <meta name="resource-type" content="document">
  19. <meta name="distribution" content="global">
  20. <meta name="Generator" content="makeinfo">
  21. <link href="index.html#Top" rel="start" title="Top">
  22. <link href="AS-Index.html#AS-Index" rel="index" title="AS Index">
  23. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  24. <link href="NDS32_002dDependent.html#NDS32_002dDependent" rel="up" title="NDS32-Dependent">
  25. <link href="NDS32-Syntax.html#NDS32-Syntax" rel="next" title="NDS32 Syntax">
  26. <link href="NDS32_002dDependent.html#NDS32_002dDependent" rel="prev" title="NDS32-Dependent">
  27. <style type="text/css">
  28. <!--
  29. a.summary-letter {text-decoration: none}
  30. blockquote.indentedblock {margin-right: 0em}
  31. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  32. blockquote.smallquotation {font-size: smaller}
  33. div.display {margin-left: 3.2em}
  34. div.example {margin-left: 3.2em}
  35. div.lisp {margin-left: 3.2em}
  36. div.smalldisplay {margin-left: 3.2em}
  37. div.smallexample {margin-left: 3.2em}
  38. div.smalllisp {margin-left: 3.2em}
  39. kbd {font-style: oblique}
  40. pre.display {font-family: inherit}
  41. pre.format {font-family: inherit}
  42. pre.menu-comment {font-family: serif}
  43. pre.menu-preformatted {font-family: serif}
  44. pre.smalldisplay {font-family: inherit; font-size: smaller}
  45. pre.smallexample {font-size: smaller}
  46. pre.smallformat {font-family: inherit; font-size: smaller}
  47. pre.smalllisp {font-size: smaller}
  48. span.nolinebreak {white-space: nowrap}
  49. span.roman {font-family: initial; font-weight: normal}
  50. span.sansserif {font-family: sans-serif; font-weight: normal}
  51. ul.no-bullet {list-style: none}
  52. -->
  53. </style>
  54. </head>
  55. <body lang="en">
  56. <a name="NDS32-Options"></a>
  57. <div class="header">
  58. <p>
  59. Next: <a href="NDS32-Syntax.html#NDS32-Syntax" accesskey="n" rel="next">NDS32 Syntax</a>, Up: <a href="NDS32_002dDependent.html#NDS32_002dDependent" accesskey="u" rel="up">NDS32-Dependent</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="AS-Index.html#AS-Index" title="Index" rel="index">Index</a>]</p>
  60. </div>
  61. <hr>
  62. <a name="NDS32-Options-1"></a>
  63. <h4 class="subsection">9.30.1 NDS32 Options</h4>
  64. <a name="index-NDS32-options"></a>
  65. <a name="index-options-for-NDS32"></a>
  66. <p>The NDS32 configurations of <small>GNU</small> <code>as</code> support these
  67. special options:
  68. </p>
  69. <dl compact="compact">
  70. <dt><code>-O1</code></dt>
  71. <dd><p>Optimize for performance.
  72. </p>
  73. </dd>
  74. <dt><code>-Os</code></dt>
  75. <dd><p>Optimize for space.
  76. </p>
  77. </dd>
  78. <dt><code>-EL</code></dt>
  79. <dd><p>Produce little endian data output.
  80. </p>
  81. </dd>
  82. <dt><code>-EB</code></dt>
  83. <dd><p>Produce little endian data output.
  84. </p>
  85. </dd>
  86. <dt><code>-mpic</code></dt>
  87. <dd><p>Generate PIC.
  88. </p>
  89. </dd>
  90. <dt><code>-mno-fp-as-gp-relax</code></dt>
  91. <dd><p>Suppress fp-as-gp relaxation for this file.
  92. </p>
  93. </dd>
  94. <dt><code>-mb2bb-relax</code></dt>
  95. <dd><p>Back-to-back branch optimization.
  96. </p>
  97. </dd>
  98. <dt><code>-mno-all-relax</code></dt>
  99. <dd><p>Suppress all relaxation for this file.
  100. </p>
  101. </dd>
  102. <dt><code>-march=&lt;arch name&gt;</code></dt>
  103. <dd><p>Assemble for architecture &lt;arch name&gt; which could be v3, v3j, v3m, v3f,
  104. v3s, v2, v2j, v2f, v2s.
  105. </p>
  106. </dd>
  107. <dt><code>-mbaseline=&lt;baseline&gt;</code></dt>
  108. <dd><p>Assemble for baseline &lt;baseline&gt; which could be v2, v3, v3m.
  109. </p>
  110. </dd>
  111. <dt><code>-mfpu-freg=<var>FREG</var></code></dt>
  112. <dd><p>Specify a FPU configuration.
  113. </p><dl compact="compact">
  114. <dt><code>0 8 SP / 4 DP registers</code></dt>
  115. <dt><code>1 16 SP / 8 DP registers</code></dt>
  116. <dt><code>2 32 SP / 16 DP registers</code></dt>
  117. <dt><code>3 32 SP / 32 DP registers</code></dt>
  118. </dl>
  119. </dd>
  120. <dt><code>-mabi=<var>abi</var></code></dt>
  121. <dd><p>Specify a abi version &lt;abi&gt; could be v1, v2, v2fp, v2fpp.
  122. </p>
  123. </dd>
  124. <dt><code>-m[no-]mac</code></dt>
  125. <dd><p>Enable/Disable Multiply instructions support.
  126. </p>
  127. </dd>
  128. <dt><code>-m[no-]div</code></dt>
  129. <dd><p>Enable/Disable Divide instructions support.
  130. </p>
  131. </dd>
  132. <dt><code>-m[no-]16bit-ext</code></dt>
  133. <dd><p>Enable/Disable 16-bit extension
  134. </p>
  135. </dd>
  136. <dt><code>-m[no-]dx-regs</code></dt>
  137. <dd><p>Enable/Disable d0/d1 registers
  138. </p>
  139. </dd>
  140. <dt><code>-m[no-]perf-ext</code></dt>
  141. <dd><p>Enable/Disable Performance extension
  142. </p>
  143. </dd>
  144. <dt><code>-m[no-]perf2-ext</code></dt>
  145. <dd><p>Enable/Disable Performance extension 2
  146. </p>
  147. </dd>
  148. <dt><code>-m[no-]string-ext</code></dt>
  149. <dd><p>Enable/Disable String extension
  150. </p>
  151. </dd>
  152. <dt><code>-m[no-]reduced-regs</code></dt>
  153. <dd><p>Enable/Disable Reduced Register configuration (GPR16) option
  154. </p>
  155. </dd>
  156. <dt><code>-m[no-]audio-isa-ext</code></dt>
  157. <dd><p>Enable/Disable AUDIO ISA extension
  158. </p>
  159. </dd>
  160. <dt><code>-m[no-]fpu-sp-ext</code></dt>
  161. <dd><p>Enable/Disable FPU SP extension
  162. </p>
  163. </dd>
  164. <dt><code>-m[no-]fpu-dp-ext</code></dt>
  165. <dd><p>Enable/Disable FPU DP extension
  166. </p>
  167. </dd>
  168. <dt><code>-m[no-]fpu-fma</code></dt>
  169. <dd><p>Enable/Disable FPU fused-multiply-add instructions
  170. </p>
  171. </dd>
  172. <dt><code>-mall-ext</code></dt>
  173. <dd><p>Turn on all extensions and instructions support
  174. </p></dd>
  175. </dl>
  176. </body>
  177. </html>