From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22283 invoked by alias); 15 Jul 2010 01:50:31 -0000 Received: (qmail 21928 invoked by uid 48); 15 Jul 2010 01:50:13 -0000 Date: Thu, 15 Jul 2010 01:50:00 -0000 Message-ID: <20100715015013.21927.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/44794] pre- and post-loops should not be unrolled. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "changpeng dot fang at amd dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg01524.txt.bz2 ------- 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