This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: contribution


Toon Moene <moene@knmi.nl> writes:

> Andi Kleen wrote:
> 
> > Alexey Starovoytov <starlex@eng.sun.com> writes:
> 
> >> For example SPECfp benchmark 172.mgrid showed 48% improvement
> >> compiled with "-O2 -Ws,-O2,-fno-strict-aliasing" vs plain GCC 
> >> with "-O2"
> 
> > You could compiled 172.mgrid with gcc twice this way and it showed 
> > 48% improvement ? Or did you use a different compiler as backend? 
> > If you used gcc - is it known where that huge difference comes 
> > from? 
> 
> A more important aspect of such a compiler would be idempotency.
> 
> I.e., is
> 
> 	gcc(gcc(x.c)) = gcc(x.c)
> 
> ?

To be honest I don't believe that he got that result with multiple runs
of gcc. If yes that would be a very bad bug in the optimizer. More likely
it was reached with the proprietary Sun compiler as backend (that would 
make the patch more a porting tool for GNU C programs to Sun C) 

-Andi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]