diff options
author | David S. Miller <davem@redhat.com> | 2012-04-27 18:04:00 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2012-04-27 18:04:00 +0000 |
commit | 58004e23c9b5405fa07f4fbf63cc88d5ad710f66 (patch) | |
tree | d140d475f9cb121c231a4ad6cb01d6916d5a7b1b /opcodes/sparc-dis.c | |
parent | fa66ec5377f31b68ca9554d47166632c6d6d8e37 (diff) | |
download | gdb-58004e23c9b5405fa07f4fbf63cc88d5ad710f66.zip gdb-58004e23c9b5405fa07f4fbf63cc88d5ad710f66.tar.gz gdb-58004e23c9b5405fa07f4fbf63cc88d5ad710f66.tar.bz2 |
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.
Diffstat (limited to 'opcodes/sparc-dis.c')
-rw-r--r-- | opcodes/sparc-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/sparc-dis.c b/opcodes/sparc-dis.c index bda1b0d..7599f89 100644 --- a/opcodes/sparc-dis.c +++ b/opcodes/sparc-dis.c @@ -109,7 +109,7 @@ static char *v9a_asr_reg_names[] = { "pcr", "pic", "dcr", "gsr", "set_softint", "clear_softint", "softint", "tick_cmpr", "stick", "stick_cmpr", "resv26", - "resv27", "cps" + "pause", "cps" }; /* Macros used to extract instruction fields. Not all fields have |