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: peephole2 and insn question


On Tue, Oct 22, 2002 at 04:51:33PM +0400, Dmitry wrote:
> If I define peephole2 and use 'insn' variable in condition, to which 
> instruction parrern in a sequence 'insn' refers?

I don't remember; I think the first.

Use peep2_next_insn(i), 0 <= i < n, to refer to the
N instructions of the sequence.


r~


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