What resources are there for Loop Vectorization (Manual and Automatic) for Visual Studio?
-
21-09-2019 - |
Question
I see some resources for gcc, but not for Visual Studio.
Anyone have a treasure trove of references, examples and tricks?
Solution
I don't think VC++ does loop vectorization. If you want it, you'll probably have to use Intel's compiler. Note that it will plugin to Visual Studio as a drop-in replacement.
Also see this question:
What compilers besides gcc can vectorize code?
UPDATE: The 2012 version reportedly does auto-vectorization now, see:
OTHER TIPS
Vectorization is not supported by VC++. But, the SSE support is enabled via intrinsics. Please look this MSDN post.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow