This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src gas/ChangeLog gas/config/tc-sparc.c gas/te ...
- From: davem at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 27 Apr 2012 18:03:13 -0000
- Subject: src gas/ChangeLog gas/config/tc-sparc.c gas/te ...
CVSROOT: /cvs/src
Module name: src
Changes by: davem@sourceware.org 2012-04-27 18:03:13
Modified files:
gas : ChangeLog
gas/config : tc-sparc.c
gas/testsuite : ChangeLog
gas/testsuite/gas/sparc: sparc.exp
opcodes : ChangeLog sparc-opc.c
Added files:
gas/testsuite/gas/sparc: cbcond.d cbcond.s
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4707&r2=1.4708
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-sparc.c.diff?cvsroot=src&r1=1.89&r2=1.90
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2020&r2=1.2021
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/cbcond.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/cbcond.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/sparc/sparc.exp.diff?cvsroot=src&r1=1.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/ChangeLog.diff?cvsroot=src&r1=1.1802&r2=1.1803
http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/sparc-opc.c.diff?cvsroot=src&r1=1.25&r2=1.26