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

2013-11-15 Thread Jordan Justen
On Fri, Nov 15, 2013 at 7:47 PM, Eric Anholt wrote: > Jordan Justen writes: > >> 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: 1

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

2013-11-15 Thread Eric Anholt
Jordan Justen writes: > 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

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

2013-11-09 Thread Matt Turner
On Sat, Nov 9, 2013 at 11:39 AM, Jordan Justen 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%) > in

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

2013-11-09 Thread Jordan Justen
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%) GAINE