From patchwork Mon Dec 8 14:18:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 418707 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C6A151400DD for ; Tue, 9 Dec 2014 01:47:18 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; q=dns; s=default; b=BVYDt6Xo0rzREI3c5Nu wc9aFWW6ZHI1rP71v8ey0u6XFT61tX52GBStDWujPHQBVL7kSjucWy2MlkgNd1hW rb40iCWPZttb7E0oVWNoEsUva92ltVYMGyyZhjDx1lbBqUhXmsLnfJSaoFbz2zTD 3xB2IBM70ZQ3kCQ6Hp7MD2ro= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; s=default; bh=At+j2Sqn6thjL/FiGYxaEEdCu So=; b=mxiUZPfrhRu4ynZGQvAvQdCDy6DVHWNe5kx2PTsBAwP/ziTJXSILA7SM1 U9u/4uEBXDcDkNHxwILq4djG/40pRVfQiDk+NwDzzmU+P67DvXtUrcIjIcZ2SDhE E/IssJQtCtTaI86SgvNGPdZkBHAlx7NPwSvZBxSYHO+UyeW87k= Received: (qmail 24004 invoked by alias); 8 Dec 2014 14:47:12 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 23993 invoked by uid 89); 8 Dec 2014 14:47:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: gcc1-power7.osuosl.org Received: from gcc1-power7.osuosl.org (HELO gcc1-power7.osuosl.org) (140.211.15.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 08 Dec 2014 14:47:10 +0000 Received: from gcc1-power7.osuosl.org (localhost [127.0.0.1]) by gcc1-power7.osuosl.org (8.14.6/8.14.6) with ESMTP id sB8EINon033517; Mon, 8 Dec 2014 06:18:23 -0800 Received: (from segher@localhost) by gcc1-power7.osuosl.org (8.14.6/8.14.6/Submit) id sB8EINJl033443; Mon, 8 Dec 2014 06:18:23 -0800 From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com, Segher Boessenkool Subject: [PATCH 10/10] rs6000: Get rid of the weird decimal thing in add Date: Mon, 8 Dec 2014 06:18:11 -0800 Message-Id: <38fad19542e7162737dab591b93b52871d22e303.1418024189.git.segher@kernel.crashing.org> In-Reply-To: References: In-Reply-To: References: X-IsSubscribed: yes Peter tells me it was an artifact of old versions of the DFP code. The condition can never be false; delete it. 2014-12-08 Segher Boessenkool gcc/ * config/rs6000/rs6000.md (*add3): Remove condition. --- gcc/config/rs6000/rs6000.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index a544e57..6724819 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -1506,7 +1506,7 @@ (define_insn "*add3" [(set (match_operand:GPR 0 "gpc_reg_operand" "=r,r,r") (plus:GPR (match_operand:GPR 1 "gpc_reg_operand" "%r,b,b") (match_operand:GPR 2 "add_operand" "r,I,L")))] - "!DECIMAL_FLOAT_MODE_P (GET_MODE (operands[0])) && !DECIMAL_FLOAT_MODE_P (GET_MODE (operands[1]))" + "" "@ add %0,%1,%2 addi %0,%1,%2