[google] Add options to pattern match function name for hotness attributes

Jan Hubicka hubicka@ucw.cz
Sat Jun 2 18:11:00 GMT 2012


> Actually Dehao also plans to teach the static predictor to understand
> standard library functions more (e.g IO functions) and add more naming

How this differ from annotating the library?

There are indeed quite some possibilities to do about library calls....

One thing I always wondered about is how to tell predictor that paths containing
heavy IO functions don't need to be really opimized to death, since their execution
time is dominated by the IO...

> based heuristics such as 'error, success, failure, fatal etc).

yeah, this is also mentioned by some branch prediction papers. It is bit kludgy
in nature (i.e. it won't understand programs written in Czech language) but it
is an heuristics after all.

Honza
> 
> thanks,
> 
> David
> 
> > Honza
> >>
> >> thanks,
> >>
> >> David
> >> > Honza



More information about the Gcc-patches mailing list