Sign in to follow this  

Will ICC do a better job than GCC on AMD targets?

This topic is 4685 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Specifically, an Athlon (the old kind, Thunderbird core). I'm just wondering if ICC in pentium-pro mode will do a better job than GCC in march=athlon mode. I realize this is a somewhat subjective question, but maybe someone has some insights. It seems to me that the biggest thing is that GCC could potentially use 3DNow! in march=athlon, and ICC couldn't do anything past basic MMX optimizations...but I don't know how likely this is to help in practice.

Share this post


Link to post
Share on other sites

Optimize for P2 with /Qw? (I forget on ICC, for the P2, look at ICC switches that enable MMX) I'd still bet ICC will generate somewhat better code than GCC almost always as it is tuned specifically to X86 (and IA64). Vectorizing sometimes works and sometimes doesn't, it generally does better on P4 optimization. PPro,P2,P3 are very similar, vectorize may or may not help usually it does not match hand optimized code in any case ever. If you need absolute speed recode in 3DNow! and forget it.

GCC is good because it compiles everywhere but it is not as efficient on x86 as iCC is. Have not used GCC in long while though.

Share this post


Link to post
Share on other sites

This topic is 4685 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this