[Mesa-dev] [PATCH] radv/ac: enable loop unrolling.

Matt Arsenault arsenm2 at gmail.com
Fri Feb 24 18:20:06 UTC 2017


> On Feb 24, 2017, at 01:45, Marek Olšák <maraeo at gmail.com> wrote:
> 
> The main requirement is that if there is indirect indexing inside a
> loop, we always want to unroll the whole loop to get rid of the
> indexing, which can decrease scratch usage.
> 
> Marek
We boost the unroll thresholds when there is private memory indexed by the induction variable. See AMDGPUTTIImpl::getUnrollingPreferences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170224/7a5430c7/attachment.html>


More information about the mesa-dev mailing list