From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2630 invoked by alias); 17 May 2011 07:16:08 -0000 Received: (qmail 2621 invoked by uid 22791); 17 May 2011 07:16:07 -0000 X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_50,SUBJ_ALL_CAPS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 May 2011 07:15:53 +0000 Received: (qmail 10784 invoked from network); 17 May 2011 07:15:52 -0000 Received: from unknown (HELO ?192.168.1.68?) (vries@127.0.0.2) by mail.codesourcery.com with ESMTPA; 17 May 2011 07:15:52 -0000 Message-ID: <4DD22085.209@codesourcery.com> Date: Tue, 17 May 2011 08:12:00 -0000 From: Tom de Vries User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Zdenek Dvorak CC: gcc-patches@gcc.gnu.org Subject: [PATCH, PR45098, 2/10] References: <4DD21F6E.4050308@codesourcery.com> In-Reply-To: <4DD21F6E.4050308@codesourcery.com> Content-Type: multipart/mixed; boundary="------------050309050800040005090005" 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: 2011-05/txt/msg01193.txt.bz2 This is a multi-part message in MIME format. --------------050309050800040005090005 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-length: 495 On 05/17/2011 09:10 AM, Tom de Vries wrote: > Hi Zdenek, > > I have a patch set for for PR45098. > > 01_object-size-target.patch > 02_pr45098-rtx-cost-set.patch > 03_pr45098-computation-cost.patch > 04_pr45098-iv-init-cost.patch > 05_pr45098-bound-cost.patch > 06_pr45098-bound-cost.test.patch > 07_pr45098-nowrap-limits-iterations.patch > 08_pr45098-nowrap-limits-iterations.test.patch > 09_pr45098-shift-add-cost.patch > 10_pr45098-shift-add-cost.test.patch > OK for trunk? Thanks, - Tom --------------050309050800040005090005 Content-Type: text/x-patch; name="02_pr45098-rtx-cost-set.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="02_pr45098-rtx-cost-set.patch" Content-length: 546 2011-05-05 Tom de Vries PR target/45098 * tree-ssa-loop-ivopts.c (seq_cost): Fix call to rtx_cost. Index: gcc/tree-ssa-loop-ivopts.c =================================================================== --- gcc/tree-ssa-loop-ivopts.c (revision 173380) +++ gcc/tree-ssa-loop-ivopts.c (working copy) @@ -2745,7 +2745,7 @@ seq_cost (rtx seq, bool speed) { set = single_set (seq); if (set) - cost += rtx_cost (set, SET,speed); + cost += rtx_cost (SET_SRC (set), SET, speed); else cost++; } --------------050309050800040005090005--