From patchwork Tue Dec 11 18:41:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Speed up gfortran.dg/vect/fast-math-pr38968.f90 testcase Date: Tue, 11 Dec 2012 08:41:06 -0000 From: Jakub Jelinek X-Patchwork-Id: 205291 Message-Id: <20121211184106.GW2315@tucnak.redhat.com> To: Richard Biener Cc: gcc-patches@gcc.gnu.org Hi! Lately this testcase often timesout for me on a busy box, I don't see a point iterating 2000^3 times, with 400^3 it is much faster and I still could reproduce the problem before the corresponding fix and the vectorizer r145171 fix fixed it. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2012-12-11 Jakub Jelinek * gfortran.dg/vect/fast-math-pr38968.f90: Decrease n from 2000 to 400. Jakub --- gcc/testsuite/gfortran.dg/vect/fast-math-pr38968.f90.jj 2011-01-25 18:39:53.000000000 +0100 +++ gcc/testsuite/gfortran.dg/vect/fast-math-pr38968.f90 2012-12-11 16:19:45.222105217 +0100 @@ -7,7 +7,7 @@ program mymatmul implicit none integer, parameter :: kp = 4 - integer, parameter :: n = 2000 + integer, parameter :: n = 400 real(kp), dimension(n,n) :: rr, ri complex(kp), dimension(n,n) :: a,b,c real :: t1, t2