On Fri, 19 Mar 2010, Ian Bolton wrote: > Let's start with sched1 ... > > For our architecture at least, it seems like Richard Earnshaw is > right that sched1 is generally bad when you are using -Os, because > it can increase register pressure and cause extra spill/fill code when > you move independent instructions in between dependent instructions.
Please note that Vladimir Makarov implemented register pressure-aware sched1 for GCC 4.5, activated with -fsched-pressure. I thought I should mention this because your e-mail omits it completely, so it's hard to tell whether you tested it. Best regards, Alexander Monakov