[PATC] MIPS16/GAS: Permit branch swapping with PC-relative insns

Richard Sandiford rdsandiford@googlemail.com
Thu Aug 11 15:33:00 GMT 2011


"Maciej W. Rozycki" <macro@codesourcery.com> writes:
> On Thu, 11 Aug 2011, Richard Sandiford wrote:
>
>> But that ADDIUPC can't be swapped.  The offset is negative, so you need
>> the extended rather than 2-byte instruction.
>
>  Fair enough, although this was just an ad-hoc illustration.

But you haven't provided a less ad-hoc example that (a) you think
is reasonable code and (b) would benefit from this patch.

Richard



More information about the Binutils mailing list