i965/fs: Optimize LRP with x == y into a MOV.
authorMatt Turner <mattst88@gmail.com>
Fri, 10 Jan 2014 04:57:36 +0000 (20:57 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 21 Jan 2014 22:20:44 +0000 (14:20 -0800)
commitbf0773aeca86669371d99eadb928c6dc92d5840a
treeda10136457b189ddc480635cb76fec375755bc9e
parent8d37e9915a3b21b496269a39f677a80a6e02cb2c
i965/fs: Optimize LRP with x == y into a MOV.

total instructions in shared programs: 1487331 -> 1485988 (-0.09%)
instructions in affected programs:     45638 -> 44295 (-2.94%)
GAINED:                                7
LOST:                                  0

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp