Re: add_branch_dependences in sched-rgn.c

2014-04-10 Thread Kyrill Tkachov
On 10/04/14 02:50, Maxim Kuvyrkov wrote: On Apr 9, 2014, at 4:15 AM, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, I'm looking at some curious pre-reload scheduling behaviour and I noticed this: At the add_branch_dependences function sched-rgn.c there is a comment that says branches

Re: add_branch_dependences in sched-rgn.c

2014-04-10 Thread Maxim Kuvyrkov
this: At the add_branch_dependences function sched-rgn.c there is a comment that says branches, calls, uses, clobbers, cc0 setters, and instructions that can throw exceptions should be scheduled at the end of the basic block. However right below it the code that detects this kind of insns seems to only

Re: add_branch_dependences in sched-rgn.c

2014-04-09 Thread Maxim Kuvyrkov
On Apr 9, 2014, at 4:15 AM, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Hi all, I'm looking at some curious pre-reload scheduling behaviour and I noticed this: At the add_branch_dependences function sched-rgn.c there is a comment that says branches, calls, uses, clobbers, cc0 setters

add_branch_dependences in sched-rgn.c

2014-04-08 Thread Kyrill Tkachov
Hi all, I'm looking at some curious pre-reload scheduling behaviour and I noticed this: At the add_branch_dependences function sched-rgn.c there is a comment that says branches, calls, uses, clobbers, cc0 setters, and instructions that can throw exceptions should be scheduled at the end