This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: peephole2 and insn question
- From: Richard Henderson <rth at redhat dot com>
- To: Dmitry <diwil at eis dot ru>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 22 Oct 2002 11:05:52 -0700
- Subject: Re: peephole2 and insn question
- References: <200210221651.33126.diwil@eis.ru>
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~