ICC vs GCC - Optimization and CPU architecture

Posted by Rayne on Stack Overflow See other posts from Stack Overflow or by Rayne
Published on 2010-03-23T02:46:08Z Indexed on 2010/03/23 2:51 UTC
Read the original article Hit count: 585

Filed under:
|
|
|
|

Hi all,

I'm interested in knowing how GCC differs from Intel's ICC in terms of the optimization levels and catering to specific processor architecture. I'm using GCC 4.1.2 20070626 and ICC v11.1 for Linux.

How does ICC's optimization levels (O1 to O3) differ from GCC, if they differ at all?

The ICC is able to cater specifically to different architectures (IA-32, intel64 and IA-64). I've read that GCC has the -march compiler option which I think is similar, but I can't find a list of the options to use. I'm using Intel Xeon X5570, which is 64-bit. Are there any other GCC compiler options I could use that would cater my applications for 64-bit Intel CPUs?

Thank you.

Regards, Rayne

© Stack Overflow or respective owner

Related posts about gcc

Related posts about icc