gas: documentation for the SPARC %dN and %qN fp registers notation
[deliverable/binutils-gdb.git] / gas / doc / c-sparc.texi
index f482e3a6b6fb510ebb34d76682c60f7532d388af..165790c273a0832d62872649aabd3e9c6637656b 100644 (file)
@@ -253,6 +253,14 @@ can only be accessed as double or quad, and thus only even
 or quad numbered accesses are allowed.  For example, @samp{%f34}
 is a legal floating point register, but @samp{%f35} is not.
 
+Floating point registers accessed as double can also be referred using
+the @samp{%d@var{n}} notation, where @var{n} is even.  Similarly,
+floating point registers accessed as quad can be referred using the
+@samp{%q@var{n}} notation, where @var{n} is a multiple of 4.  For
+example, @samp{%f4} can be denoted as both @samp{%d4} and @samp{%q4}.
+On the other hand, @samp{%f2} can be denoted as @samp{%d2} but not as
+@samp{%q2}.
+
 Certain V9 instructions allow access to ancillary state registers.
 Most simply they can be referred to as @samp{%asr@var{n}} where
 @var{n} can be from 16 to 31.  However, there are some aliases
This page took 0.027969 seconds and 4 git commands to generate.