From patchwork Fri May 27 12:07:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Krebbel X-Patchwork-Id: 627094 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 3rGPsT0Z3Pz9t3Z for ; Fri, 27 May 2016 22:07:32 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=N3MsXr+U; dkim-atps=neutral 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:subject:date:message-id; q=dns; s=default; b=G0IKvIShVelBGG+ w4omU6eHdLM/aQlP3NCqDNw+DzKOhSXa4Z41V2UWivoC2ZJ7fr+IS82dDPpDJXM0 LJw+79wNAByZqIUbi31lzsVW+zSHvpP9yQBq4b2n29pfUNZul06yOOo0ouv9VDxD rvIgD3yebXlBKiUbGiJfWm9zLEN8= 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:subject:date:message-id; s=default; bh=NGVjvyxw+Oh48ZYg1kCs9 qh/NlM=; b=N3MsXr+UmIBjRwL9HbkJh+FX/nAC2yhZyldToYGt1NpydPnwSkxSR 5nYUPQXhfG9ckOknuhXZ/7Ij5Vc8jd0QE6Vn19VcBkFhPgrWX+AJ53k3kHCap/+Y rwSrSUkr+kSSgbhyvMBn6pQkTD7hg2ISYP8OK6WfmLxEdnX4o7bgxw= Received: (qmail 11541 invoked by alias); 27 May 2016 12:07:24 -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 11524 invoked by uid 89); 27 May 2016 12:07:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=D*linux.vnet.ibm.com, match_dup, sk:can_cr, sk:!can_cr X-HELO: e06smtp17.uk.ibm.com Received: from e06smtp17.uk.ibm.com (HELO e06smtp17.uk.ibm.com) (195.75.94.113) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 27 May 2016 12:07:13 +0000 Received: from localhost by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 27 May 2016 13:07:10 +0100 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp17.uk.ibm.com (192.168.101.147) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 27 May 2016 13:07:09 +0100 X-IBM-Helo: d06dlp02.portsmouth.uk.ibm.com X-IBM-MailFrom: krebbel@linux.vnet.ibm.com X-IBM-RcptTo: gcc-patches@gcc.gnu.org Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 8D774219005F for ; Fri, 27 May 2016 13:06:42 +0100 (BST) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u4RC78Et65536082 for ; Fri, 27 May 2016 12:07:08 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u4RC78Ej002161 for ; Fri, 27 May 2016 06:07:08 -0600 Received: from maggie.ibm.com (icon-9-164-128-66.megacenter.de.ibm.com [9.164.128.66]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u4RC7784002151 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=NO) for ; Fri, 27 May 2016 06:07:08 -0600 From: Andreas Krebbel To: gcc-patches@gcc.gnu.org Subject: [Committed] S/390: Replace rtx_equal_p with reg_overlap_mentioned_p in splitter check. Date: Fri, 27 May 2016 14:07:07 +0200 Message-Id: <1464350827-16319-1-git-send-email-krebbel@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16052712-0005-0000-0000-00001A048484 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused X-IsSubscribed: yes gcc/ChangeLog: 2016-05-27 Andreas Krebbel * config/s390/s390.md (2x risbg splitters): Use reg_overlap_mentioned_p instead of rtx_equal_p. --- gcc/ChangeLog | 5 +++++ gcc/config/s390/s390.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fd03e8c..ab4e9e8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-27 Andreas Krebbel + + * config/s390/s390.md (2x risbg splitters): Use + reg_overlap_mentioned_p instead of rtx_equal_p. + 2016-05-27 Kyrylo Tkachov * config/aarch64/aarch64-modes.def (CC_ZESWP, CC_SESWP): Delete. diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index caf8ed5..f8c61a8 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -3926,7 +3926,7 @@ (ashift:GPR (match_dup 3) (match_dup 4))))] { operands[5] = GEN_INT ((1UL << UINTVAL (operands[4])) - 1); - if (rtx_equal_p (operands[0], operands[3])) + if (reg_overlap_mentioned_p (operands[0], operands[3])) { if (!can_create_pseudo_p ()) FAIL; @@ -3954,7 +3954,7 @@ (clobber (reg:CC CC_REGNUM))])] { operands[5] = GEN_INT ((1UL << UINTVAL (operands[4])) - 1); - if (rtx_equal_p (operands[0], operands[3])) + if (reg_overlap_mentioned_p (operands[0], operands[3])) { if (!can_create_pseudo_p ()) FAIL;