This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: insn field INSN_CODE


> 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}".


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