Automatic loop unrolling?

Automatic loop unrolling?

lionelk's picture

Hello.

I'm compiling SSE code using the "QxW" and "O3" switches (I'm only interested in P4 code). Does the Intel compiler (v7) automatically unroll loops, or should I do this manually?

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
TimP (Intel)'s picture

Yes, the compiler unrolls automatically, with default optimization levels. More extensive unrolling is performed when appropriate for vectorization.

Login to leave a comment.