From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85932 invoked by alias); 7 Dec 2018 16:53:18 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 85917 invoked by uid 89); 7 Dec 2018 16:53:18 -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,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit 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; Fri, 07 Dec 2018 16:53:16 +0000 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wB7Gim4m052597 for ; Fri, 7 Dec 2018 11:53:15 -0500 Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.150]) by mx0b-001b2d01.pphosted.com with ESMTP id 2p7vh48tdk-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 07 Dec 2018 11:53:14 -0500 Received: from localhost by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 7 Dec 2018 16:53:14 -0000 Received: from b03cxnp08028.gho.boulder.ibm.com (9.17.130.20) by e32.co.us.ibm.com (192.168.1.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 7 Dec 2018 16:53:12 -0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id wB7GrBd824313960 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 7 Dec 2018 16:53:11 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 83907BE056; Fri, 7 Dec 2018 16:53:11 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DE1A8BE051; Fri, 7 Dec 2018 16:53:10 +0000 (GMT) Received: from oc3272150783.ibm.com (unknown [9.85.193.94]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTPS; Fri, 7 Dec 2018 16:53:10 +0000 (GMT) To: gcc-patches@gcc.gnu.org, Segher Boessenkool From: Paul Clarke Subject: [PATCH, committed][PR88408][rs6000] mmintrin.h: fix use of "vector" Date: Fri, 07 Dec 2018 16:53:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 x-cbid: 18120716-0004-0000-0000-000014BED659 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010188; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000270; SDB=6.01128367; UDB=6.00586165; IPR=6.00908498; MB=3.00024572; MTD=3.00000008; XFM=3.00000015; UTC=2018-12-07 16:53:13 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18120716-0005-0000-0000-000089C5D4C7 Message-Id: <467fae07-f388-3a11-92cb-bdb0e9c193b2@us.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2018-12/txt/msg00488.txt.bz2 A recent patch inadvertently added the use of "vector" to mmintrin.h when all such uses should be "__vector". Committed as obvious/trivial. [gcc] 2018-12-07 Paul A. Clarke PR target/88408 * config/rs6000/mmintrin.h (_mm_packs_pu16): Correctly use "__vector". Index: gcc/config/rs6000/mmintrin.h =================================================================== --- gcc/config/rs6000/mmintrin.h (revision 266871) +++ gcc/config/rs6000/mmintrin.h (working copy) @@ -228,9 +228,9 @@ _mm_packs_pu16 (__m64 __m1, __m64 __m2) #endif const __vector signed short __zero = { 0 }; __vector __bool short __select = vec_cmplt (vm1, __zero); - r = vec_packs ((vector unsigned short) vm1, (vector unsigned short) vm1); + r = vec_packs ((__vector unsigned short) vm1, (__vector unsigned short) vm1); __vector __bool char packsel = vec_pack (__select, __select); - r = vec_sel (r, (const vector unsigned char) __zero, packsel); + r = vec_sel (r, (const __vector unsigned char) __zero, packsel); return (__m64) ((__vector long long) r)[0]; }