選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

247 行
8.3KB

  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>ARC Options (Using as)</title>
  16. <meta name="description" content="ARC Options (Using as)">
  17. <meta name="keywords" content="ARC 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="ARC_002dDependent.html#ARC_002dDependent" rel="up" title="ARC-Dependent">
  25. <link href="ARC-Syntax.html#ARC-Syntax" rel="next" title="ARC Syntax">
  26. <link href="ARC_002dDependent.html#ARC_002dDependent" rel="prev" title="ARC-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="ARC-Options"></a>
  57. <div class="header">
  58. <p>
  59. Next: <a href="ARC-Syntax.html#ARC-Syntax" accesskey="n" rel="next">ARC Syntax</a>, Up: <a href="ARC_002dDependent.html#ARC_002dDependent" accesskey="u" rel="up">ARC-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="Options-2"></a>
  63. <h4 class="subsection">9.3.1 Options</h4>
  64. <a name="index-ARC-options"></a>
  65. <a name="index-options-for-ARC"></a>
  66. <p>The following options control the type of CPU for which code is
  67. assembled, and generic constraints on the code generated:
  68. </p>
  69. <dl compact="compact">
  70. <dt><code>-mcpu=<var>cpu</var></code></dt>
  71. <dd><a name="index-_002dmcpu_003dcpu-command_002dline-option_002c-ARC"></a>
  72. <p>Set architecture type and register usage for <var>cpu</var>. There are
  73. also shortcut alias options available for backward compatibility and
  74. convenience. Supported values for <var>cpu</var> are
  75. </p>
  76. <dl compact="compact">
  77. <dd><a name="index-mA6-command_002dline-option_002c-ARC"></a>
  78. <a name="index-marc600-command_002dline-option_002c-ARC"></a>
  79. </dd>
  80. <dt><code>arc600</code></dt>
  81. <dd><p>Assemble for ARC 600. Aliases: <code>-mA6</code>, <code>-mARC600</code>.
  82. </p>
  83. </dd>
  84. <dt><code>arc600_norm</code></dt>
  85. <dd><p>Assemble for ARC 600 with norm instructions.
  86. </p>
  87. </dd>
  88. <dt><code>arc600_mul64</code></dt>
  89. <dd><p>Assemble for ARC 600 with mul64 instructions.
  90. </p>
  91. </dd>
  92. <dt><code>arc600_mul32x16</code></dt>
  93. <dd><p>Assemble for ARC 600 with mul32x16 instructions.
  94. </p>
  95. </dd>
  96. <dt><code>arc601</code></dt>
  97. <dd><a name="index-mARC601-command_002dline-option_002c-ARC"></a>
  98. <p>Assemble for ARC 601. Alias: <code>-mARC601</code>.
  99. </p>
  100. </dd>
  101. <dt><code>arc601_norm</code></dt>
  102. <dd><p>Assemble for ARC 601 with norm instructions.
  103. </p>
  104. </dd>
  105. <dt><code>arc601_mul64</code></dt>
  106. <dd><p>Assemble for ARC 601 with mul64 instructions.
  107. </p>
  108. </dd>
  109. <dt><code>arc601_mul32x16</code></dt>
  110. <dd><p>Assemble for ARC 601 with mul32x16 instructions.
  111. </p>
  112. </dd>
  113. <dt><code>arc700</code></dt>
  114. <dd><a name="index-mA7-command_002dline-option_002c-ARC"></a>
  115. <a name="index-mARC700-command_002dline-option_002c-ARC"></a>
  116. <p>Assemble for ARC 700. Aliases: <code>-mA7</code>, <code>-mARC700</code>.
  117. </p>
  118. </dd>
  119. <dt><code>arcem</code></dt>
  120. <dd><a name="index-mEM-command_002dline-option_002c-ARC"></a>
  121. <p>Assemble for ARC EM. Aliases: <code>-mEM</code>
  122. </p>
  123. </dd>
  124. <dt><code>em</code></dt>
  125. <dd><p>Assemble for ARC EM, identical as arcem variant.
  126. </p>
  127. </dd>
  128. <dt><code>em4</code></dt>
  129. <dd><p>Assemble for ARC EM with code-density instructions.
  130. </p>
  131. </dd>
  132. <dt><code>em4_dmips</code></dt>
  133. <dd><p>Assemble for ARC EM with code-density instructions.
  134. </p>
  135. </dd>
  136. <dt><code>em4_fpus</code></dt>
  137. <dd><p>Assemble for ARC EM with code-density instructions.
  138. </p>
  139. </dd>
  140. <dt><code>em4_fpuda</code></dt>
  141. <dd><p>Assemble for ARC EM with code-density, and double-precision assist
  142. instructions.
  143. </p>
  144. </dd>
  145. <dt><code>quarkse_em</code></dt>
  146. <dd><p>Assemble for QuarkSE-EM cpu.
  147. </p>
  148. </dd>
  149. <dt><code>archs</code></dt>
  150. <dd><a name="index-mHS-command_002dline-option_002c-ARC"></a>
  151. <p>Assemble for ARC HS. Aliases: <code>-mHS</code>, <code>-mav2hs</code>.
  152. </p>
  153. </dd>
  154. <dt><code>hs</code></dt>
  155. <dd><p>Assemble for ARC HS.
  156. </p>
  157. </dd>
  158. <dt><code>hs34</code></dt>
  159. <dd><p>Assemble for ARC HS34.
  160. </p>
  161. </dd>
  162. <dt><code>hs38</code></dt>
  163. <dd><p>Assemble for ARC HS38.
  164. </p>
  165. </dd>
  166. <dt><code>hs38_linux</code></dt>
  167. <dd><p>Assemble for ARC HS38 with floating point support on.
  168. </p>
  169. </dd>
  170. <dt><code>nps400</code></dt>
  171. <dd><a name="index-mnps400-command_002dline-option_002c-ARC"></a>
  172. <p>Assemble for ARC 700 with NPS-400 extended instructions.
  173. </p>
  174. </dd>
  175. </dl>
  176. <p>Note: the <code>.cpu</code> directive (see <a href="ARC-Directives.html#ARC-Directives">ARC Directives</a>) can
  177. to be used to select a core variant from within assembly code.
  178. </p>
  179. <a name="index-_002dEB-command_002dline-option_002c-ARC"></a>
  180. </dd>
  181. <dt><code>-EB</code></dt>
  182. <dd><p>This option specifies that the output generated by the assembler should
  183. be marked as being encoded for a big-endian processor.
  184. </p>
  185. <a name="index-_002dEL-command_002dline-option_002c-ARC"></a>
  186. </dd>
  187. <dt><code>-EL</code></dt>
  188. <dd><p>This option specifies that the output generated by the assembler should
  189. be marked as being encoded for a little-endian processor - this is the
  190. default.
  191. </p>
  192. <a name="index-_002dmcode_002ddensity-command_002dline-option_002c-ARC"></a>
  193. </dd>
  194. <dt><code>-mcode-density</code></dt>
  195. <dd><p>This option turns on Code Density instructions. Only valid for ARC EM
  196. processors.
  197. </p>
  198. <a name="index-_002dmrelax-command_002dline-option_002c-ARC"></a>
  199. </dd>
  200. <dt><code>-mrelax</code></dt>
  201. <dd><p>Enable support for assembly-time relaxation. The assembler will
  202. replace a longer version of an instruction with a shorter one,
  203. whenever it is possible.
  204. </p>
  205. <a name="index-_002dmnps400-command_002dline-option_002c-ARC"></a>
  206. </dd>
  207. <dt><code>-mnps400</code></dt>
  208. <dd><p>Enable support for NPS-400 extended instructions.
  209. </p>
  210. <a name="index-_002dmspfp-command_002dline-option_002c-ARC"></a>
  211. </dd>
  212. <dt><code>-mspfp</code></dt>
  213. <dd><p>Enable support for single-precision floating point instructions.
  214. </p>
  215. <a name="index-_002dmdpfp-command_002dline-option_002c-ARC"></a>
  216. </dd>
  217. <dt><code>-mdpfp</code></dt>
  218. <dd><p>Enable support for double-precision floating point instructions.
  219. </p>
  220. <a name="index-_002dmfpuda-command_002dline-option_002c-ARC"></a>
  221. </dd>
  222. <dt><code>-mfpuda</code></dt>
  223. <dd><p>Enable support for double-precision assist floating point instructions.
  224. Only valid for ARC EM processors.
  225. </p>
  226. </dd>
  227. </dl>
  228. <hr>
  229. <div class="header">
  230. <p>
  231. Next: <a href="ARC-Syntax.html#ARC-Syntax" accesskey="n" rel="next">ARC Syntax</a>, Up: <a href="ARC_002dDependent.html#ARC_002dDependent" accesskey="u" rel="up">ARC-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>
  232. </div>
  233. </body>
  234. </html>