From patchwork Fri Mar 10 18:16:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 737508 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 3vfwSy5whcz9s7r for ; Sat, 11 Mar 2017 05:16:48 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="gqe5XFdg"; 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=ODj9m IpqR2GqgmXIu1F+zrb2kxAAimG38aXRecwnSUK87iEd+7k57m92M0aL5IjDeBDVy fW7fnuQAo77CJ3p1mjloeZOxnQij4ImckX7cjJwtpog5VcnazICT+JafoYoG1Tcp qCY/wfnx15ejjdXrjyFubbEDzbHTz7kBXkrj70= 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=96S2V4YouE7 gCJW3Z+LFyXDuzrs=; b=gqe5XFdgFS6/J8SjwJ5lBeM+1VGdSLiHlO3n23LAe41 6elaVxNoXVcG7V1ngfgIOcyCMjKyfKa+miQWDB7+r0KZJ2a/uAj7ed0XX/GlyAxp V7vmT9bX/d+q3W1LwE3BUjwoa2HKNz6pfHuKFeDv/bkdCoilK3beDmuvxfhvj3Uo = Received: (qmail 5726 invoked by alias); 10 Mar 2017 18:16:39 -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 5706 invoked by uid 89); 10 Mar 2017 18:16:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-9.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=vor 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, 10 Mar 2017 18:16:38 +0000 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v2AIETaP102093 for ; Fri, 10 Mar 2017 13:16:37 -0500 Received: from e19.ny.us.ibm.com (e19.ny.us.ibm.com [129.33.205.209]) by mx0a-001b2d01.pphosted.com with ESMTP id 293a84ah9f-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 10 Mar 2017 13:16:36 -0500 Received: from localhost by e19.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 10 Mar 2017 13:16:36 -0500 Received: from b03cxnp07028.gho.boulder.ibm.com (9.17.130.15) by e19.ny.us.ibm.com (146.89.104.206) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 10 Mar 2017 13:16:33 -0500 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v2AIGSWW16777680; Fri, 10 Mar 2017 11:16:32 -0700 Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 82404BE03E; Fri, 10 Mar 2017 11:16:32 -0700 (MST) Received: from bigmac.rchland.ibm.com (unknown [9.10.86.201]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP id 3E680BE038; Fri, 10 Mar 2017 11:16:32 -0700 (MST) To: GCC Patches Cc: Segher Boessenkool , David Edelsohn , jakub@redhat.com From: Bill Schmidt Subject: [PATCH, rs6000] Remove orphaned VMUL*_UNS built-ins Date: Fri, 10 Mar 2017 12:16:31 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 17031018-0056-0000-0000-000002FE6367 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006758; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000206; SDB=6.00832759; UDB=6.00408716; IPR=6.00610347; BA=6.00005202; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00014597; XFM=3.00000013; UTC=2017-03-10 18:16:34 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17031018-0057-0000-0000-000007348071 Message-Id: <6589aabe-b709-98ed-1117-8ea241becd13@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-03-10_12:, , 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-1702020001 definitions=main-1703100144 X-IsSubscribed: yes Hi, Jakub observed that these built-ins are no longer reachable (and haven't been for quite a while). Time to chuck them out. Bootstrapped and tested on powerpc64le-unknown-linux-gnu with (surprise!) no regressions. Is this ok for trunk? Thanks, Bill 2017-03-10 Bill Schmidt * config/rs6000/rs6000-builtin.def (VMULEUB_UNS): Remove orphaned built-in. (VMULEUH_UNS): Likewise. (VMULOUB_UNS): Likewise. (VMULOUH_UNS): Likewise. * config/rs6000/rs6000.c (builtin_function_type): Remove references to ALTIVEC_BUILTIN_VMUL[EO]U[BH]_UNS. Index: gcc/config/rs6000/rs6000-builtin.def =================================================================== --- gcc/config/rs6000/rs6000-builtin.def (revision 246040) +++ gcc/config/rs6000/rs6000-builtin.def (working copy) @@ -1059,16 +1059,12 @@ BU_ALTIVEC_2 (VMINUW, "vminuw", CONST, umin BU_ALTIVEC_2 (VMINSW, "vminsw", CONST, sminv4si3) BU_ALTIVEC_2 (VMINFP, "vminfp", CONST, sminv4sf3) BU_ALTIVEC_2 (VMULEUB, "vmuleub", CONST, vec_widen_umult_even_v16qi) -BU_ALTIVEC_2 (VMULEUB_UNS, "vmuleub_uns", CONST, vec_widen_umult_even_v16qi) BU_ALTIVEC_2 (VMULESB, "vmulesb", CONST, vec_widen_smult_even_v16qi) BU_ALTIVEC_2 (VMULEUH, "vmuleuh", CONST, vec_widen_umult_even_v8hi) -BU_ALTIVEC_2 (VMULEUH_UNS, "vmuleuh_uns", CONST, vec_widen_umult_even_v8hi) BU_ALTIVEC_2 (VMULESH, "vmulesh", CONST, vec_widen_smult_even_v8hi) BU_ALTIVEC_2 (VMULOUB, "vmuloub", CONST, vec_widen_umult_odd_v16qi) -BU_ALTIVEC_2 (VMULOUB_UNS, "vmuloub_uns", CONST, vec_widen_umult_odd_v16qi) BU_ALTIVEC_2 (VMULOSB, "vmulosb", CONST, vec_widen_smult_odd_v16qi) BU_ALTIVEC_2 (VMULOUH, "vmulouh", CONST, vec_widen_umult_odd_v8hi) -BU_ALTIVEC_2 (VMULOUH_UNS, "vmulouh_uns", CONST, vec_widen_umult_odd_v8hi) BU_ALTIVEC_2 (VMULOSH, "vmulosh", CONST, vec_widen_smult_odd_v8hi) BU_ALTIVEC_2 (VNOR, "vnor", CONST, norv4si3) BU_ALTIVEC_2 (VOR, "vor", CONST, iorv4si3) Index: gcc/config/rs6000/rs6000.c =================================================================== --- gcc/config/rs6000/rs6000.c (revision 246040) +++ gcc/config/rs6000/rs6000.c (working copy) @@ -18526,10 +18526,6 @@ builtin_function_type (machine_mode mode_ret, mach break; /* unsigned 2 argument functions. */ - case ALTIVEC_BUILTIN_VMULEUB_UNS: - case ALTIVEC_BUILTIN_VMULEUH_UNS: - case ALTIVEC_BUILTIN_VMULOUB_UNS: - case ALTIVEC_BUILTIN_VMULOUH_UNS: case ALTIVEC_BUILTIN_VMULEUB: case ALTIVEC_BUILTIN_VMULEUH: case ALTIVEC_BUILTIN_VMULOUB: