I see some resources for gcc, but not for Visual Studio.
Anyone have a treasure trove of references, examples and tricks?
I see some resources for gcc, but not for Visual Studio.
Anyone have a treasure trove of references, examples and tricks?
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:
http://stackoverflow.com/questions/409309/what-compilers-besides-gcc-can-vectorize-code
Vectorization is not supported by VC++. But, the SSE support is enabled via intrinsics. Please look this MSDN post.