Comment by Jtarii
2 months ago
Your compiler can vectorise trivial things, once your code gets complicated it will no longer vectorise.
2 months ago
Your compiler can vectorise trivial things, once your code gets complicated it will no longer vectorise.
Once the code is complicated you don't need to make it more complicated lest it becomes unmaintainable.
It really doesn’t take much complexity at all for autovectorisation to fail.