This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Instruction scheduling
"P. Pavan Kumar" <pavankumar@cse.iitb.ac.in> writes:
> I want to know details of instruction scheduling pass of GCC,
> How sched_deps.c file computes dependencies between instructions.
> Is there any reference papers to understand instruction scheduling.
> I want to know how depencendencies , priorities, cost and reservations are
> computing. How stalls are computing?
It's all based on the entries in the CPU.md file. See the
documentation on how scheduler information should be specified. Also
see the parameter max-sched-ready-insns.
If those don't answer your questions, please try to ask a more
specific question. Thanks.
Ian