This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Scheduler questions (related to PR17808)
Andrey Belevantsev wrote:
Vladimir Makarov wrote:
I'll look at this PR today.
We've looked today at this issue. We think the problem is that
proposed patch of sched_get_condition() treats conditional jumps
likely to COND_EXECs, but it doesn't fix other places in sched-deps,
where COND_EXECs are considered. Maxim Kuvyrkov proposed the attached
patch, which allows gcc to bootstrap on ia64 and fixes the testcase in
PR.
It seems like processing cond-exec was added long ago in 2000 with
keeping Itanium only in mind. But other targets with conditional
execution have other forms of jump insns. So Richard Earnshaw made a
quick fix a year ago.
On the first glance the patch looks ok for me but I am going to
investigate this problem in more details. So probably I'll approve it
on the next week (sorry we have canadian holiday tomorrow).
Vlad