Question about SMS scheduling windows

Richard Sandiford richard.sandiford@linaro.org
Wed Jul 27 13:34:00 GMT 2011


Richard Sandiford <richard.sandiford@linaro.org> writes:
> I've been looking at SMS, and have a question about get_sched_window.
> When there are previously-scheduled predessors, we use:
>
> 	      if (e->data_type == MEM_DEP)
> 		end = MIN (end, SCHED_TIME (v_node) + ii - 1);
>
> to get an upper bound on the scheduling window that is permitted
> by memory dependencies.  I think this:
>
>     SCHED_TIME (v_node) + ii - 1
>
> is an inclusive bound, in that scheduling the node at that time
> would not break the memory dependence, whereas scheduling at
> SCHED_TIME (v_node) would.  Is that right?

I meant of course "scheduling at SCHED_TIME (v_node) + ii would".

Richard



More information about the Gcc mailing list