nir/peephole_ffma: Be less agressive about fusing multiply-adds
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 23 Mar 2015 21:55:20 +0000 (14:55 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 1 Apr 2015 19:51:04 +0000 (12:51 -0700)
commit7f344721b1a94a6166b53f959ff6b159af3b5f9a
tree7d76ffd620f73a8c8eea6aeea186e28be8668c76
parenta8c8b3b8720bb7ce8ac1cb94815ed36d8c881f66
nir/peephole_ffma: Be less agressive about fusing multiply-adds

shader-db results for fragment shaders on Haswell:
total instructions in shared programs: 4395688 -> 4389623 (-0.14%)
instructions in affected programs:     355876 -> 349811 (-1.70%)
helped:                                1455
HURT:                                  14
GAINED:                                5
LOST:                                  0

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/nir/nir_opt_peephole_ffma.c