Chris Quenelle <Chris.Quenelle at sun.com> wrote:
> The Sun Studio team has many performance tests we use to make
> sure we continue to deliver a 64-bit x86 compiler that has
> world-class optimization. I can't say anything about your specific
> test case obviously. Is the "mdigest" program a part of some
> widely used benchmark or a commonly used open source application?
The program is a wrapper on the message digest implementation from
FreeBSD/OpenBSD, so it seems to be of general interest. The version I
am talking about was made portable by me, so it may now be used on many
places.
> > Is there a chance that SunStudio will get better optimization for amd64?
>
> I believe our amd64 optimization gets better with each release,
> although the nature of compiler optimization means that there
> will always be some give-and-take between releases in any specific app.
I have another higly optimized piece of code (a reed solomon coder) that is
notably faster when compiled with gcc. In all cases, I see a common tendency:
the 32 bit binary from SunStudio is faster than the one compiled with gcc and
the 64 bit binary is slower compared to the binary produced by gcc.
BTW: the reed solomon coder is the latest version of the only free (OSS)
implementation of a reed solomon coder for CD data sectory.
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
joerg.schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily