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 St开发者_StackOverflow社区udio 2010.
Thanks!!!
If in doubt look at the generated code, e.g.
$ icc -S ... foo.c -o foo.S
精彩评论