On Wed, Sep 4, 2013 at 9:53 PM, Steven Bosscher <stevenb....@gmail.com> wrote: > > On Wed, Sep 4, 2013 at 10:58 AM, Alexander Monakov wrote: > > Hello, > > > > Could you use the existing facilities instead, such as adjust_priority hook, > > or making the compare-branch insn sequence a SCHED_GROUP? > > > Or a define_bypass?
Hm, I don't think define_bypass would work: it still leaves the scheduler freedom to move the compare up. IMO adjust_priority would be preferable if it allows to achieve the goal. Alexander