From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25776 invoked by alias); 13 Oct 2017 13:36:20 -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 25745 invoked by uid 89); 13 Oct 2017 13:36:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-13.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*MI:180 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, 13 Oct 2017 13:36:18 +0000 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v9DDaBJq050896 for ; Fri, 13 Oct 2017 09:36:13 -0400 Received: from e16.ny.us.ibm.com (e16.ny.us.ibm.com [129.33.205.206]) by mx0b-001b2d01.pphosted.com with ESMTP id 2djvef6u51-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 13 Oct 2017 09:36:07 -0400 Received: from localhost by e16.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 13 Oct 2017 09:34:32 -0400 Received: from b01cxnp22033.gho.pok.ibm.com (9.57.198.23) by e16.ny.us.ibm.com (146.89.104.203) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 13 Oct 2017 09:34:30 -0400 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 v9DDYUrL40632480; Fri, 13 Oct 2017 13:34:30 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 904352803D; Fri, 13 Oct 2017 09:34:23 -0400 (EDT) Received: from [9.10.86.107] (unknown [9.10.86.107]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP id 48E762803A; Fri, 13 Oct 2017 09:34:23 -0400 (EDT) Subject: Re: [PATCH, rs6000] GIMPLE folding for vector compares From: Will Schmidt Reply-To: will_schmidt@vnet.ibm.com To: Segher Boessenkool Cc: GCC Patches , Richard Biener , Bill Schmidt , David Edelsohn In-Reply-To: <20171013030522.GX4406@gate.crashing.org> References: <1507838592.26707.177.camel@brimstone.rchland.ibm.com> <20171013030522.GX4406@gate.crashing.org> Content-Type: text/plain; charset="UTF-8" Date: Fri, 13 Oct 2017 13:37:00 -0000 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17101313-0024-0000-0000-000002E27BD8 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007891; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000236; SDB=6.00930561; UDB=6.00468451; IPR=6.00710827; BA=6.00005636; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00017525; XFM=3.00000015; UTC=2017-10-13 13:34:32 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17101313-0025-0000-0000-000045B7F2AB Message-Id: <1507901669.26707.180.camel@brimstone.rchland.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-10-13_04:,, 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-1710130188 X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00862.txt.bz2 On Thu, 2017-10-12 at 22:05 -0500, Segher Boessenkool wrote: > > diff --git a/gcc/config/rs6000/vsx.md b/gcc/config/rs6000/vsx.md > > > +;; Vector Compare Not Equal Byte (specified/not+eq:) > > +(define_insn "vcmpneb_spec" > > + [(set (match_operand:V16QI 0 "altivec_register_operand" "=v") > > + (not:V16QI > > + (eq:V16QI (match_operand:V16QI 1 "altivec_register_operand" > "v") > > + (match_operand:V16QI 2 "altivec_register_operand" > "v"))))] > > + "TARGET_P9_VECTOR" > > + "vcmpneb %0,%1,%2" > > + [(set_attr "type" "vecsimple")] > > +) > > + [(set_attr "type" "vecsimple")]) > > What does "_spec" mean? That it is not an unspec? :-) Yes, exactly. :-) > If a name is not (expected to be) used directly, it should start with > *. Ok. > Do we still need the unspec version? Not sure.. I'll play with this some more.