Automatic loop unrolling?

Automatic loop unrolling?

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.

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

Leave a Comment

Please sign in to add a comment. Not a member? Join today