[Mesa-dev] Profile-guides optimizations

Marek Olšák maraeo at gmail.com
Thu Feb 13 23:29:10 UTC 2020


Yeah I guess it reduces instruction cache misses, but then other codepaths
are likely to get more misses.

Does it do anything smarter?

Marek

On Thu., Feb. 13, 2020, 17:52 Dave Airlie, <airlied at gmail.com> wrote:

> On Fri, 14 Feb 2020 at 08:22, Marek Olšák <maraeo at gmail.com> wrote:
> >
> > I wonder what PGO really does other than placing likely/unlikely.
>
> With LTO it can do a lot more, like grouping hot functions into closer
> regions so they avoid TLB misses and faults etc.
>
> Dave.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20200213/557bcba0/attachment.htm>


More information about the mesa-dev mailing list