PDA

View Full Version : 22% Extra Performance...



4th gen
02-14-2004, 11:14 PM
A friend of mine is doing "Computer Architecture and Design" at uni. His lecturer was talking about compilers to increase CPU performance and he's just forwarded this (http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&group=comp.arch&c2coff=1&selm=a13e403a.0402091438.14018f5a%40posting.google.com) link to me...
Has anyone else done any research into this or got any experience in this area?
Might be interesting

adamp2p
02-14-2004, 11:29 PM
I have a general understanding what a compiler is, but as far as programming computers go, I have very limited knowledge.

Mad Cat
02-14-2004, 11:38 PM
The Intel one probably used SSE and SSE2 that not all AMDs will support, but the FX51 does.

adamp2p
02-14-2004, 11:47 PM
Originally posted by Mad Cat@14 February 2004 - 15:38
The Intel one probably used SSE and SSE2 that not all AMDs will support, but the FX51 does.
AMD supports SSE2 and SSE AFAIK.

Mad Cat
02-14-2004, 11:49 PM
Originally posted by adamp2p+14 February 2004 - 23:47--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (adamp2p @ 14 February 2004 - 23:47)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-Mad Cat@14 February 2004 - 15:38
The Intel one probably used SSE and SSE2 that not all AMDs will support, but the FX51 does.
AMD supports SSE2 and SSE AFAIK. [/b][/quote]
My 2600+ only supports SSE, my FX51 supports SSE and SSE2.
Neither have SSE3.

3RA1N1AC
02-15-2004, 01:10 AM
Originally posted by 4th gen@14 February 2004 - 15:14
A friend of mine is doing "Computer Architecture and Design" at uni. His lecturer was talking about compilers to increase CPU performance and he&#39;s just forwarded this (http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&group=comp.arch&c2coff=1&selm=a13e403a.0402091438.14018f5a%40posting.google.com) link to me...
Has anyone else done any research into this or got any experience in this area?
Might be interesting
in that article it&#39;s not the compiler that&#39;s increasing CPU performance, it&#39;s the programmer who makes the binary program including SSE & SSE2 instructions. the Intel compiler is actually hindering performance on AMD CPUs because it&#39;s creating programs that refuse to run on AMD chips which are fully qualified to use the same instructions as the Intel chips. if Intel would just quit the shenanigans, it wouldn&#39;t be a matter of increase or decrease, but of programs simply taking advantage of what&#39;s available with both brands of chips.

maybe there are compilers which create leaner, more efficient programs than others, but that example you linked is really just a case of one company trying to handicap the other companies&#39; products so that certain features can&#39;t be used.

B_U_B_B_A
02-15-2004, 01:19 AM
the compiler is increasing performance its just its checking what kind of processor its running on first and if its not intel it refuses to compile...the hack gets round this check and allows it to run on the amd chips which show a similar performance increase to an intel...thats my understanding of it anyway

3RA1N1AC
02-15-2004, 02:59 AM
read it again. the compiler doesn&#39;t add SSE/SSE2 instructions to the binaries-- they&#39;re already in there because the programmers put them in the source code. the compiler does not increase performance, the SSE/SSE2 instructions increase performance.

Intel calls it an "Intel Optimizer," but if a program gains precisely 22% on both platforms just because it uses SSE/SSE2, i wouldn&#39;t call that optimization since it isn&#39;t "optimizing" the programs any more for Intel chips than it is for AMD chips. it just adds an artificial "AMD chips don&#39;t get to use SSE/SSE2" flag to the programs.

adamp2p
02-15-2004, 03:42 AM
You can always depend on the Brain Maniac to throw down some knowledge... :P

SciManAl
02-15-2004, 06:04 PM
clear