From patchwork Wed Jan 18 22:33:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 716869 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 3v3hYL0G12z9sXx for ; Thu, 19 Jan 2017 09:32:20 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="VUmF+DY2"; 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:to:cc :from:subject:date:mime-version:content-type :content-transfer-encoding:message-id; q=dns; s=default; b=wwaqB 1L8h48btYJDxR2qCQsM0w9nm2In2Kp3PvfNechSGLJvFgcwxwdE+MzSlURKtqiD6 U0x50EXeIx+oYu1XrskM2viSSHqR82HHAE9oy39yROCai7lUQ5vSyA09LlvVALjj k/LYS6CPjHpqMAdISl4jqToFFjAGRkUU1cAr9E= 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:content-type :content-transfer-encoding:message-id; s=default; bh=4J8PHXo3O7w FeGO+tYrPhkYq3v4=; b=VUmF+DY2j73khi+13UvFZjOvkuGNN6afK1+f/TRFPyK GCoZm85U5hU/3nSPibQjId8NCcPE1OMjA0n8ziXjfvF1MYqBmHy42JCBNLMk1ldr V1kJQ9HnisFnG+ThXbtUA80G3YeaDAiFBt6oZqTXJfSOX6fizauuG86NTKnXcLv0 = Received: (qmail 9485 invoked by alias); 18 Jan 2017 22:32: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 9472 invoked by uid 89); 18 Jan 2017 22:32:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=393, 7, Bill X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 Jan 2017 22:32:10 +0000 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v0IMSds0133500 for ; Wed, 18 Jan 2017 17:32:09 -0500 Received: from e34.co.us.ibm.com (e34.co.us.ibm.com [32.97.110.152]) by mx0b-001b2d01.pphosted.com with ESMTP id 282f5jvgp8-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Jan 2017 17:32:08 -0500 Received: from localhost by e34.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 18 Jan 2017 15:32:08 -0700 Received: from d03dlp01.boulder.ibm.com (9.17.202.177) by e34.co.us.ibm.com (192.168.1.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 18 Jan 2017 15:32:06 -0700 Received: from b01cxnp22033.gho.pok.ibm.com (b01cxnp22033.gho.pok.ibm.com [9.57.198.23]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 217DA1FF0023; Wed, 18 Jan 2017 15:31:44 -0700 (MST) Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v0IMVwu440108166; Wed, 18 Jan 2017 22:32:05 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 066782803A; Wed, 18 Jan 2017 17:32:05 -0500 (EST) Received: from bigmac.rchland.ibm.com (unknown [9.10.86.122]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP id BA18628046; Wed, 18 Jan 2017 17:32:04 -0500 (EST) To: GCC Patches Cc: Segher Boessenkool , David Edelsohn From: Bill Schmidt Subject: [PATCH, rs6000, committed] Fix PR79040 (built-in typo) Date: Wed, 18 Jan 2017 16:33:02 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17011822-0016-0000-0000-000005E8A49D X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006458; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000199; SDB=6.00809513; UDB=6.00394369; IPR=6.00586870; BA=6.00005072; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00013969; XFM=3.00000011; UTC=2017-01-18 22:32:07 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17011822-0017-0000-0000-0000369C892A Message-Id: <1b487e5d-a5b2-99be-2d99-37f585f01da8@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-01-18_13:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1701180273 X-IsSubscribed: yes Hi, A previous patch mistakenly added a #define of vec_cntlz which should have been a #define of vec_cnttz. This patch fixes that. Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions, committed as obvious. Thanks, Bill 2017-01-18 Bill Schmidt PR target/79040 * config/rs6000/altivec.h: Fix typo of vec_cntlz to vec_cnttz. Index: gcc/config/rs6000/altivec.h =================================================================== --- gcc/config/rs6000/altivec.h (revision 244585) +++ gcc/config/rs6000/altivec.h (working copy) @@ -393,7 +393,7 @@ #ifdef _ARCH_PWR9 /* Vector additions added in ISA 3.0. */ #define vec_vctz __builtin_vec_vctz -#define vec_cntlz __builtin_vec_vctz +#define vec_cnttz __builtin_vec_vctz #define vec_vctzb __builtin_vec_vctzb #define vec_vctzd __builtin_vec_vctzd #define vec_vctzh __builtin_vec_vctzh