Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

182 Zeilen
7.5KB

  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>AArch64 Options (Using as)</title>
  16. <meta name="description" content="AArch64 Options (Using as)">
  17. <meta name="keywords" content="AArch64 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="AArch64_002dDependent.html#AArch64_002dDependent" rel="up" title="AArch64-Dependent">
  25. <link href="AArch64-Extensions.html#AArch64-Extensions" rel="next" title="AArch64 Extensions">
  26. <link href="AArch64_002dDependent.html#AArch64_002dDependent" rel="prev" title="AArch64-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="AArch64-Options"></a>
  57. <div class="header">
  58. <p>
  59. Next: <a href="AArch64-Extensions.html#AArch64-Extensions" accesskey="n" rel="next">AArch64 Extensions</a>, Up: <a href="AArch64_002dDependent.html#AArch64_002dDependent" accesskey="u" rel="up">AArch64-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"></a>
  63. <h4 class="subsection">9.1.1 Options</h4>
  64. <a name="index-AArch64-options-_0028none_0029"></a>
  65. <a name="index-options-for-AArch64-_0028none_0029"></a>
  66. <dl compact="compact">
  67. <dd>
  68. <a name="index-_002dEB-command_002dline-option_002c-AArch64"></a>
  69. </dd>
  70. <dt><code>-EB</code></dt>
  71. <dd><p>This option specifies that the output generated by the assembler should
  72. be marked as being encoded for a big-endian processor.
  73. </p>
  74. <a name="index-_002dEL-command_002dline-option_002c-AArch64"></a>
  75. </dd>
  76. <dt><code>-EL</code></dt>
  77. <dd><p>This option specifies that the output generated by the assembler should
  78. be marked as being encoded for a little-endian processor.
  79. </p>
  80. <a name="index-_002dmabi_003d-command_002dline-option_002c-AArch64"></a>
  81. </dd>
  82. <dt><code>-mabi=<var>abi</var></code></dt>
  83. <dd><p>Specify which ABI the source code uses. The recognized arguments
  84. are: <code>ilp32</code> and <code>lp64</code>, which decides the generated object
  85. file in ELF32 and ELF64 format respectively. The default is <code>lp64</code>.
  86. </p>
  87. <a name="index-_002dmcpu_003d-command_002dline-option_002c-AArch64"></a>
  88. </dd>
  89. <dt><code>-mcpu=<var>processor</var>[+<var>extension</var>&hellip;]</code></dt>
  90. <dd><p>This option specifies the target processor. The assembler will issue an error
  91. message if an attempt is made to assemble an instruction which will not execute
  92. on the target processor. The following processor names are recognized:
  93. <code>cortex-a34</code>,
  94. <code>cortex-a35</code>,
  95. <code>cortex-a53</code>,
  96. <code>cortex-a55</code>,
  97. <code>cortex-a57</code>,
  98. <code>cortex-a65</code>,
  99. <code>cortex-a65ae</code>,
  100. <code>cortex-a72</code>,
  101. <code>cortex-a73</code>,
  102. <code>cortex-a75</code>,
  103. <code>cortex-a76</code>,
  104. <code>cortex-a76ae</code>,
  105. <code>cortex-a77</code>,
  106. <code>ares</code>,
  107. <code>exynos-m1</code>,
  108. <code>falkor</code>,
  109. <code>neoverse-n1</code>,
  110. <code>neoverse-v1</code>,
  111. <code>neoverse-e1</code>,
  112. <code>qdf24xx</code>,
  113. <code>saphira</code>,
  114. <code>thunderx</code>,
  115. <code>vulcan</code>,
  116. <code>xgene1</code>
  117. and
  118. <code>xgene2</code>.
  119. The special name <code>all</code> may be used to allow the assembler to accept
  120. instructions valid for any supported processor, including all optional
  121. extensions.
  122. </p>
  123. <p>In addition to the basic instruction set, the assembler can be told to
  124. accept, or restrict, various extension mnemonics that extend the
  125. processor. See <a href="AArch64-Extensions.html#AArch64-Extensions">AArch64 Extensions</a>.
  126. </p>
  127. <p>If some implementations of a particular processor can have an
  128. extension, then then those extensions are automatically enabled.
  129. Consequently, you will not normally have to specify any additional
  130. extensions.
  131. </p>
  132. <a name="index-_002dmarch_003d-command_002dline-option_002c-AArch64"></a>
  133. </dd>
  134. <dt><code>-march=<var>architecture</var>[+<var>extension</var>&hellip;]</code></dt>
  135. <dd><p>This option specifies the target architecture. The assembler will
  136. issue an error message if an attempt is made to assemble an
  137. instruction which will not execute on the target architecture. The
  138. following architecture names are recognized: <code>armv8-a</code>,
  139. <code>armv8.1-a</code>, <code>armv8.2-a</code>, <code>armv8.3-a</code>, <code>armv8.4-a</code>
  140. <code>armv8.5-a</code>, and <code>armv8.6-a</code>.
  141. </p>
  142. <p>If both <samp>-mcpu</samp> and <samp>-march</samp> are specified, the
  143. assembler will use the setting for <samp>-mcpu</samp>. If neither are
  144. specified, the assembler will default to <samp>-mcpu=all</samp>.
  145. </p>
  146. <p>The architecture option can be extended with the same instruction set
  147. extension options as the <samp>-mcpu</samp> option. Unlike
  148. <samp>-mcpu</samp>, extensions are not always enabled by default,
  149. See <a href="AArch64-Extensions.html#AArch64-Extensions">AArch64 Extensions</a>.
  150. </p>
  151. <a name="index-_002dmverbose_002derror-command_002dline-option_002c-AArch64"></a>
  152. </dd>
  153. <dt><code>-mverbose-error</code></dt>
  154. <dd><p>This option enables verbose error messages for AArch64 gas. This option
  155. is enabled by default.
  156. </p>
  157. <a name="index-_002dmno_002dverbose_002derror-command_002dline-option_002c-AArch64"></a>
  158. </dd>
  159. <dt><code>-mno-verbose-error</code></dt>
  160. <dd><p>This option disables verbose error messages in AArch64 gas.
  161. </p>
  162. </dd>
  163. </dl>
  164. <hr>
  165. <div class="header">
  166. <p>
  167. Next: <a href="AArch64-Extensions.html#AArch64-Extensions" accesskey="n" rel="next">AArch64 Extensions</a>, Up: <a href="AArch64_002dDependent.html#AArch64_002dDependent" accesskey="u" rel="up">AArch64-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>
  168. </div>
  169. </body>
  170. </html>