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] rtlopt branch merge part 9 -- loop unrolling&peeling


Hello,

> > your comments apply only for once-rolling loops; while both
> > of them make sense, I am not quite sure this special case is worth
> > bothering at all.
> 
> Pardon?  Isn't once-rolling loops the *entire* purpose
> of peel_loops_completely?  If it's not worth bothering,
> why do we have this code at all?

no; it also makes this:

for (i = 0; i < 4; i++)
  st;

==>
i=0;
st;i++;
st;i++;
st;i++;
st;i++;

Zdenek


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