[Mesa-dev] [PATCH 4/5] i965/fs: Try to avoid generating extra MOVs to do saturates.

Kenneth Graunke kenneth at whitecape.org
Wed Apr 11 17:05:46 PDT 2012


On 03/26/2012 01:59 PM, Eric Anholt wrote:
> This change (before the previous two) produced a .23% +/- .11%
> performance improvement in Unigine Tropics at 1024x768 on IVB.
>
> Total instructions: 269270 ->  262649
> 614/2148 programs affected (28.6%)
> 179386 ->  172765 instructions in affected programs (3.7% reduction)
>
> v2: Move some of the logic of finding the instruction that produced
>      the result of an expression tree to a helper.

I like it!  Much nicer having that factored out.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>



More information about the mesa-dev mailing list