Add support for sparc pause instruction.
authorDavid S. Miller <davem@redhat.com>
Fri, 27 Apr 2012 18:04:00 +0000 (18:04 +0000)
committerDavid S. Miller <davem@redhat.com>
Fri, 27 Apr 2012 18:04:00 +0000 (18:04 +0000)
commit58004e23c9b5405fa07f4fbf63cc88d5ad710f66
treed140d475f9cb121c231a4ad6cb01d6916d5a7b1b
parentfa66ec5377f31b68ca9554d47166632c6d6d8e37
Add support for sparc pause instruction.

opcodes/

* sparc-opc.c (sparc_opcodes): Add 'wr X, %pause' and 'pause'.
* sparc-dis.c (v9a_asr_reg_names): Add 'pause'.

gas/

* config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
v8pluse, v8plusv, v9e, and v9v.
(v9a_asr_table): Add 'pause'.

gas/testsuite/

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