Re: Question about the difference between two instruction scheduling passes

2009-08-19 Thread Alex Turjan
> Gcc only does this work in the second pass, but what's the > point? Is it wrong or just not necessary in the first sched > pass? Regardless of the target architecture from the correctness point of view sched1 can be disabled. sched1 has as purpose shortening live ranges. Short live ranges allo

Re: Question about the difference between two instruction scheduling passes

2009-08-19 Thread Ian Lance Taylor
"Amker.Cheng" writes: >I'm currently studying implementation of instruction sched in gcc. > > it is possible to schedule insns directly from queue in case > there is nothing better to do and there are still vacant dispatch slots > in the current cycle. > > Gcc only does this work in the secon