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]

Re: Speeding up sched #2


Jeff,

I think this speed up is possibly missing some code set the bit in
the true_dependency_cache if the first dependency added
is a true dependency (i.e. dep_type == 0).

i.e. I think the following lines can be added at the
     the end of of the add_dependency routine.

#ifdef INSN_SCHEDULING
  if ((int)dep_type == 0 && true_dependency_cache)
    SET_BIT (true_dependency_cache[INSN_LUID (insn)], INSN_LUID (elem));
#endif

Graham


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