[Mesa-dev] V7 Loop unrolling in NIR

Jason Ekstrand jason at jlekstrand.net
Mon Dec 19 05:58:53 UTC 2016


On Dec 18, 2016 9:48 PM, "Timothy Arceri" <timothy.arceri at collabora.com>
wrote:

V7:
 - paritally out of ssa in unrolling pass to avoid phis
 - lots of simplification/tidy ups in the analysis pass
 - if_uses bug fix (missing functionality) in lcssa fixed
 - better support for non trivial loop terminators
 - fixed all loop HURT except 1 that is too big to unroll.

total instructions in shared programs: 12584624 -> 12584621 (-0.00%)
instructions in affected programs: 68507 -> 68504 (-0.00%)
helped: 70
HURT: 170

total cycles in shared programs: 241499996 -> 241476226 (-0.01%)
cycles in affected programs: 4060722 -> 4036952 (-0.59%)
helped: 1241
HURT: 1278

total loops in shared programs: 4245 -> 2948 (-30.55%)
loops in affected programs: 1535 -> 238 (-84.50%)
helped: 1142
HURT: 1


That is a *lot* of loops that we were leaving intact for no good reason.
Any idea how many of those were because the glsl pass didn't know what to
do weight them vs. the heuristic subtly changing?


LOST:   26
GAINED: 16
_______________________________________________
mesa-dev mailing list
mesa-dev at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161218/a0177fb5/attachment.html>


More information about the mesa-dev mailing list