Is MIPS branch delay insn identification ever used?

cgd@broadcom.com cgd@broadcom.com
Mon Mar 31 18:11:00 GMT 2003
At Mon, 31 Mar 2003 16:45:15 +0000 (UTC), "J. Grant" wrote:
> In mips-dis.c near the end of print_insn_mips(); there are several lines
> related to branching and the instruction type.

Yup.  To arrange thigns so that delay slots instructions are actually
printed (even if they start a series of 2+ nops 8-).


> Is the plan to support some disassembler instruction re-ordering around
> branch instructions?

Not that I know of.  IMO, that would be very, very undesirable in an
actual disassembler.  My view is that you want the disassembler
to... disassemble what's there, not creatively reinterpret it.  8-)

(In something that, say, outputs pseudo code that one could
re-compile, yeah, it seems like a reasonable thing to do... which
sounds like what you're doing.)


Gotta wonder "why do you ask?"


cgd
-- 
Chris Demetriou                                            Broadcom Corporation
Principal Design Engineer                     Broadband Processor Business Unit
  Any opinions expressed in this message are mine, not necessarily Broadcom's.



More information about the Binutils mailing list