summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2012-04-27 18:03:13 +0000
committerDavid S. Miller <davem@redhat.com>2012-04-27 18:03:13 +0000
commitdb9c6c74c26f1cc25786eb6c64a90da2a07aa01a (patch)
tree723f7178251046474c3e0173e893bbae2dfb483c /libiberty
parent160ab99381226b51fcff1cb68c1b1dacd1b39d56 (diff)
downloadgdb-db9c6c74c26f1cc25786eb6c64a90da2a07aa01a.tar.gz
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 'libiberty')
0 files changed, 0 insertions, 0 deletions