This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/gas ChangeLog config/tc-mips.c testsuite/C ...
- From: macro at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 28 Feb 2011 15:52:26 -0000
- Subject: src/gas ChangeLog config/tc-mips.c testsuite/C ...
CVSROOT: /cvs/src
Module name: src
Changes by: macro@sourceware.org 2011-02-28 15:52:26
Modified files:
gas : ChangeLog
gas/config : tc-mips.c
gas/testsuite : ChangeLog
gas/testsuite/gas/mips: mips.exp relax.d relax.l relax.s
Added files:
gas/testsuite/gas/mips: relax-at.d
Log message:
gas/
* config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
register to use.
(RELAX_BRANCH_UNCOND): Adjust accordingly.
(RELAX_BRANCH_LIKELY): Likewise.
(RELAX_BRANCH_LINK): Likewise.
(RELAX_BRANCH_TOOFAR): Likewise.
(RELAX_BRANCH_AT): New macro.
(append_insn): Encode the temporary register to use in standard
MIPS branch relaxation.
(relaxed_branch_length): Update according to changes to
RELAX_BRANCH_ENCODE.
(md_convert_frag): Use the encoded register as the temporary.
gas/testsuite/
* gas/mips/relax-at.d: New test for branch relaxation with .set
at.
* gas/mips/relax.s: Update to support the new test.
* gas/mips/relax.l: Update accordingly.
* gas/mips/relax.d: Update for multi-arch invocation.
* gas/mips/mips.exp: Run the new test. Adjust to run "relax"
across all applicable architectures.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4416&r2=1.4417
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-mips.c.diff?cvsroot=src&r1=1.458&r2=1.459
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1857&r2=1.1858
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/relax-at.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/mips.exp.diff?cvsroot=src&r1=1.179&r2=1.180
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/relax.d.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/relax.l.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/mips/relax.s.diff?cvsroot=src&r1=1.2&r2=1.3