Jump to content
  • Advertisement
Sign in to follow this  
Promit

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

This topic is 4969 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
Advertisement

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!