diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2015-12-10 11:01:35 -0500 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2015-12-10 11:03:17 -0500 |
commit | 7039122d13ab62045e1cc299fe5b4994aef3ac5f (patch) | |
tree | 8597ba9063bcb657e15afe79aba6a0844fd14029 | |
parent | c2c2a31fdb228d41ce3db62b268efea04bd39c18 (diff) | |
download | gdb-7039122d13ab62045e1cc299fe5b4994aef3ac5f.zip gdb-7039122d13ab62045e1cc299fe5b4994aef3ac5f.tar.gz gdb-7039122d13ab62045e1cc299fe5b4994aef3ac5f.tar.bz2 |
gas: documentation for the SPARC %dN and %qN fp registers notation
gas/ChangeLog:
2015-12-10 Jose E. Marchesi <jose.marchesi@oracle.com>
* doc/c-sparc.texi (Sparc-Regs): Document the %dN and %qN notation
for floating-point registers.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/doc/c-sparc.texi | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 153c693..8b95bdd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2015-12-10 Jose E. Marchesi <jose.marchesi@oracle.com> + + * doc/c-sparc.texi (Sparc-Regs): Document the %dN and %qN notation + for floating-point registers. + 2015-12-10 Matthew Wahab <matthew.wahab@arm.com> * doc/c-aarch64.texi (AArch64 Extensions): Update entry for crc. diff --git a/gas/doc/c-sparc.texi b/gas/doc/c-sparc.texi index f482e3a..165790c 100644 --- a/gas/doc/c-sparc.texi +++ b/gas/doc/c-sparc.texi @@ -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 |