From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3546 invoked by alias); 26 Jul 2007 11:06:49 -0000 Received: (qmail 3537 invoked by uid 22791); 26 Jul 2007 11:06:49 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate3.de.ibm.com (HELO mtagate3.de.ibm.com) (195.212.29.152) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 26 Jul 2007 11:06:47 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate3.de.ibm.com (8.13.8/8.13.8) with ESMTP id l6QB6ikr173952 for ; Thu, 26 Jul 2007 11:06:44 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.4) with ESMTP id l6QB6hJk2093300 for ; Thu, 26 Jul 2007 13:06:44 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l6QB6dQW024588 for ; Thu, 26 Jul 2007 13:06:39 +0200 Received: from d12mc102.megacenter.de.ibm.com (d12mc102.megacenter.de.ibm.com [9.149.167.114]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l6QB6dLT024483; Thu, 26 Jul 2007 13:06:39 +0200 In-Reply-To: Subject: Re: [PATCH][Modulo-sched] Avoid SMS when the candidate loop contains INC instruction To: Revital1 Eres Cc: abel@ispras.ru, gcc-patches@gcc.gnu.org, volodyan@gmail.com X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: From: Ayal Zaks Date: Thu, 26 Jul 2007 11:34:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg01901.txt.bz2 Revital1 Eres/Haifa/IBM wrote on 26/07/2007 13:49:21: > Hello, > > We decided to break Patch 1 of 2 into sub-patches and insert them > gradually. (http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01515.html) > > This is the first one which avoids performing SMS when the candidate > loop contains auto-increment instruction. > > The testcase attached is inspired from array_constructor_12.f90 testcase. > > This patch was bootstrapped and tested on ppc64 with -fmodulo-sched > flag. (all languages except Ada) > > :ADDPATCH modulo-sched: > > OK for mainline? > OK, if passes on another platform as well. This is similar to the single_set restriction; we should revisit them both. Ayal. > Thanks, > Revital > > 2007-07-26 Vladimir Yanovsky > > * modulo-sched.c (sms_schedule): Avoid loops which includes > auto-increment instructions. > > * testsuite/gfortran.dg/sms-1.f90: New test. > > [attachment "autoinc_patch.txt" deleted by Ayal Zaks/Haifa/IBM] [attachment > "sms-1.f90.txt" deleted by Ayal Zaks/Haifa/IBM]