From patchwork Wed Jun 24 00:50:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 487889 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 C442814031C for ; Wed, 24 Jun 2015 10:50:33 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=B5mOuoVU; 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:date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; q=dns; s=default; b=cR9SktbzHcK7oqTIm qsGkSulbxH6Dw/GquLAc9OT0VgGatuCHQMaEVYk87jiI/wxV8A2iWI134r2dEWnJ 3F/QtdASc52F8UazOtFu+r0fFmgqXWU15zJzXuGRqI/jV/WzHAjOQG16wPZC16vw 2wqgxwCgxA5qDom1qnsFfHvk8A= 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:date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=default; bh=C11la0p9K5LjmTNjAjfiXKt IMSw=; b=B5mOuoVUfayHQ+Mf+hq58dFth2/YymDUFGQCWDUPWTBgOCscmCbacD8 Vy9tAYteg6KeS+LPMSJBtxJEPC2Z+J4wan2ftJK9JpAoWWMCRhPw+0SpXyn/xERS mEDuQdrGYjuadUuYfRPBUwvIfaf4pqKr/m4vV8zNO0bOqwzEde6k= Received: (qmail 119859 invoked by alias); 24 Jun 2015 00:50:22 -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 119841 invoked by uid 89); 24 Jun 2015 00:50:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f178.google.com Received: from mail-pd0-f178.google.com (HELO mail-pd0-f178.google.com) (209.85.192.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 24 Jun 2015 00:50:19 +0000 Received: by pdcu2 with SMTP id u2so18095569pdc.3 for ; Tue, 23 Jun 2015 17:50:18 -0700 (PDT) X-Received: by 10.70.90.133 with SMTP id bw5mr74814816pdb.85.1435107018087; Tue, 23 Jun 2015 17:50:18 -0700 (PDT) Received: from bubble.grove.modra.org (CPE-58-160-155-134.oycza5.sa.bigpond.net.au. [58.160.155.134]) by mx.google.com with ESMTPSA id mp3sm24557728pbc.8.2015.06.23.17.50.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 17:50:17 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id B61A9EA0074; Wed, 24 Jun 2015 10:20:12 +0930 (ACST) Date: Wed, 24 Jun 2015 10:20:12 +0930 From: Alan Modra To: gcc-patches@gcc.gnu.org Cc: David Edelsohn Subject: [RS6000 1/7] Hide insns not needing to be public Message-ID: <20150624005012.GV1723@bubble.grove.modra.org> Mail-Followup-To: gcc-patches@gcc.gnu.org, David Edelsohn References: <20150624004649.GU1723@bubble.grove.modra.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20150624004649.GU1723@bubble.grove.modra.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes * config/rs6000/rs6000.md (addsi3_high, bswaphi2_internal, ashldi3_internal5, ashldi3_internal8): Prefix with '*'. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 6a14ee8..243a151 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -1515,7 +1515,7 @@ addis %0,%1,%v2" [(set_attr "type" "add")]) -(define_insn "addsi3_high" +(define_insn "*addsi3_high" [(set (match_operand:SI 0 "gpc_reg_operand" "=b") (plus:SI (match_operand:SI 1 "gpc_reg_operand" "b") (high:SI (match_operand 2 "" ""))))] @@ -2173,7 +2173,7 @@ operands[1] = force_reg (HImode, operands[1]); }) -(define_insn "bswaphi2_internal" +(define_insn "*bswaphi2_internal" [(set (match_operand:HI 0 "reg_or_mem_operand" "=r,Z,&r") (bswap:HI (match_operand:HI 1 "reg_or_mem_operand" "Z,r,r"))) @@ -5873,7 +5873,7 @@ "rldic %0,%1,%H2,%W3" [(set_attr "type" "shift")]) -(define_insn "ashldi3_internal5" +(define_insn "*ashldi3_internal5" [(set (match_operand:CC 0 "cc_reg_operand" "=x,?y") (compare:CC (and:DI (ashift:DI (match_operand:DI 1 "gpc_reg_operand" "r,r") @@ -5952,7 +5952,7 @@ "rldicr %0,%1,%H2,%S3" [(set_attr "type" "shift")]) -(define_insn "ashldi3_internal8" +(define_insn "*ashldi3_internal8" [(set (match_operand:CC 0 "cc_reg_operand" "=x,?y") (compare:CC (and:DI (ashift:DI (match_operand:DI 1 "gpc_reg_operand" "r,r")