This patch adds support for the hyperprivileged registers %hstick_offset
authorJose E. Marchesi <jose.marchesi@oracle.com>
Wed, 19 Mar 2014 16:43:41 +0000 (16:43 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 19 Mar 2014 16:43:41 +0000 (16:43 +0000)
commitec92c392f7d6b4f43d6191a0d3fa1cd47db9f738
tree7943203015b6e657e004ae47702f4c5751ff705d
parent999bf65c4b277ffc40dc32f377cf99de0f9684b3
This patch adds support for the hyperprivileged registers %hstick_offset
and %hstick_enable to the Sparc assembler.

* config/tc-sparc.c (hpriv_reg_table): Added entries for
%hstick_offset and %hstick_enable.
* doc/c-sparc.texi (Sparc-Regs): Document the %hstick_offset and
%hstick_enable hyperprivileged registers.

* sparc-dis.c (v9_hpriv_reg_names): Names for %hstick_offset and
%hstick_enable added.

* gas/sparc/rdhpr.s: Test rd %hstick_offset and %hstick_enable.
* gas/sparc/rdhpr.d: Likewise.

* gas/sparc/wrhpr.s: Test wr %hstick_offset and %hstick_enable.
* gas/sparc/wrhpr.d: Likewise.
gas/ChangeLog
gas/config/tc-sparc.c
gas/doc/c-sparc.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/sparc/rdhpr.d
gas/testsuite/gas/sparc/rdhpr.s
gas/testsuite/gas/sparc/wrhpr.d
gas/testsuite/gas/sparc/wrhpr.s
opcodes/ChangeLog
opcodes/sparc-dis.c