This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] microMIPS/GAS: Remove forced 16-bit branch relaxation
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: binutils at sourceware dot org, Chao-ying Fu <fu at mips dot com>, Rich Fuhler <rich at mips dot com>, David Lau <davidlau at mips dot com>, Kevin Mills <kevinm at mips dot com>, Ilie Garbacea <ilie at mips dot com>, Catherine Moore <clm at codesourcery dot com>, Nathan Sidwell <nathan at codesourcery dot com>, Joseph Myers <joseph at codesourcery dot com>
- Date: Sat, 06 Aug 2011 09:52:16 +0100
- Subject: Re: [PATCH] microMIPS/GAS: Remove forced 16-bit branch relaxation
- References: <alpine.DEB.1.10.1108021641440.4083@tp.orcam.me.uk>
"Maciej W. Rozycki" <macro@codesourcery.com> writes:
> 2011-08-02 Maciej W. Rozycki <macro@codesourcery.com>
>
> gas/
> * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Remove forced 16-bit
> branch size information.
> (RELAX_MICROMIPS_U16BIT): Remove macro.
> (RELAX_MICROMIPS_UNCOND): Adjust accordingly.
> (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise.
> (RELAX_MICROMIPS_RELAX32): Likewise.
> (RELAX_MICROMIPS_TOOFAR16): Likewise.
> (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise.
> (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise.
> (RELAX_MICROMIPS_TOOFAR32): Likewise.
> (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise.
> (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise.
> (append_insn): Always check forced_insn_length for microMIPS
> relaxation. Adjust code for the removal of
> RELAX_MICROMIPS_U16BIT.
> (mips_ip) <'D', 'E'>: If forced_insn_length, then emit the
> relocation straight away.
> (relaxed_micromips_16bit_branch_length): Adjust code for the
> removal of RELAX_MICROMIPS_U16BIT.
OK, thanks.
Richard