This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: insn field INSN_CODE
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: andrija dot radicevic at zg dot t-com dot hr
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 29 Nov 2006 09:38:45 EST
- Subject: Re: insn field INSN_CODE
- References: <003201c713bc$dad0e0d0$5300a8c0@zg.corp.fgmicrotec.com>
> In the "GCC Internals manual" it is said that the INSN_CODE(i) is printed in
> the debugging output as a small integer followed by a symbolic
> representation that locates the pattern in the md file as a small positive
> or negative offset from the named pattern. Now, I'm a bit confused. The
> following example (a part of an annotated assembler file) says that the
> pattern is muldf3, but what stands the offset 77 for?
>
> ;#(insn 16 543 689 ../../gcc-4.1.0/gcc/libgcc2.c:1624 (set (reg:DF 25 L9 )
> ;# (mult:DF (reg:DF 25 L9 )
> ;# (reg/v:DF 20 L4 [orig:67 c ] [67]))) 77 {muldf3}
> (insn_list:REG_DEP_TRUE 543 (nil))
> ;# (nil))
That's the integer value for the INSN_CODE. If it were, say, 78 and that
pattern had no name, it would be displayed as "78 {muldf3+1}".