Bob Friesenhahn <bfriesen at simple.dallas.tx.us> wrote:

> On Tue, 4 Nov 2008, Joerg Schilling wrote:
> >> There should be no doubt whatsoever that Sun's compiler produces
> >> better code for SPARC.  When comparing GCC with the Sun compiler it is
> >
> > Sun's compiler also does create better code for x86 in nearly all cases.
>
> I shall run a gruelling test to prove/disprove your hypothesis while I 
> am off voting for the leader of our great American nation.  We shall 
> see if your hypothesis is correct.

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 did my tests with clean C and in this case Sun Studio did clearly win.

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)  
       schilling at fokus.fraunhofer.de     (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to