Question

I see some resources for gcc, but not for Visual Studio.

Anyone have a treasure trove of references, examples and tricks?

Was it helpful?

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:

Inside Auto-Vectorization, 1 of n

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
scroll top