Originally Posted by MrAlex
Thanks, I already use -O2 and specify -favour:blend just in case. Also for the next build I've included the redistributable (I tried using WIN32_REDIST before but it kept on getting ignored, but has worked this time round). I just listed out all the flags in case anyone was curious. I've managed to compile with PGO fine so far, but I'm attemtping to use Intel's compiler so that I can use -O3 (or -fast) and -arch:SSE3 as well as PGO. But for some reason the ICC has problems with linking the libraries and it's bugging me. I've contacted Intel about it and they're still trying to see why. I can imagine a large speed boost with those improvements.
Well, there is no just in case; the default switches are the default ones
Just saying, they are just useless.
As for ICL, I wouldn't suggest using it for Firefox yet. /O3 is a lot of times buggy so it needs a lot of testing. Also, you better use /Qax which shouldn't limit the CPUs the final executable can run on but should be faster on those CPUs which support that specific SIMD. Plus you can specify various /Qax and the compiler should generate a different codebase for each one. /Qipo is a neat option but compilation might fail since it has a couple of bugs even with 12.1.2.079. You might be interested in this
Just keep using MSVC 2010 for the main build and play around with ICL. I have also started playing with ICL and Firefox, but there are so many problems. Next week or so Intel will release a new update for their compiler which should have a couple important fixes.
PS. Feel free to contact me, I have "some" experience with this stuff and I already build Firefox myself so two people should be better than one Edited by chm44 - 1/26/12 at 7:25am