I am trying to avoid auto SIMDization by icpc 11.0 compiler so that I can visualize the speedup due to use of SSE instructions. For my version with SSE I compile my application with -O3 and -xSSE2. For the version without SSE I tried -mia32 flag but the results are still the same. I am using -O2 optimization flag here.
Am I missing something here? Thank in advance for your help.
In 32-bit -mia32 there is no SIMD, so there's no way to turn it on (or off). In SSE compilation with icpc, -no-vec (-no-simd with current compilers) would turn off generation of SIMD in the generated code, as would setting -O1. If you want to stop the use of fast_memcpy and fast_memset and such library functions, there may be another option for that.