Using Intel C++ Compiler to build Firefox on Windows

Using Intel C++ Compiler to build Firefox on Windows

I have built some Firefox editions using Intel Compiler from Firefox 10.

At present, I think the build process, patches, and some bug workaround methods are very stable, so I have reconstructed my wiki.

Wiki English Edition :

http://code.google.com/p/pcxfirefox/wiki/MozillaBuiltICC

Wiki Chinese Edition :

http://code.google.com/p/pcxfirefox/wiki/MozillaBuiltICC?wl=zh-Hans

Hope this can be useful for the people interested in building Firefox using Intel Compiler on Windows.

Latest Firefox 13 x86 edition using ICC13 is here:

http://pcxfirefox.googlecode.com/files/Firefox-13.0-enUS-pcx-win32-12060...

If you have some problems, you can discuss with me. I won't continue Firefox ICC edition building until I have a strong need because of very much time cost.

Thanks.

Best Regards,
xunxun
9 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Thank you sharing those instructions.

Did you run any test suite?

Jennifer

Quoting Jennifer Jiang (Intel)
Thank you sharing those instructions.

Did you run any test suite?

Jennifer

Here is some test results:

official13 my13 ICC

sunspider 330.8ms +/- 0.7% 284.8ms +/- 1.1%

V8 4803 5084

Kraken 5140.2ms +/- 0.7% 4678.9ms +/- 0.9%

Aquarium 15-16 fps 22-30 fps

Tested on Win7 x64 and Intel Core2 CPU

Best Regards,
xunxun

Doesn't look bad at all.

Another question, I just read your wiki and saw several issues with Intel C++ compiler. Have you reported all the issues yet?

Thanks again!
Jennifer

Quoting Jennifer Jiang (Intel)

Doesn't look bad at all.

Another question, I just read your wiki and saw several issues with Intel C++ compiler. Have you reported all the issues yet?

Thanks again!
Jennifer

I haven't.

Because when I build using IPO&PGO, I usually don't use -Zi (It will cause time long or some build stop if a very many objs), which make me can't debug it.

That is why I can't raise any code change/suggestion for this, and if I report the issue, I don't know how to discribe them...

Best Regards,
xunxun

I just checked your changes to build environment and this doesn't make sense to me:

- OPTIMIZER += -Ox # maximum optimization for freebl
+ OPTIMIZER += -O2 # maximum optimization for freebl

With Intel Compiler /Ox and /O2 produce the same level of optimization. Perhaps you wanted to put /O3?

Regards,
Igor Levicki

Quoting Igor Levicki
I just checked your changes to build environment and this doesn't make sense to me:

- OPTIMIZER += -Ox # maximum optimization for freebl
+ OPTIMIZER += -O2 # maximum optimization for freebl

With Intel Compiler /Ox and /O2 produce the same level of optimization. Perhaps you wanted to put /O3?

Please see my Supplement & Postscript

http://code.google.com/p/pcxfirefox/wiki/MozillaBuiltICC#Supplement_&_Po...

freebl is a part of security module.

Best Regards,
xunxun

I did, I just wanted to say that /Ox and /O2 produce same code with ICC:

/O2 optimize for maximum speed (DEFAULT)
/Ox enable maximum optimizations (same as /O2)

Regards,
Igor Levicki

Quoting Igor Levicki
I did, I just wanted to say that /Ox and /O2 produce same code with ICC:

/O2 optimize for maximum speed (DEFAULT)
/Ox enable maximum optimizations (same as /O2)

Oh, I thought Ox is the same as ICC's O3 ago ...

Changing Ox to O2 is not too bad ... :)

Best Regards,
xunxun

Leave a Comment

Please sign in to add a comment. Not a member? Join today