From d7787adda8006506545256547d8d590a282487af Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 8 May 2012 13:01:52 -0700 Subject: i965/fs: Add support for copy propagation. We could do more by handling abs/negate and non-GRF sources, but this is a good start. Improves tropics performance 0.30% +/- .17% (n=43). shader-db results: Total instructions: 208032 -> 207184 60/1246 programs affected (4.8%) 23286 -> 22438 instructions in affected programs (3.6% reduction) Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/Makefile.sources | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/drivers/dri/i965/Makefile.sources') diff --git a/src/mesa/drivers/dri/i965/Makefile.sources b/src/mesa/drivers/dri/i965/Makefile.sources index 961e6ad2f99..2d2e85bfd3a 100644 --- a/src/mesa/drivers/dri/i965/Makefile.sources +++ b/src/mesa/drivers/dri/i965/Makefile.sources @@ -114,6 +114,7 @@ i965_CXX_FILES = \ brw_fs.cpp \ brw_fs_cfg.cpp \ brw_fs_cse.cpp \ + brw_fs_copy_propagation.cpp \ brw_fs_emit.cpp \ brw_fs_live_variables.cpp \ brw_fs_visitor.cpp \ -- cgit v1.2.3