commit | 32ae8d3b321185a85b73ff703d8fc26bd5f48fa7 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Sat Mar 10 13:48:42 2012 -0800 |
committer | Eric Anholt <eric@anholt.net> | Wed Apr 11 18:08:21 2012 -0700 |
tree | d26b5636eb9d17c2e5b88b8c9636add8c4745f17 | |
parent | 3bdccbc3e0185fbca16eada2a76f55c6e3f867b5 [diff] |
i965/fs: Try to avoid generating extra MOVs to do saturates. 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.