Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

s390-Options.html 6.5KB

3 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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>s390 Options (Using as)</title>
  16. <meta name="description" content="s390 Options (Using as)">
  17. <meta name="keywords" content="s390 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="S_002f390_002dDependent.html#S_002f390_002dDependent" rel="up" title="S/390-Dependent">
  25. <link href="s390-Characters.html#s390-Characters" rel="next" title="s390 Characters">
  26. <link href="S_002f390_002dDependent.html#S_002f390_002dDependent" rel="prev" title="S/390-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="s390-Options"></a>
  57. <div class="header">
  58. <p>
  59. Next: <a href="s390-Characters.html#s390-Characters" accesskey="n" rel="next">s390 Characters</a>, Up: <a href="S_002f390_002dDependent.html#S_002f390_002dDependent" accesskey="u" rel="up">S/390-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-21"></a>
  63. <h4 class="subsection">9.41.1 Options</h4>
  64. <a name="index-options-for-s390"></a>
  65. <a name="index-s390-options"></a>
  66. <p>The following table lists all available s390 specific options:
  67. </p>
  68. <dl compact="compact">
  69. <dd><a name="index-_002dm31-option_002c-s390"></a>
  70. <a name="index-_002dm64-option_002c-s390"></a>
  71. </dd>
  72. <dt><code>-m31 | -m64</code></dt>
  73. <dd><p>Select 31- or 64-bit ABI implying a word size of 32- or 64-bit.
  74. </p>
  75. <p>These options are only available with the ELF object file format, and
  76. require that the necessary BFD support has been included (on a 31-bit
  77. platform you must add &ndash;enable-64-bit-bfd on the call to the configure
  78. script to enable 64-bit usage and use s390x as target platform).
  79. </p>
  80. <a name="index-_002dmesa-option_002c-s390"></a>
  81. <a name="index-_002dmzarch-option_002c-s390"></a>
  82. </dd>
  83. <dt><code>-mesa | -mzarch</code></dt>
  84. <dd><p>Select the architecture mode, either the Enterprise System Architecture
  85. (esa) mode or the z/Architecture mode (zarch).
  86. </p>
  87. <p>The 64-bit instructions are only available with the z/Architecture mode.
  88. The combination of &lsquo;<samp>-m64</samp>&rsquo; and &lsquo;<samp>-mesa</samp>&rsquo; results in a warning
  89. message.
  90. </p>
  91. <a name="index-_002dmarch_003d-option_002c-s390"></a>
  92. </dd>
  93. <dt><code>-march=<var>CPU</var></code></dt>
  94. <dd><p>This option specifies the target processor. The following processor names
  95. are recognized:
  96. <code>g5</code> (or <code>arch3</code>),
  97. <code>g6</code>,
  98. <code>z900</code> (or <code>arch5</code>),
  99. <code>z990</code> (or <code>arch6</code>),
  100. <code>z9-109</code>,
  101. <code>z9-ec</code> (or <code>arch7</code>),
  102. <code>z10</code> (or <code>arch8</code>),
  103. <code>z196</code> (or <code>arch9</code>),
  104. <code>zEC12</code> (or <code>arch10</code>),
  105. <code>z13</code> (or <code>arch11</code>),
  106. <code>z14</code> (or <code>arch12</code>), and
  107. <code>z15</code> (or <code>arch13</code>).
  108. </p>
  109. <p>Assembling an instruction that is not supported on the target
  110. processor results in an error message.
  111. </p>
  112. <p>The processor names starting with <code>arch</code> refer to the edition
  113. number in the Principle of Operations manual. They can be used as
  114. alternate processor names and have been added for compatibility with
  115. the IBM XL compiler.
  116. </p>
  117. <p><code>arch3</code>, <code>g5</code> and <code>g6</code> cannot be used with the
  118. &lsquo;<samp>-mzarch</samp>&rsquo; option since the z/Architecture mode is not supported
  119. on these processor levels.
  120. </p>
  121. <p>There is no <code>arch4</code> option supported. <code>arch4</code> matches
  122. <code>-march=arch5 -mesa</code>.
  123. </p>
  124. <a name="index-_002dmregnames-option_002c-s390"></a>
  125. </dd>
  126. <dt><code>-mregnames</code></dt>
  127. <dd><p>Allow symbolic names for registers.
  128. </p>
  129. <a name="index-_002dmno_002dregnames-option_002c-s390"></a>
  130. </dd>
  131. <dt><code>-mno-regnames</code></dt>
  132. <dd><p>Do not allow symbolic names for registers.
  133. </p>
  134. <a name="index-_002dmwarn_002dareg_002dzero-option_002c-s390"></a>
  135. </dd>
  136. <dt><code>-mwarn-areg-zero</code></dt>
  137. <dd><p>Warn whenever the operand for a base or index register has been specified
  138. but evaluates to zero. This can indicate the misuse of general purpose
  139. register 0 as an address register.
  140. </p>
  141. </dd>
  142. </dl>
  143. <hr>
  144. <div class="header">
  145. <p>
  146. Next: <a href="s390-Characters.html#s390-Characters" accesskey="n" rel="next">s390 Characters</a>, Up: <a href="S_002f390_002dDependent.html#S_002f390_002dDependent" accesskey="u" rel="up">S/390-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>
  147. </div>
  148. </body>
  149. </html>