I see some resources for gcc, but not for Visual Studio.
Anyone have a treasure trove of references, examples and tricks?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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