[Mesa-dev] [PATCH 3/4] i965/fs: Optimize (gl_FrontFacing ? x : y) where x and y are ±1.0.

Matt Turner mattst88 at gmail.com
Tue Jan 13 12:35:47 PST 2015


On Thu, Jan 8, 2015 at 10:59 PM, Matt Turner <mattst88 at gmail.com> wrote:
> total instructions in shared programs: 5886767 -> 5881642 (-0.09%)
> instructions in affected programs:     532199 -> 527074 (-0.96%)
> GAINED:                                9
> LOST:                                  6
> ---

And on Ironlake, we gain a bunch of SIMD16 programs since we would
have otherwise bailed since we were visiting an if-statement.

total instructions in shared programs: 4381625 -> 4378980 (-0.06%)
instructions in affected programs:     426790 -> 424145 (-0.62%)
GAINED:                                186
LOST:                                  0

All the programs gained are in Anomaly-2.


More information about the mesa-dev mailing list