From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10598 invoked by alias); 28 Sep 2012 15:32:17 -0000 Received: (qmail 10580 invoked by uid 22791); 28 Sep 2012 15:32:14 -0000 X-SWARE-Spam-Status: No, hits=-5.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_ZJ X-Spam-Check-By: sourceware.org Received: from mail-pb0-f47.google.com (HELO mail-pb0-f47.google.com) (209.85.160.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 28 Sep 2012 15:32:09 +0000 Received: by pbbro12 with SMTP id ro12so5535372pbb.20 for ; Fri, 28 Sep 2012 08:32:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.90.38 with SMTP id bt6mr18269613pab.53.1348846328823; Fri, 28 Sep 2012 08:32:08 -0700 (PDT) Received: by 10.66.20.232 with HTTP; Fri, 28 Sep 2012 08:32:08 -0700 (PDT) In-Reply-To: <20120927182008.GZ1787@tucnak.redhat.com> References: <877grgu0yt.fsf@talisman.home> <3730255.NiV98gQJ1a@polaris> <20120927182008.GZ1787@tucnak.redhat.com> Date: Fri, 28 Sep 2012 15:39:00 -0000 Message-ID: Subject: Re: [PATCH v2, rtl-optimization]: Fix PR54457, [x32] Fail to combine 64bit index + constant From: Uros Bizjak To: Jakub Jelinek Cc: gcc-patches@gcc.gnu.org, Richard Sandiford , Eric Botcazou Content-Type: text/plain; charset=ISO-8859-1 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: 2012-09/txt/msg01906.txt.bz2 On Thu, Sep 27, 2012 at 8:20 PM, Jakub Jelinek wrote: > On Thu, Sep 27, 2012 at 08:04:58PM +0200, Uros Bizjak wrote: >> After some off-line discussion with Richard, attached is v2 of the patch. >> >> 2012-09-27 Uros Bizjak >> >> PR rtl-optimization/54457 >> * simplify-rtx.c (simplify_subreg): >> Simplify (subreg:SI (op:DI ((x:DI) (y:DI)), 0) >> to (op:SI (subreg:SI (x:DI) 0) (subreg:SI (x:DI) 0)). > > Is that a good idea even for WORD_REGISTER_OPERATIONS targets? I have bootstrapped and regtested [1] the patch on alphaev68-pc-linux-gnu, a WORD_REGISTER_OPERATIONS target, and there were no additional failures. [1] http://gcc.gnu.org/ml/gcc-testresults/2012-09/msg02828.html Uros.