i965/fs: Perform CSE on MOV ..., VF instructions.
authorMatt Turner <mattst88@gmail.com>
Thu, 3 Apr 2014 21:29:30 +0000 (14:29 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 6 Dec 2014 00:43:31 +0000 (16:43 -0800)
commita28ad9d4c0d4b95aee8c3b99e9aaa59add21ea9d
tree49297f78e11e5d4058781eb8969fe5d610ebc3eb
parent963a3c7f90672c8d4931606d45e172792caf84ca
i965/fs: Perform CSE on MOV ..., VF instructions.

Safe from causing optimization loops, since we don't constant propagate
VF arguments.

(for this and the previous patch):
total instructions in shared programs: 4289075 -> 4271932 (-0.40%)
instructions in affected programs:     1616779 -> 1599636 (-1.06%)

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_fs_cse.cpp