i965/fs: New peephole optimization to flatten IF/BREAK/ENDIF.
authorMatt Turner <mattst88@gmail.com>
Wed, 23 Oct 2013 00:51:28 +0000 (17:51 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 5 Dec 2013 04:05:44 +0000 (20:05 -0800)
commitd30b2ed5f83841531b4c5aa21bde50acad35560a
tree87e3bb4f4f9a8f0df35626cf064befe3264944c6
parent9658b04fc473a9b16ede16b632e4f0b23ae90a70
i965/fs: New peephole optimization to flatten IF/BREAK/ENDIF.

total instructions in shared programs: 1550713 -> 1550449 (-0.02%)
instructions in affected programs:     7931 -> 7667 (-3.33%)

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_peephole_predicated_break.cpp [new file with mode: 0644]