do compiler opts for AMD [SOLVED]
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]
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.
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
thx gumpy macdrunken,
it's exactly what i'm looking for but is there something similar for the vc compilers (vc6 + vc2003),
thx
tgar
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.
* Knowledge applies only to 32-bit versions.
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
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
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).
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).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement