This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question of the DFA scheduler
- From: Richard Henderson <rth at redhat dot com>
- To: Ling-hua Tseng <uranus at it dot muds dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 11 Aug 2005 13:23:45 -0700
- Subject: Re: Question of the DFA scheduler
- References: <000301c59e09$70d79cc0$0201a8c0@uranus>
On Thu, Aug 11, 2005 at 08:12:57AM +0800, Ling-hua Tseng wrote:
> I used the automata based pipeline description for my ports,
> I described the data latency time by `define_insn_reservation',
> and I'm trying to insert the "nop" in the hook
> TARGET_MACHINE_DEPENDENT_REORG.
It is possible to emit these nops *during* instruction scheduling.
See the ia64 port where bundling and nop insertion happens during
the second scheduling pass. There are a large number of target
hooks involved, all of them containing the substring "SCHED".
r~