I'm trying the "Single Compilation Unit" trick (see http://www.gamesfromwithin.com/articles/0403/000013.htmlfor details) consisting in compiling a single file 'everything.cpp' file wich #include's all source files in the project.
I was expecting to manually obtain kind of a portable /Qipo switch, and also reduced compilation times.
- reduced compilation time (1/3 approx) as expected
- increased execution time (x2 approx) unexpected!
- halved dll size (unexpected!)
- reduced output from vectorizer and autoCPU dispatch (1/10 'remark' lines)
Conclusion: this hack is messing up with the optimization phases.
any help with this issue? maybe some internal compiler limit reached?
Intel C++ Compiler for 32-bit applications, Version 9.0 Build 20050430Z Package ID: W_CC_P_9.0.019
Options: /QaxWNP /O3 /Qipo
Project: ~100 .cpp files, total ~32KLOC