This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Speeding up sched #2
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: Speeding up sched #2
- From: grahams <grahams at rcp dot co dot uk>
- Date: Mon, 25 Oct 1999 22:34:59 +0100
- References: <5374.940141228@upchuck.cygnus.com>
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