i965/fs: Ignore mov.sat instructions in interference check in sat prop.
authorMatt Turner <mattst88@gmail.com>
Mon, 8 Sep 2014 19:06:49 +0000 (12:06 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 27 Sep 2014 19:18:37 +0000 (12:18 -0700)
commitb9689c6bda8bbebccf8d070646406ab82913f8c0
tree6bdf01ab722e2934af7ea141ebdc3f7e24879d3f
parent82bdb559a160129774d2e2f235cb2b18c907d713
i965/fs: Ignore mov.sat instructions in interference check in sat prop.

When an instruction's result was consumed by multiple mov.sat
instructions, we would decide that we couldn't move the saturate
modifier because something else was using the result, even though it was
just another mov.sat!

total instructions in shared programs: 4275598 -> 4274842 (-0.02%)
instructions in affected programs:     75634 -> 74878 (-1.00%)

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp