Support for the sparc %pmcdper privileged register.
authorJose E. Marchesi <jose.marchesi@oracle.com>
Tue, 25 Aug 2015 15:16:34 +0000 (17:16 +0200)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Tue, 25 Aug 2015 15:16:34 +0000 (17:16 +0200)
commit38074311927d012e4cbd28d825878974c9209f77
tree7ab803b01324f35feb7699f5e81eb259fcaa6fd7
parentdfe7f77c4aae3376c175d8af4d477124c8817427
Support for the sparc %pmcdper privileged register.

opcodes/ChangeLog:

2015-08-25  Jose E. Marchesi  <jose.marchesi@oracle.com>

* sparc-dis.c (print_insn_sparc): Handle the privileged register
%pmcdper.

gas/ChangeLog:

2015-08-25  Jose E. Marchesi  <jose.marchesi@oracle.com>

* config/tc-sparc.c (priv_reg_table): New privileged register
%pmcdper.

gas/testsuite/ChangeLog:

2015-08-25  Jose E. Marchesi  <jose.marchesi@oracle.com>

* gas/sparc/wrpr.s: Test writing to the privileged %pmcdper
register.
* gas/sparc/wrpr.d: ...and the expected result.
* gas/sparc/rdpr.s: Test reading from the privileged %pmcdper
register.
* gas/sparc/rdpr.d: ...and the expected result.
gas/ChangeLog
gas/config/tc-sparc.c
gas/testsuite/ChangeLog
gas/testsuite/gas/sparc/rdpr.d
gas/testsuite/gas/sparc/rdpr.s
gas/testsuite/gas/sparc/wrpr.d
gas/testsuite/gas/sparc/wrpr.s
opcodes/ChangeLog
opcodes/sparc-dis.c