I have some problems with my source code, when I build it with Intel C++ Compiler 11 and Intel C++ Compiler 14. The difference is showed at the table below:
Intel Compiler 11
Intel Compiler 14
Original source (ms)
Optimized source (ms)
+ Original source: I use many variables to store data and calculate on it.
+ Optimized source: I use a struct to store variables on original source and vectorize my calculations. Moreover, I have removed some redundant calculations.
I don't know the reason for this difference between two sources above.
Please help me explain this difference ?