📄 sparc-opts.html
字号:
<html lang="en">
<head>
<title>Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.3">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
</head>
<body>
<div class="node">
<p>
Node:<a name="Sparc-Opts">Sparc-Opts</a>,
Next:<a rel="next" accesskey="n" href="Sparc-Aligned-Data.html#Sparc-Aligned-Data">Sparc-Aligned-Data</a>,
Up:<a rel="up" accesskey="u" href="Sparc-Dependent.html#Sparc-Dependent">Sparc-Dependent</a>
<hr><br>
</div>
<h4 class="section">Options</h4>
<p>The SPARC chip family includes several successive levels, using the same
core instruction set, but including a few additional instructions at
each level. There are exceptions to this however. For details on what
instructions each variant supports, please see the chip's architecture
reference manual.
<p>By default, <code>as</code> assumes the core instruction set (SPARC
v6), but "bumps" the architecture level as needed: it switches to
successively higher architectures as it encounters instructions that
only exist in the higher levels.
<p>If not configured for SPARC v9 (<code>sparc64-*-*</code>) GAS will not bump
passed sparclite by default, an option must be passed to enable the
v9 instructions.
<p>GAS treats sparclite as being compatible with v8, unless an architecture
is explicitly requested. SPARC v9 is always incompatible with sparclite.
<dl>
<dt><code>-Av6 | -Av7 | -Av8 | -Asparclet | -Asparclite</code>
<dd><dt><code>-Av8plus | -Av8plusa | -Av9 | -Av9a</code>
<dd>Use one of the <code>-A</code> options to select one of the SPARC
architectures explicitly. If you select an architecture explicitly,
<code>as</code> reports a fatal error if it encounters an instruction
or feature requiring an incompatible or higher level.
<p><code>-Av8plus</code> and <code>-Av8plusa</code> select a 32 bit environment.
<p><code>-Av9</code> and <code>-Av9a</code> select a 64 bit environment and are not
available unless GAS is explicitly configured with 64 bit environment
support.
<p><code>-Av8plusa</code> and <code>-Av9a</code> enable the SPARC V9 instruction set with
UltraSPARC extensions.
<br><dt><code>-xarch=v8plus | -xarch=v8plusa</code>
<dd>For compatibility with the Solaris v9 assembler. These options are
equivalent to -Av8plus and -Av8plusa, respectively.
<br><dt><code>-bump</code>
<dd>Warn whenever it is necessary to switch to another level.
If an architecture level is explicitly requested, GAS will not issue
warnings until that level is reached, and will then bump the level
as required (except between incompatible levels).
<br><dt><code>-32 | -64</code>
<dd>Select the word size, either 32 bits or 64 bits.
These options are only available with the ELF object file format,
and require that the necessary BFD support has been included.
</dl>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -