Add support for sparc %cfr ASR register.
authorDavid S. Miller <davem@redhat.com>
Fri, 27 Apr 2012 20:43:35 +0000 (20:43 +0000)
committerDavid S. Miller <davem@redhat.com>
Fri, 27 Apr 2012 20:43:35 +0000 (20:43 +0000)
commit2e52845baf0090fef75f46b7619935f166ad063d
tree4c5d31dd1bb967faff1c0df56ca3168ec84cc2cb
parent22d2b532b8f2de5bd20d70b89a06894a5b9f97b1
Add support for sparc %cfr ASR register.

opcodes/

* sparc-dis.c (v9a_asr_reg_names): Add 'cfr'.
* sparc-opc.c (sparc_opcodes): Add rd/wr cases for %cfr.

gas/

* config/tc-sparc.c (v9a_asr_table): Add 'cfr'.

gas/testsuite/

* gas/sparc/sparc.exp: Run cfr test.
* gas/sparc/cfr.s: New testcase.
* gas/sparc/cfr.d: Likewise.
gas/ChangeLog
gas/config/tc-sparc.c
gas/testsuite/ChangeLog
gas/testsuite/gas/sparc/cfr.d [new file with mode: 0644]
gas/testsuite/gas/sparc/cfr.s [new file with mode: 0644]
gas/testsuite/gas/sparc/sparc.exp
opcodes/ChangeLog
opcodes/sparc-dis.c
opcodes/sparc-opc.c