Hi all,
I am a user of vs2012, and I found that a simple for loop of C++ program will be optimized to SIMD code in release mode,
I want to compare the efficiency of normal C++ code and the SIMD code, so I need to close the automatic simd optimization.
I have tryed to select the "project- property- c/c++ - code generation- Enable Enhanced Instruction Set- No Enhanced Instructions (/arch:IA32)"
But no use ,the vs2012 will automatic optimization the normal c++ code to simd code in release mode(Through the compiled assembly code),
My os is 64bit, and the cpu is 64bit,
do anyone konw how to close automatic simd optimization? Thanks!