Exactly. You are claiming that icc wins at least 20% speedup compared to gcc's 7% which is a different of 13% - you are claiming that icc is 13% faster and that is your lower bound because the 20% speedup is really "20-25%" according to you and visual studio is 22% + (the plus means "at least")diep wrote:Facts speak for themselves:Don wrote:Vincent tends to be highly opinionated - but he is deal wrong about GCC being horribly slow, etc. Also he tends to use hyperbole to emphasize his points.rbarreira wrote:Vincent if you say GCC sucks on AMD, what is a better compiler for AMD?
Sometimes he is right on the money, but for the most part you have to take what he says with a grain of salt.
Also:
http://developer.amd.com/tools/opensour ... fault.aspx
AMD recognizes that the GNU toolchain plays a critical part in the software development ecosystem, and therefore has been actively contributing to its evolution for over a decade. As far back as 2001, AMD developers and analysts have brought cutting edge code generation and reliability improvements for all x86 platforms to the GCC, glibc, binutils, GDB projects.
We feel strongly about our role, as a part of the greater open source community, to drive the quality and adoption of GCC and other components of the GNU project. AMD maintains close relationships with operating systems and compiler teams at major linux distribution vendors, as well as with GNU tools developers. These collaborations ensure that distributions include relevant GNU toolchain support for AMD platforms and help future-proof software products, and to analyze cutting edge instruction sets.
This is typical of your hyperbole and why you make it difficult to be believed.
I know that Jim Ablett used to compile my binaries using the Intel compiler and he is known to be exceptionally good as squeezing the most from compiles. His compiles on Intel compiler were always a few percent faster than my GCC compiles but it way under 10% and I almost surely did not get the most from GCC, he probably got close to what could be obtained from ICC. We are talking about the GCC compiler BEFORE 4.6.
I knew a kid in school who exaggerated like you do. He rounded everything up or down, whichever made his point the best and he chained all these round-off errors together. He was even worse than you, but if he were in computers he would have been able to claim a 2 to 1 by accumulating round-up errors and applying it to the Intel side! He would go down a list of all things he believed were better on the Intel side and add an exaggerated estimate of each of them to the total. Then if you tried to call him on it he had so much error built in he would give you the benefit of the doubt on a couple of them.
If you actually ran the test you say you did and came up with 25% speedup then I would have to say that probably used the wrong compiler options or did something else wrong and didn't realize it.
GCC has a horrible PGO still. Wins just 7% on intel processors against icc winning 20-25% and visual studio wins 22%+.
Now where GCC 4.7.0 speeded up a lot compared to 4.4 / 4.5 series on intel hardware, i see no visible difference (or it must be somewhere around a 1% or less) between GCC 4.7.0 versus 4.4/4.5 on AMD hardware.
The reason is seemingly GCC prematurely rewrites simple branches to complex vehicles that afterwards do not get considered for the pgo to be optimized. yet this rewrite does slow down GCC on both architectures, AMD and intel, and especially on AMD get hit hard with it.
I'm guessing most bitboarders hardly have those branches.
I'm sure the reason for this is the fact it just wins 7% with pgo. That's very little.
Even AMD's own compiler wins a whopping 30-40% with pgo.
GCC still is the same sabotaged compiler from AMD's viewpoint.
Now that AMD has a massive disadvantage in number of cores versus intel, that would no longer be needed i'd guess for intel to seem faster.
The pgo of ICC wins a whopping 25% for Diep on older K7 for example when using "p3 settings" at a bit older ICC versions.
