C++ Vectorization Diagnostics

Vectorization is transformation of series of single operations into instructions which perform operations over multiple values simultaneously, by using the so-called “vector operations (or instructions)” – MMX, SSE, AVX etc. (SIMD). Modern C++ compilers do these transformations automatically for speed-optimized builds, however the vectorization can be prevented by various reasons. By default the compiler does…