From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19358 invoked by alias); 13 Apr 2007 11:12:52 -0000 Received: (qmail 19345 invoked by uid 22791); 13 Apr 2007 11:12:51 -0000 X-Spam-Check-By: sourceware.org Received: from server.usilu.net (HELO mail.usilu.net) (195.176.178.200) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 13 Apr 2007 12:12:48 +0100 Received: from [192.168.76.141] ([192.168.76.141] RDNS failed) by mail.usilu.net over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 13 Apr 2007 13:12:25 +0200 Message-ID: <461F6599.3060403@lu.unisi.ch> Date: Fri, 13 Apr 2007 13:07:00 -0000 From: Paolo Bonzini Reply-To: bonzini@gnu.org User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: "Fu, Chao-Ying" CC: Richard Sandiford , GCC Development Subject: Re: [MIPS] MADD issue References: <3CB54817FDF733459B230DD27C690CEC03EE8E3F@Exchange.mips.com> In-Reply-To: <3CB54817FDF733459B230DD27C690CEC03EE8E3F@Exchange.mips.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg00459.txt.bz2 > (define_insn "adddi3_internal_1" > [(set (match_operand:DI 0 "register_operand" "=d,&d") > (plus:DI (match_operand:DI 1 "register_operand" "0,d") > (match_operand:DI 2 "register_operand" "d,d"))) > (clobber (match_operand:SI 3 "register_operand" "=d,d"))] > "!TARGET_64BIT && !TARGET_DEBUG_G_MODE && !TARGET_MIPS16" > { > return (REGNO (operands[0]) == REGNO (operands[1]) > && REGNO (operands[0]) == REGNO (operands[2])) > ? "srl\t%3,%L0,31\;sll\t%M0,%M0,1\;sll\t%L0,%L1,1\;addu\t%M0,%M0,%3" > : "addu\t%L0,%L1,%L2\;sltu\t%3,%L0,%L2\;addu\t%M0,%M1,%M2\;addu\t%M0,%M0,%3"; > } This should be a post-reload (i.e. predicated on reload_completed) split, I think. Paolo