This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 7/9] MIPS/opcodes: Fix and clean up MIPS16 branch annotation
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: binutils at sourceware dot org, Catherine Moore <clm at codesourcery dot com>, gnu-mips-sgxx at codesourcery dot com
- Date: Sat, 03 Jul 2010 18:02:41 +0100
- Subject: Re: [PATCH 7/9] MIPS/opcodes: Fix and clean up MIPS16 branch annotation
- References: <alpine.DEB.1.10.1007021609170.2824@tp.orcam.me.uk>
"Maciej W. Rozycki" <macro@codesourcery.com> writes:
> 2010-07-02 Maciej W. Rozycki <macro@codesourcery.com>
>
> gas/
> * config/tc-mips.c (nops_for_insn_or_target): Replace
> MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
> MIPS16_INSN_COND_BRANCH.
>
> include/opcode/
> * mips.h (MIPS16_INSN_UNCOND_BRANCH): New macro.
> (MIPS16_INSN_BRANCH): Rename to...
> (MIPS16_INSN_COND_BRANCH): ... this.
>
> opcodes/
> * mips-dis.c (print_mips16_insn_arg): Remove branch instruction
> type and delay slot determination.
> (print_insn_mips16): Extend branch instruction type and delay
> slot determination to cover all instructions.
> * mips16-opc.c (BR): Remove macro.
> (UBR, CBR): New macros.
> (mips16_opcodes): Update branch annotation for "b", "beqz",
> "bnez", "bteqz" and "btnez". Add branch annotation for "jalrc"
> and "jrc".
OK, thanks.
Richard