i965: Emit better code for ir_unop_sign.
authorMatt Turner <mattst88@gmail.com>
Mon, 25 Nov 2013 06:44:32 +0000 (22:44 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 5 Dec 2013 04:05:44 +0000 (20:05 -0800)
commitcbb49cb2f7eafa56f70a59d73f06ccbd974787f4
tree2c9d5a53bff5eec443dd6aa577326d7156545847
parentd30b2ed5f83841531b4c5aa21bde50acad35560a
i965: Emit better code for ir_unop_sign.

total instructions in shared programs: 1550449 -> 1550048 (-0.03%)
instructions in affected programs:     15207 -> 14806 (-2.64%)

Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp