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] Make SMS use doloop_condition_get





Richard Henderson <rth@redhat.com> wrote on 03/06/2005 00:31:03:

>
> What I'd prefer is handling other kinds of loops.  What's interesting
> about doloop in the first place?  It's just a specialized form of a
> count-down loop...

I agree that we must make SMS applicable to targets that doesn't support
doloop pattern. To do so we will have to use doloop_valid_p (from
loop-doloop.c) to detect countable loops -- SMS by definitions works only
on countable loops. Then we will have to make changes to the way we
generate prologue and epilogue, and take special care of compare and jump
instructions -- now the compare and jump are in the same instruction.
Currently, I will put some efforts in improving the loop carried memory
dependency information by propagating it (or part of it) from trees to RTL
(look at this http://gcc.gnu.org/ml/gcc/2005-04/msg00461.html)


Mostafa.


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