[patch] MIPS Gas: generating mips16e jrc/jalrc instruction.

Thiemo Seufer ths@networkno.de
Wed Oct 19 15:50:00 GMT 2005


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



More information about the Binutils mailing list