This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Question about the difference between two instruction scheduling passes
- From: "Amker.Cheng" <amker dot cheng at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 19 Aug 2009 22:44:22 +0800
- Subject: Question about the difference between two instruction scheduling passes
Hi all:
I'm currently studying implementation of instruction sched in gcc.
it is possible to schedule insns directly from queue in case
there is nothing better to do and there are still vacant dispatch slots
in the current cycle.
Gcc only does this work in the second pass, but what's the point?
Is it wrong or just not necessary in the first sched pass?
Thanks.
--
Best Regards.