Some regressions from the dataflow merge

Maxim Kuvyrkov mkuvyrkov@ispras.ru
Fri Jun 15 08:12:00 GMT 2007


Seongbae Park (???, ???) wrote:

...

> I'm looking at it. It is either a scheduler problem,
> or some other problem downstream triggered by the scheduler.
> However, I'm having hard time adding fine-grained dbg_cnt to our scheduler
> - do you know who might be interested in adding insn level
> dbg_cnt in the scheduler ? Current dbg_cnt (sched_insn) causes ICE :(

IMHO, the least intrusive way of using a debug counter in scheduler is 
to place into instruction choosing module and make scheduler to chose 
next instruction at all times.  I have successfully used this technique 
in debugging selective scheduler and believe it will suit haifa 
scheduler perfectly.

I've attached a patch that moves dbg_cnt to choose_ready () routine, but 
at this point have no time to test it for usability (though it compiles 
fine on x86_64).  If the patch won't work please let me know and I'll 
fix it during the weekend.


Regards,

Maxim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sched-dbg-cnt.patch
Type: text/x-patch
Size: 4133 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20070615/bf4beb6c/attachment.bin>


More information about the Gcc mailing list