This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] MIPS Gas: generating mips16e jrc/jalrc instruction.
David Ung wrote:
>
> latest revised patch attached.
> gas regression ok. ok to comit??
>
> David.
>
> * 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.
Ok.
Thiemo