Originally posted by discordian
View Post
Sure. Compilers can do a serious fubar with some vectorization and unrolling, just as you mention. And they can be pretty stupid sometimes.
But my experience with vectorization and unrolling recently seem to land in me in "making it simpler for the compiler to understand".
If the unrolling and vectorization is non-obvious, chance is it's going to do a botched job trying to "fix" it.
Comment