What resources are there for Loop Vectorization (Manual and Automatic) for Visual Studio?

StackOverflow https://stackoverflow.com/questions/1387642

  •  21-09-2019
  •  | 
  •  

문제

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:

What compilers besides gcc can vectorize code?

UPDATE: The 2012 version reportedly does auto-vectorization now, see:

Inside Auto-Vectorization, 1 of n

다른 팁

Vectorization is not supported by VC++. But, the SSE support is enabled via intrinsics. Please look this MSDN post.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top