Re: haifa-sched: Fix problems with cc0 in prune_ready_list

2012-04-11 Thread Vladimir Makarov
On 04/11/2012 10:08 AM, Bernd Schmidt wrote: On 02/10/2012 08:01 PM, Vladimir Makarov wrote: On 02/08/2012 10:01 AM, Bernd Schmidt wrote: We found a scheduler problem while testing Coldfire targets. The prune_ready_list function I introduced doesn't take SCHED_GROUPs into account, which can lea

Re: haifa-sched: Fix problems with cc0 in prune_ready_list

2012-04-11 Thread Bernd Schmidt
On 02/10/2012 08:01 PM, Vladimir Makarov wrote: > On 02/08/2012 10:01 AM, Bernd Schmidt wrote: >> We found a scheduler problem while testing Coldfire targets. The >> prune_ready_list function I introduced doesn't take SCHED_GROUPs into >> account, which can lead to a random insn being scheduled bet

Re: haifa-sched: Fix problems with cc0 in prune_ready_list

2012-02-10 Thread Vladimir Makarov
On 02/08/2012 10:01 AM, Bernd Schmidt wrote: We found a scheduler problem while testing Coldfire targets. The prune_ready_list function I introduced doesn't take SCHED_GROUPs into account, which can lead to a random insn being scheduled between a cc0 setter and user. The patch below fixes it, OK?