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.

Zdenek

> One option is for sms to use
> doloop_condition_get/loop-iv analysis in their current form, and if failed
> check (on our own) for reversed doloop patterns. Another is to try and
> reverse the closing branch before calling doloop_condition_get/loop-iv
> analysis; any suitable branch reversal facility available?
> 
> Ayal.


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