OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7463e6d
)
i965/vec4: Do CSE, copy propagation, and DCE after opt_vector_float().
author
Matt Turner
<mattst88@gmail.com>
Sat, 20 Dec 2014 21:17:00 +0000
(13:17 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Mon, 29 Dec 2014 18:08:18 +0000
(10:08 -0800)
total instructions in shared programs:
5869005
->
5868220
(-0.01%)
instructions in affected programs: 70208 -> 69423 (-1.12%)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_vec4.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4.cpp
b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index
4a0f512
..
296223c
100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4.cpp
@@
-1798,7
+1798,11
@@
vec4_visitor::run()
OPT(opt_register_coalesce);
} while (progress);
- opt_vector_float();
+ if (opt_vector_float()) {
+ opt_cse();
+ opt_copy_propagation();
+ dead_code_eliminate();
+ }
if (failed)
return false;