Jump to content
  • Advertisement
Sign in to follow this  
Thaligar

do compiler opts for AMD [SOLVED]

This topic is 4798 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

hey, is there a possibility to say the compiler to explicit optimize for AMD/AMD64 compiler, it's only a thought, but every time i look into the optimization tabs i find myself in a exlusivly intel orientated world, is there a chance to say "compiler dude, optimize for AMD64" ;) thx in advance tgar [Edited by - Thaligar on June 29, 2005 2:24:52 AM]

Share this post


Link to post
Share on other sites
Advertisement
if you're using gcc (mingw32 under windows) then this page is what you want. if you're using another compiler i can't help ya there.

Share this post


Link to post
Share on other sites
wow that was fast,
thx gumpy macdrunken,

it's exactly what i'm looking for but is there something similar for the vc compilers (vc6 + vc2003),

thx
tgar

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I don't believe there are options for the VC6 compiler, but the help information for 2003 says that the /G7 option optimizes for Intel Pentium 4 and AMD Athlon processors.

* Knowledge applies only to 32-bit versions.

Share this post


Link to post
Share on other sites
If you are doing something where compiler CPU optimisation matters, I suggest you look at other compilers (besides Microsoft and gcc).

I'm not knocking Microsoft and gcc - they are fine compilers, but neither of them optimises as well as some of the other more specialised ones.

Intel's C compiler may not optimise specifically for AMD chips, but I wonder how well its pentium-4 optimised code works on Athlon - pretty well probably.

Mark

Share this post


Link to post
Share on other sites
Athlons have no SSE.
AthlonXP has SSE, but (afaik) not SSE2 or 3.
Athlon64s have SSE2, and the newest models (Venice/San Diego) have SSE3.

VC doesn't have any options that allow you to explicitly optimize for AMD, so you're probably best with /G7 (or /G6 for Athlons).

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
AFAIK the Intel C++ Compiler 9 has specific support for AMD64 machines.

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!