This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question of 2nd instruction scheduling pass
- From: James E Wilson <wilson at specifix dot com>
- To: Ling-hua Tseng <uranus at it dot muds dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 13 Aug 2005 17:24:55 -0700
- Subject: Re: Question of 2nd instruction scheduling pass
- References: <001001c59f89$74c439c0$0201a8c0@uranus>
Ling-hua Tseng wrote:
> Are there any ways to tell GCC that don't group an jump_insn with
> other insns when structural hazard occured?
Probably multiple ways, depending on what exactly the problem is.
I'd suggest using -da -fsched-verbose=2 and looking at the scheduling
info printed in the sched dumps to see what is going on. You should get
a clue to what is wrong there.
You can also try debugging the scheduler code. Grepping for TImode
shows that it is set in schedule_insn in haifa-sched.c, and then you can
work backwards from there to figure out why it doesn't get set in your case.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com