This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Defining scheduling resource constraint
> -----Original Message-----
> From: Bernd Schmidt [mailto:bernds@codesourcery.com]
> Sent: 07 November 2012 11:24
> To: Paulo Matos
> Cc: gcc@gcc.gnu.org
> Subject: Re: Defining scheduling resource constraint
>
>
> You can effectively remove it by returning zero if all the insns on the
> ready list would cause a conflict. The scheduler will then force the
> next cycle.
>
Makes sense...
> Seriously, all this exists in c6x.c, you just need to copy that code.
>
>
I understand that I can copy the code. I could even just go ahead and change haifa-sched.c however I am just trying to understand how all these scheduling hooks work and why the docs say something and I was seeing something else.
I am sorry if I was a nuisance. Thanks for your help.
--
Paulo Matos