On Wed, 5 Nov 2008, Joerg Schilling wrote: > > Be careful when testing. Use clean C code. If you use code that knows too much > of GCC, this is in many cases no longer C, even though Sun Studio may accept > it.
I think that it is pretty "clean" C code. I polish it every day. The C code is extensively tested with a wide variety of vendor C compilers on a wide variety of operating systems. > I did my tests with clean C and in this case Sun Studio did clearly win. >From what I have seen pure floating point arithmetic usually performs better with Sun Studio but GCC has the edge when comes to integer code. This edge appears to be diminishing as Studio 12 patches continue to emerge. I think that the OpenMP implementation provided with Studio 12 runs a little bit smoother on Solaris than GCC's GOMP, but this should not be surprising. Bob ====================================== Bob Friesenhahn bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
