visual-studioparallel-processingintelsimd

How do I know if a vector function (SIMD) really worked on multiple objects at a time?


I am trying to understand whether my compiler interprets my vector notation as single objects (equivalent to a for loop) or works on multiple data at a time.

Does anyone know how I do it? I have Intel Parallel Studio 2011 installed on Visual Studio 2010.


Solution

  • If in doubt look at the generated code, e.g.

    $ icc -S ... foo.c -o foo.S