From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8189 invoked by alias); 16 May 2009 12:20:46 -0000 Received: (qmail 8132 invoked by uid 48); 16 May 2009 12:20:26 -0000 Date: Sat, 16 May 2009 12:20:00 -0000 Message-ID: <20090516122026.8131.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/40168] missing unrolling/scalarization/reassoc/free In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jv244 at cam dot ac dot uk" 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: 2009-05/txt/msg01396.txt.bz2 ------- Comment #8 from jv244 at cam dot ac dot uk 2009-05-16 12:20 ------- (In reply to comment #7) > Subject: Re: missing > unrolling/scalarization/reassoc/free so, double good news. First, the unrelated other testcase that speeds up by 30% does this thanks to this patch only. This is a really significant gain since it is a real CP2K run, not a micro-benchmark. Second, the current testcase gets great results, i.e. reproducing the hand-optimized code in efficiency using the unroll parameters and the no-ivopts flag. gfortran -O3 -march=native -ffast-math -funroll-loops -ffree-line-length-200 --param max-completely-peel-times=27 --param max-completely-peeled-insns=2000 -fno-ivopts test.f90 ; ./a.out Sparse: time[s] 0.24001500 New: time[s] 0.22401398 speedup 1.0714287 Glfops 2.8926766 Error: 0.0000000000000000 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40168