Re: fix scheduling antideps

2015-12-15 Thread Mike Stump
On Dec 11, 2015, at 1:22 AM, Eric Botcazou wrote: >> This patch allows a target to increase the cost of anti-deps to better >> reflect the actual cost on the machine. > > But it can already do it via the TARGET_SCHED_ADJUST_COST hook, can't it? The undocumented TARGET_SCHED_ADJUST_COST_2 seems a

Re: fix scheduling antideps

2015-12-15 Thread Mike Stump
On Dec 11, 2015, at 6:09 AM, Jeff Law wrote: > On 12/11/2015 02:22 AM, Eric Botcazou wrote: >>> This patch allows a target to increase the cost of anti-deps to better >>> reflect the actual cost on the machine. >> >> But it can already do it via the TARGET_SCHED_ADJUST_COST hook, can't it? > And

Re: fix scheduling antideps

2015-12-11 Thread Jeff Law
On 12/11/2015 02:22 AM, Eric Botcazou wrote: This patch allows a target to increase the cost of anti-deps to better reflect the actual cost on the machine. But it can already do it via the TARGET_SCHED_ADJUST_COST hook, can't it? And can't this be done with define_bypass as well? Jeff

Re: fix scheduling antideps

2015-12-11 Thread Eric Botcazou
> This patch allows a target to increase the cost of anti-deps to better > reflect the actual cost on the machine. But it can already do it via the TARGET_SCHED_ADJUST_COST hook, can't it? -- Eric Botcazou