From patchwork Sat Mar 1 00:23:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 325377 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 F04A22C00B3 for ; Sat, 1 Mar 2014 11:23:46 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:to:cc:date:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=X6F Hk60HW+uHmzEnquDVMT1duwPjcJbUNzqn48qN2UARpN/HyrJiZX/tatY2BNTFQnW d5uRtNeWJ/N2GZVLsf6b+vB30FrTTSUT2JgeAppugkKoWn7LZBb6rmRf/Yz98/mr ILHfADqSxvCI530bEpeLb3536j4p/JQorunxBEG4= 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 :message-id:subject:from:to:cc:date:content-type :content-transfer-encoding:mime-version; s=default; bh=RE+YB6DF4 Vm3knBjylQq1X0SmUE=; b=m8qormXLOmIo+f3UtRMsyRgmlBK28JGplZ/oufGvN 1qwY5afNle+s5HDu/7tpjyQeRaAzDMxf6GB6WOUvrFMVFmp1L3SpwU0Hf0EH/tox Yy9OdewbTUpKwpzYNuBb5jVXzK9OMXKhEOcg1cwtqIzp8RBO5RytiozqMllOTF9b ac= Received: (qmail 2973 invoked by alias); 1 Mar 2014 00:23:39 -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 2964 invoked by uid 89); 1 Mar 2014 00:23:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e28smtp08.in.ibm.com Received: from e28smtp08.in.ibm.com (HELO e28smtp08.in.ibm.com) (122.248.162.8) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 01 Mar 2014 00:23:38 +0000 Received: from /spool/local by e28smtp08.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 1 Mar 2014 05:53:34 +0530 Received: from d28dlp01.in.ibm.com (9.184.220.126) by e28smtp08.in.ibm.com (192.168.1.138) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sat, 1 Mar 2014 05:53:32 +0530 Received: from d28relay02.in.ibm.com (d28relay02.in.ibm.com [9.184.220.59]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id 7D293E0053 for ; Sat, 1 Mar 2014 05:57:07 +0530 (IST) Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay02.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s210NCVC2883856 for ; Sat, 1 Mar 2014 05:53:12 +0530 Received: from d28av01.in.ibm.com (localhost [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s210NVKQ028121 for ; Sat, 1 Mar 2014 05:53:31 +0530 Received: from [9.50.21.169] (dyn9050021169.mts.ibm.com [9.50.21.169] (may be forged)) by d28av01.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s210NT5H028068; Sat, 1 Mar 2014 05:53:30 +0530 Message-ID: <1393633411.3554.87.camel@gnopaine> Subject: [PATCH, rs6000] Document reserved use of "wc" constraint From: Bill Schmidt To: gcc-patches@gcc.gnu.org Cc: dje.gcc@gmail.com Date: Fri, 28 Feb 2014 18:23:31 -0600 Mime-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14030100-2000-0000-0000-00000FF3B0D5 X-IsSubscribed: yes Hi, Hal Finkel requested that we define a constraint for representing individual CR bits. We agreed to reserve "wc" for this purpose to maintain compatibility with LLVM. This patch documents that use. A pro-forma regstrap is in progress. Assuming no problems, is this ok for trunk? Thanks, Bill 2014-02-28 Bill Schmidt * config/rs6000/constraints.md: Document reserved use of "wc". Index: gcc/config/rs6000/constraints.md =================================================================== --- gcc/config/rs6000/constraints.md (revision 208237) +++ gcc/config/rs6000/constraints.md (working copy) @@ -56,6 +56,9 @@ (define_register_constraint "wa" "rs6000_constraints[RS6000_CONSTRAINT_wa]" "Any VSX register if the -mvsx option was used or NO_REGS.") +;; NOTE: For compatibility, "wc" is reserved to represent individual CR bits. +;; It is currently used for that purpose in LLVM. + (define_register_constraint "wd" "rs6000_constraints[RS6000_CONSTRAINT_wd]" "VSX vector register to hold vector double data or NO_REGS.")