This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 7/9] MIPS/opcodes: Fix and clean up MIPS16 branch annotation


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]