This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][dbgcnt] New debug counter global_alloc_at_func, global_alloc_at_reg, and make sched_insn work


It has already bootstrapped on ia64.
I'm running the bootstrap & regtest on x86-64.
This is for debugging  and should not affect the code correctness
unless enabled.
Ok if all tests pass ?

2007-06-18  Seongbea Park  <seongbae.park@gmail.com>
           Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>

       * dbgcnt.def (global_alloc_at_func, global_alloc_at_reg):
       New counters.
       * haifa-sched.c (queue_to_ready): Pick the next insn if
       dbgcnt(sched_insn) reaches the limit.
       (choose_ready): New parameter INSN_PTR and new return value.
       (schedule_block): Handle dbgcnt(sched_insn). Handle
       the new return value from choose_ready.
       * global.c (global_aloc): New dbgcnt global_alloc_at_reg.
       (rest_of_handle_global_alloc): New global_alloc_at_func.


-- #pragma ident "Seongbae Park, compiler, http://seongbae.blogspot.com";

Attachment: dbgcnt-sched-insn-global-alloc.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]