i965/fs: Emit a MOV instead of a SEL if the sources are the same.
authorMatt Turner <mattst88@gmail.com>
Mon, 28 Oct 2013 00:09:41 +0000 (17:09 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 5 Dec 2013 04:05:44 +0000 (20:05 -0800)
commit9658b04fc473a9b16ede16b632e4f0b23ae90a70
tree0bd60d94b10837e0a44dc1a71bd59b94e9cd35e5
parent4532cac06a9da527549efb685c6f37ffed24ddbf
i965/fs: Emit a MOV instead of a SEL if the sources are the same.

One program affected.

instructions in affected programs:     436 -> 428 (-1.83%)

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_sel_peephole.cpp