On Tue, 4 Nov 2008, James Cornell wrote: >> >> With my performance tests, I typically see ~ 30% better performance with code >> compiled with Sun Studio compared to GCC. >> > Jorg, you mean on x86... obviously Bob agreed with SPARC, but it sounds > like you also believe it's good for x86 as well...
There should be no doubt whatsoever that Sun's compiler produces better code for SPARC. When comparing GCC with the Sun compiler it is good to keep in mind that the compilers have different optimization strategies. For example, GCC will inline functions which return a 'struct' but the Sun compiler does not. As a result, applications tuned using GCC may be using constructs which are not efficient for Sun C. Bob ====================================== Bob Friesenhahn bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
