From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3139 invoked by alias); 15 Nov 2012 20:59:05 -0000 Received: (qmail 3131 invoked by uid 22791); 15 Nov 2012 20:59:05 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-wg0-f51.google.com (HELO mail-wg0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Nov 2012 20:58:58 +0000 Received: by mail-wg0-f51.google.com with SMTP id ed3so850148wgb.8 for ; Thu, 15 Nov 2012 12:58:57 -0800 (PST) Received: by 10.216.136.158 with SMTP id w30mr1049163wei.30.1353013137102; Thu, 15 Nov 2012 12:58:57 -0800 (PST) Received: from localhost ([2.26.182.84]) by mx.google.com with ESMTPS id d16sm12614135wiw.8.2012.11.15.12.58.54 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Nov 2012 12:58:56 -0800 (PST) From: Richard Sandiford To: Andrew Pinski Mail-Followup-To: Andrew Pinski ,Steve Ellcey , gcc-patches@gcc.gnu.org, rdsandiford@googlemail.com Cc: Steve Ellcey , gcc-patches@gcc.gnu.org Subject: Re: [patch] Performance patch for MIPS conditional move in expr.c References: <27d19005-b82d-4ecc-a81e-14208937ce0f@EXCHHUB01.MIPS.com> <1352921235.22862.6.camel@ubuntu-sellcey> <1352929552.22862.13.camel@ubuntu-sellcey> Date: Thu, 15 Nov 2012 20:59:00 -0000 In-Reply-To: (Andrew Pinski's message of "Wed, 14 Nov 2012 14:22:33 -0800") Message-ID: <87ip968twz.fsf@talisman.default> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-11/txt/msg01309.txt.bz2 Andrew Pinski writes: > 2012-07-26 Andrew Pinski > > Bug #3261 > * config/mips/mips.md (*mov_on_): > Remove mode check from comparisons. > (*mov_on_): Likewise. > (*mov_on__ne): New pattern to match > when (ne A 0) can be just A. > > * testsuite/gcc.target/mips/movcc-4.c: New testcase. OK, thanks (but remember to remove the internal bug reference :-)). I think this is early enough during stage 3 for the usual target flexibility to apply. Richard