[PING][Sched/middle-end] Fix selective scheduling failures on power6 [2/3]

Andrey Belevantsev abel@ispras.ru
Wed Oct 22 11:53:00 GMT 2008


Andrey Belevantsev wrote:
> Hello,
> 
> This patch fixes quite rare situation when can_issue_more variable 
> retains incorrect value while switching between the fences.  It is not 
> initialized to issue_rate only when the fence to which we are switching 
> schedules a USE or something similar with INSN_CODE < 0.  This leads to 
> ICE when we try to issue more insns than possible.  Fixed by saving 
> can_issue_more with other fence-dependent data and restored when 
> starting scheduling on a fence.
> 
> The test is reduced from apsi, and I have the same licensing concerns 
> about it.
> 
> OK for trunk?
> Andrey
Same here -- this patch needs a scheduler or middle-end maintainer.

Andrey



More information about the Gcc-patches mailing list