On Thu, Aug 11, 2005 at 08:12:57AM +0800, Ling-hua Tseng wrote: > I used the automata based pipeline description for my ports, > I described the data latency time by `define_insn_reservation', > and I'm trying to insert the "nop" in the hook > TARGET_MACHINE_DEPENDENT_REORG.
It is possible to emit these nops *during* instruction scheduling. See the ia64 port where bundling and nop insertion happens during the second scheduling pass. There are a large number of target hooks involved, all of them containing the substring "SCHED". r~