summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/Makefile.sources
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-04-12 17:40:18 -0700
committerMatt Turner <mattst88@gmail.com>2014-04-15 09:25:11 -0700
commitf34f39330bb41fb0a86930908de10353193a841d (patch)
tree60124c3f1f1955c558b7cfcdc394d072c1ca960b /src/mesa/drivers/dri/i965/Makefile.sources
parent596737ee91cc199a8edff5dc440736471e28f297 (diff)
downloadexternal_mesa3d-f34f39330bb41fb0a86930908de10353193a841d.zip
external_mesa3d-f34f39330bb41fb0a86930908de10353193a841d.tar.gz
external_mesa3d-f34f39330bb41fb0a86930908de10353193a841d.tar.bz2
i965/fs: Reimplement dead_code_elimination().
total instructions in shared programs: 1653399 -> 1651790 (-0.10%) instructions in affected programs: 92157 -> 90548 (-1.75%) GAINED: 2 LOST: 2 Also significantly reduces the number of optimization loop iterations: total loop iterations in shared programs: 39724 -> 31651 (-20.32%) loop iterations in affected programs: 21617 -> 13544 (-37.35%) Including some great pathological cases, like 29 -> 3 in Strike Suit Zero and 24 -> 3 in Dota2. Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/Makefile.sources')
-rw-r--r--src/mesa/drivers/dri/i965/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/Makefile.sources b/src/mesa/drivers/dri/i965/Makefile.sources
index 8205fe9..836c62b 100644
--- a/src/mesa/drivers/dri/i965/Makefile.sources
+++ b/src/mesa/drivers/dri/i965/Makefile.sources
@@ -58,6 +58,7 @@ i965_FILES = \
brw_fs_channel_expressions.cpp \
brw_fs_copy_propagation.cpp \
brw_fs_cse.cpp \
+ brw_fs_dead_code_eliminate.cpp \
brw_fs_fp.cpp \
brw_fs_generator.cpp \
brw_fs_live_variables.cpp \