This is the mail archive of the gcc@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: Does unrolling prevents doloop optimizations?


Hello,

> > > It doesn't seem that the number of iterations analysis from loop-iv.c
> deals
> > > with EQ closing branches.
> >
> > loop-iv works just fine for EQ closing branches.
> >
> 
> Thanks for the clarification (I didn't see EQ in iv_number_of_iterations's
> switch (cond)).

that is because we canonicalize the condition before that to a NE
condition.

Zdenek


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