* config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps
authorDavid Ung <davidu@mips.com>
Wed, 19 Oct 2005 18:47:09 +0000 (18:47 +0000)
committerDavid Ung <davidu@mips.com>
Wed, 19 Oct 2005 18:47:09 +0000 (18:47 +0000)
commit290248614c6058e929e4403124d2cc106d130c83
tree7434850e60493dc216ecd6fceb9e3a1a58ee3cd1
parent33c5e3a91d4d2265fc4c8a44210952616680b10b
* config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps
into jrc/jalrc versions if ISA_MIPS32+ and not doing the swap,
hence avoiding to emit a nop.

* gas/mips/mips.exp: Run new test.
* gas/testsuite/gas/mips/mips16e-jrc.s: New test for converting
jalr/jr to the compact jalrc/jrc instructions.
* gas/testsuite/gas/mips/mips16e-jrc.d: New.
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips16e-jrc.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e-jrc.s [new file with mode: 0644]