From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18573 invoked by alias); 18 Aug 2017 21:49:53 -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 18551 invoked by uid 89); 18 Aug 2017 21:49:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy= 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; Fri, 18 Aug 2017 21:49:52 +0000 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v7ILlJ07083929 for ; Fri, 18 Aug 2017 17:49:50 -0400 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ce2uk8re7-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 18 Aug 2017 17:49:50 -0400 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 18 Aug 2017 17:49:49 -0400 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 18 Aug 2017 17:49:46 -0400 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v7ILnj2Z22741054; Fri, 18 Aug 2017 21:49:45 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4A68B28048; Fri, 18 Aug 2017 17:49:39 -0400 (EDT) Received: from [9.85.165.137] (unknown [9.85.165.137]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP id D69862803F; Fri, 18 Aug 2017 17:49:38 -0400 (EDT) Subject: Re: [PATCH, rs6000] 3/3 Add x86 SSE intrinsics to GCC PPC64LE taget From: Steven Munroe Reply-To: munroesj@linux.vnet.ibm.com To: Segher Boessenkool Cc: gcc-patches , David Edelsohn In-Reply-To: <20170817054714.GI13471@gate.crashing.org> References: <1502916655.16102.72.camel@oc7878010663> <20170817054714.GI13471@gate.crashing.org> Content-Type: text/plain; charset="UTF-8" Date: Fri, 18 Aug 2017 23:50:00 -0000 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17081821-0048-0000-0000-000001D5BD8F X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007569; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000223; SDB=6.00904280; UDB=6.00453081; IPR=6.00684492; BA=6.00005539; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00016759; XFM=3.00000015; UTC=2017-08-18 21:49:47 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17081821-0049-0000-0000-000042473EC2 Message-Id: <1503092984.16603.7.camel@oc7878010663> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-08-18_11:,, 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-1707230000 definitions=main-1708180348 X-SW-Source: 2017-08/txt/msg01159.txt.bz2 On Thu, 2017-08-17 at 00:47 -0500, Segher Boessenkool wrote: > On Wed, Aug 16, 2017 at 03:50:55PM -0500, Steven Munroe wrote: > > This it part 3/3 for contributing PPC64LE support for X86 SSE > > instrisics. This patch includes testsuite/gcc.target tests for the > > intrinsics included by xmmintrin.h. > > > +#define CHECK_EXP(UINON_TYPE, VALUE_TYPE, FMT) \ > > Should that be UNION_TYPE? It is spelled 'UINON_TYPE' in ./gcc/testsuite/gcc.target/i386/m128-check.h which the source for the powerpc version. There is no obvious reason why it could not be spelled UNION_TYPE. Unless there is some symbol collision further up the SSE/AVX stack. Bingo: avx512f-helper.h:#define UNION_TYPE(SIZE, NAME) EVAL(union, SIZE, NAME) I propose not to change this.