Community
cancel
Showing results for 
Search instead for 
Did you mean: 
xunxun
Beginner
111 Views

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-120604-icc13-sse2-betterpgo.7z



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.
0 Kudos
8 Replies
JenniferJ
Moderator
111 Views

Thank you sharing those instructions.

Did you run any test suite?

Jennifer
xunxun
Beginner
111 Views

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

JenniferJ
Moderator
111 Views

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

xunxun
Beginner
111 Views

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...
ILevi1
Valued Contributor I
111 Views

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?

xunxun
Beginner
111 Views

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_&_Postscript


freebl is a part of security module.
ILevi1
Valued Contributor I
111 Views

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)
xunxun
Beginner
111 Views

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 ... :)
Reply