rx-elf: sched2 dependency question

Ian Lance Taylor iant@google.com
Tue Sep 28 01:05:00 GMT 2010


DJ Delorie <dj@redhat.com> writes:

> In this example, why isn't insn 117 scheduled before insn 115 ?  What
> is the dependency?  The only thing they have in common is CC, but both
> generate a value which is never used.

I don't see anything in sched-deps.c which prevents using a register for
scheduling dependencies even if there is a REG_UNUSED note.  Perhaps
this is a bug.  Or perhaps I'm missing something.

In the debugger you should be able to use sd_debug_lists to dump all the
dependency information for the insns.

Ian



More information about the Gcc mailing list