On Fri, Feb 23, 2007 at 07:00:01AM -0800, Ian Lance Taylor wrote: > gcc currently does a relatively crummy job of handling this type of > VLIW architecture. You can describe the dependencies in the > scheduler, but the scheduler won't insert any required nops for you. > The usual approach is walk through the insn chain in the MD reorg pass > and insert nops at that time. For example, look at mips_reorg in > config/mips/mips.c. I've also done it in FINAL_PRESCAN_INSN.
It's possible to insert them during sched2; the ia64 port does this. r~