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: Big differences on SpecFP results for gcc and icc


Scott Robert Ladd wrote:
> 
> My conclusion is the composite switches like -O2 are good only for
> general-purpose code. Anyone explicitly interested in squeezing out the
> most performance needs to do analysis and use application-specific switches.
> 

Probably this situation is created by the fact that code
transformations are applied based on heuristic functions that were
written, well, in a very artisanal way.

http://www-osl.cs.umass.edu/~cavazos/thesis.ps describes how to
automatize the tuning of heuristic functions based on dynamic feedback
and pattern matching.  The only difficulty remaining to the charge of
the compiler constructor is to effectively characterize the
fingerprints of programs with respect to a given transformation.  Lots
of engineering, and cool speedups...

Sebastian


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