Sign in to follow this  
Thaligar

do compiler opts for AMD [SOLVED]

Recommended Posts

Thaligar    142
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
Thaligar    142
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   
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
markr    1692
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
Promit    13246
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   
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

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