diff options
author | David S. Miller <davem@redhat.com> | 2012-04-27 18:03:13 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2012-04-27 18:03:13 +0000 |
commit | 698544e152e041de8aaaaeea99f6f3c00ee99604 (patch) | |
tree | 264045c30492ca6144e246820391c0b5cf651a1d /intl | |
parent | 6cda13266f4d767456ccd5ee9f4c8539b463fc0e (diff) | |
download | gdb-698544e152e041de8aaaaeea99f6f3c00ee99604.zip gdb-698544e152e041de8aaaaeea99f6f3c00ee99604.tar.gz gdb-698544e152e041de8aaaaeea99f6f3c00ee99604.tar.bz2 |
Add support for sparc compare-and-branch instructions.
opcodes/
* sparc-opc.c (CBCOND): New define.
(CBCOND_XCC): Likewise.
(cbcond): New helper macro.
(sparc_opcodes): Add compare-and-branch instructions.
gas/
* config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
sparc4, v8pluse, v8plusv, v9e, and v9v.
(sparc_ip): Handle R_SPARC_5 of immediate constants inline in
order to accomodate cbcond which otherwise would require two
relocations to be handled in a single instruction..
gas/testsuite/
* gas/sparc/cbcond.s: New file.
* gas/sparc/cbcond.d: New file.
* gas/sparc/sparc.exp: Run cbcond test.
Diffstat (limited to 'intl')
0 files changed, 0 insertions, 0 deletions