This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Modulo-scheduling improvements. Patch 2 of 2.



Andrey Belevantsev <andrey.belevantsev@gmail.com> wrote on 22/06/2007
22:12:39:


>
>
> I'm not an spu expert, so I don't know is it important to schedule the
> decrement or not.  If yes, then the current scheme should be fine,
> otherwise with a normal split maybe the second scheduler will tidy the
> decrement after SMS.
>
> Andrey

If the representation on which SMS is working is not accurate, it
may lead to a sub-optimal scheduling (if the doloop instruction
is split after SMS). Not always the regular scheduling will succeed
to fix this. It is hard to say in which measure this affects the
performance, but it seems preferable to do SMS on a representation
as close as possible to the code to be executed.

Splitting is done before scheduling and SMS. To handle the "doloop"
instruction differently and to split it after SMS doesn't seem
a good option.

Mircea


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]