[Mesa-dev] [PATCH] glsl/opt_algebraic: recognize lrp pattern

Matt Turner mattst88 at gmail.com
Sat Nov 9 12:24:02 PST 2013


On Sat, Nov 9, 2013 at 11:39 AM, Jordan Justen
<jordan.l.justen at intel.com> wrote:
> This algebraic optimization recognizes an series of adds and
> multiplies with a particular pattern within the ir which is
> equivalent to a lrp.
>
> shader-db results:
> total instructions in shared programs: 1729161 -> 1718321 (-0.63%)
> instructions in affected programs:     743700 -> 732860 (-1.46%)
> GAINED:                                4
> LOST:                                  41

Why are so many 16-wide programs lost?


More information about the mesa-dev mailing list