[Mesa-dev] i965 global copy propagation fixes

Paul Berry stereotype441 at gmail.com
Thu Aug 15 15:31:30 PDT 2013


On 12 August 2013 13:11, Kenneth Graunke <kenneth at whitecape.org> wrote:

> Hello,
>
> This surprisingly large series fixes bugs in the data flow algorithm
> for copy propagation.  As far as I can tell, there were a myriad of
> issues.  The updated algorithm seems to follow the textbook and
> online materials much more closely.
>
> No Piglit regressions on Ivybridge.
>
> shader-db statistics are more or less a wash:
>
> total instructions in shared programs: 1569184 -> 1569423 (0.02%)
> instructions in affected programs:     44961 -> 45200 (0.53%)
>
> A bunch of things are helped by a small margin, while other things are hurt
> by a small margin (a couple of extra MOVs).  The few hurt shaders I looked
> into appeared to suffer from compute-to-MRF not handling control flow.
> There may be other reasons as well.
>
> I'd still like to land it, though, as the old algorithm seems to be
> pretty broken.
>
>
> --Ken
>

I sent comments on patch 2, 7, and 13.  The remainder are:

Reviewed-by: Paul Berry <stereotype441 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130815/eb6f7ae2/attachment.html>


More information about the mesa-dev mailing list