1 @c Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
2 @c This is part of the GAS manual.
3 @c For copying conditions, see the file as.texinfo.
7 @chapter SPARC Dependent Features
10 @node Machine Dependencies
11 @chapter SPARC Dependent Features
16 * Sparc-Opts:: Options
17 * Sparc-Float:: Floating Point
18 * Sparc-Directives:: Sparc Machine Directives
24 @cindex options for SPARC
26 @cindex architectures, SPARC
27 @cindex SPARC architectures
28 The SPARC chip family includes several successive levels (or other
29 variants) of chip, using the same core instruction set, but including
30 a few additional instructions at each level.
32 By default, @code{@value{AS}} assumes the core instruction set (SPARC
33 v6), but ``bumps'' the architecture level as needed: it switches to
34 successively higher architectures as it encounters instructions that
35 only exist in the higher levels.
43 @item -Av6 | -Av7 | -Av8 | -Av9 | -Asparclite
44 Use one of the @samp{-A} options to select one of the SPARC
45 architectures explicitly. If you select an architecture explicitly,
46 @code{@value{AS}} reports a fatal error if it encounters an instruction
47 or feature requiring a higher level.
50 Permit the assembler to ``bump'' the architecture level as required, but
51 warn whenever it is necessary to switch to another level.
55 @c FIXME: (sparc) Fill in "syntax" section!
57 I don't know anything about Sparc syntax. Someone who does
58 will have to write this section.
62 @section Floating Point
64 @cindex floating point, SPARC (@sc{ieee})
65 @cindex SPARC floating point (@sc{ieee})
66 The Sparc uses @sc{ieee} floating-point numbers.
68 @node Sparc-Directives
69 @section Sparc Machine Directives
71 @cindex SPARC machine directives
72 @cindex machine directives, SPARC
73 The Sparc version of @code{@value{AS}} supports the following additional
77 @cindex @code{align} directive, SPARC
79 This must be followed by the desired alignment in bytes.
81 @cindex @code{common} directive, SPARC
83 This must be followed by a symbol name, a positive number, and
84 @code{"bss"}. This behaves somewhat like @code{.comm}, but the
87 @cindex @code{half} directive, SPARC
89 This is functionally identical to @code{.short}.
91 @cindex @code{proc} directive, SPARC
93 This directive is ignored. Any text following it on the same
96 @cindex @code{reserve} directive, SPARC
98 This must be followed by a symbol name, a positive number, and
99 @code{"bss"}. This behaves somewhat like @code{.lcomm}, but the
102 @cindex @code{seg} directive, SPARC
104 This must be followed by @code{"text"}, @code{"data"}, or
105 @code{"data1"}. It behaves like @code{.text}, @code{.data}, or
108 @cindex @code{skip} directive, SPARC
110 This is functionally identical to the @code{.space} directive.
112 @cindex @code{word} directive, SPARC
114 On the Sparc, the @code{.word} directive produces 32 bit values,
115 instead of the 16 bit values it produces on many other machines.
117 @cindex @code{xword} directive, SPARC
119 On the Sparc V9 processor, the @code{.xword} directive produces