From patchwork Mon Dec 17 21:54:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 1014774 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-492689-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="QJrlWfMW"; dkim-atps=neutral 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 43JZgl0zFWz9s8J for ; Tue, 18 Dec 2018 08:54:42 +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:to:cc :from:subject:date:mime-version:message-id:content-type :content-transfer-encoding; q=dns; s=default; b=S69vBOr9ewHOmX/U FwZMgs21ewTlyRu4W3bWcgXLOKORTW/EfStnxwMfBXb6I1HPvnAqY0V5kCyleBR7 kaOLBb+mCgV72WhoRXVWpSpksTGWKBm5giWCgWudL1kwNvqVBRi7ZqgbJgeFtyY4 9kEsWVpNkgH8/6cZZLT1SIj7Ix4= 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:to:cc :from:subject:date:mime-version:message-id:content-type :content-transfer-encoding; s=default; bh=2coLyloJOHCMWSadbG6ITm QxiLc=; b=QJrlWfMWBIsq+SucVJ51qVSC2LnPl82ihf5y4Gyo2qSPfKwgeQWpea 6OoSDH1wOzTe6EbqABjo97imhA0Wlf2ByPot9d2yFRiHKvntXFK/xwvjZ8/qIMEn lY1xa2Dk6bVzD6TAleoRgiuRLBfTaMgpc/53YFsgrGPNCOAR6rvwY= Received: (qmail 88000 invoked by alias); 17 Dec 2018 21:54:36 -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 87976 invoked by uid 89); 17 Dec 2018 21:54:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-12.6 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, HTML_MESSAGE, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=Describe, bullet, H*c:alternative X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Dec 2018 21:54:31 +0000 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wBHLrjDo111354 for ; Mon, 17 Dec 2018 16:54:30 -0500 Received: from e16.ny.us.ibm.com (e16.ny.us.ibm.com [129.33.205.206]) by mx0a-001b2d01.pphosted.com with ESMTP id 2pej10n5wb-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 17 Dec 2018 16:54:30 -0500 Received: from localhost by e16.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 17 Dec 2018 21:54:28 -0000 Received: from b01cxnp23033.gho.pok.ibm.com (9.57.198.28) by e16.ny.us.ibm.com (146.89.104.203) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 17 Dec 2018 21:54:26 -0000 Received: from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com [9.57.199.110]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id wBHLsOo918350194 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 17 Dec 2018 21:54:24 GMT Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3989AAE060; Mon, 17 Dec 2018 21:54:24 +0000 (GMT) Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B6BCFAE062; Mon, 17 Dec 2018 21:54:23 +0000 (GMT) Received: from BigMac.local (unknown [9.85.180.188]) by b01ledav005.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 17 Dec 2018 21:54:23 +0000 (GMT) To: GCC Patches Cc: Segher Boessenkool , uweigand@de.ibm.com From: Bill Schmidt Subject: [PATCH, rs6000] Clarify when typedef names can be used with AltiVec vector types Date: Mon, 17 Dec 2018 15:54:23 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 x-cbid: 18121721-0072-0000-0000-000003DAFC73 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010241; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000271; SDB=6.01133217; UDB=6.00582089; IPR=6.00913386; MB=3.00024723; MTD=3.00000008; XFM=3.00000015; UTC=2018-12-17 21:54:27 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18121721-0073-0000-0000-00004A7B5939 Message-Id: Hi, We recently discovered some incorrect documentation about this topic and agreed it should be changed. This is my attempt to clarify it. Built and verified on powerpc64le-linux-gnu. Is this ok for trunk? Thanks, Bill 2018-12-17 Bill Schmidt * doc/extend.texi (PowerPC Altivec/VSX Built-in Functions): Describe when a typedef name can be used as the type specifier for a vector type, and when it cannot. Index: gcc/doc/extend.texi =================================================================== --- gcc/doc/extend.texi (revision 265974) +++ gcc/doc/extend.texi (working copy) @@ -16229,9 +16229,30 @@ disabled. To use them, you must include @code{