------- Comment #4 from changpeng dot fang at amd dot com 2010-07-15 01:50
-------
Created an attachment (id=21205)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21205&action=view)
Do not unroll pre and post loops
I did a quick test on polyhedron before and after applying the preliminary
patch. Tests are based on -O3 -fprefetch-loop-arrays -funroll-loops.
timing (s) | size (B)
before after %deduc | before after %deduc
cacacita 14.35 10.88 24.18 | 90715 72843 19.7
gas_dyn 34.68 21.58 37.77 | 149608 100936 32.53
nf 33.91 19.32 43.03 | 139150 83054 40.31
protein 51.35 33.23 35.29 | 163672 122808 24.97
rnflow 60.9 43.28 28.93 | 268784 169152 37.07
test_fpu 52.61 30.35 42.31 | 234045 144285 38.35
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44794