From patchwork Fri Dec 3 18:22:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 48471 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3BE663858D35 for ; Fri, 3 Dec 2021 18:23:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3BE663858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1638555817; bh=rX0AMM1ReXPBXD9TMLwmAO7GvEda5KDDzqbcocFNmQk=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=IQ5RYNvQIVlE5pKlVxVwrIvABsReBuZbkzIDDktmZf6rRUa6Rlosa/uGkp1sx3aJ4 pDhkkaTJUIQ8bdQ6luEn9n6QvYSL2asqKIODp3LdAajvGXLZ+nKTBMS96yefWsgw0h RRgJgmSLrQdMOEK3MXlY5BFfiuoV8j275As7a3jo= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 193CC3858D28; Fri, 3 Dec 2021 18:23:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 193CC3858D28 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1B3I1d7R000828; Fri, 3 Dec 2021 18:23:07 GMT Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0b-001b2d01.pphosted.com with ESMTP id 3cqpmejerq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Dec 2021 18:23:07 +0000 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 1B3IJUoM013876; Fri, 3 Dec 2021 18:23:06 GMT Received: from b01cxnp22034.gho.pok.ibm.com (b01cxnp22034.gho.pok.ibm.com [9.57.198.24]) by ppma04dal.us.ibm.com with ESMTP id 3cnne46kky-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Dec 2021 18:23:06 +0000 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1B3IN5pP60883326 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 3 Dec 2021 18:23:05 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 410F8B2064; Fri, 3 Dec 2021 18:23:05 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0F5B4B2067; Fri, 3 Dec 2021 18:23:05 +0000 (GMT) Received: from makalu-lp1.aus.stglabs.ibm.com (unknown [9.40.192.155]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Fri, 3 Dec 2021 18:23:04 +0000 (GMT) Received: from makalu-lp1.aus.stglabs.ibm.com (localhost [127.0.0.1]) by makalu-lp1.aus.stglabs.ibm.com (Postfix) with ESMTP id 7CE9CCBFA8; Fri, 3 Dec 2021 12:23:04 -0600 (CST) Received: (from wschmidt@localhost) by makalu-lp1.aus.stglabs.ibm.com (8.14.7/8.14.7/Submit) id 1B3IN3GU009928; Fri, 3 Dec 2021 12:23:03 -0600 To: gcc-patches@gcc.gnu.org Subject: [PATCH 0/6] rs6000: Remove "old" built-in function infrastructure Date: Fri, 3 Dec 2021 12:22:50 -0600 Message-Id: X-Mailer: git-send-email 1.8.3.1 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: eOuNiXMy9Y5di4PAFRkXQBKh-tLifjOU X-Proofpoint-ORIG-GUID: eOuNiXMy9Y5di4PAFRkXQBKh-tLifjOU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2021-12-03_07,2021-12-02_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 adultscore=0 suspectscore=0 mlxlogscore=380 clxscore=1011 mlxscore=0 bulkscore=0 spamscore=0 impostorscore=0 priorityscore=1501 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2112030115 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Bill Schmidt via Gcc-patches From: Bill Schmidt Reply-To: Bill Schmidt Cc: dje@gcc.gnu.org, Bill Schmidt , segher@kernel.crashing.org Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" From: Bill Schmidt Hi! Now that the new built-in function support is all upstream and enabled, it seems safe and prudent to remove the old code to avoid confusion. I broke this up to the extent possible, but the first patch is a bit large and messy because so many dead functions have to be removed when taking out the "new_builtins_are_live" variable. Bill Schmidt (6): rs6000: Remove new_builtins_are_live and dead code it was guarding rs6000: Remove altivec_overloaded_builtins array and initialization rs6000: Rename rs6000-builtin-new.def to rs6000-builtins.def rs6000: Remove rs6000-builtin.def and associated data and functions rs6000: Rename functions with "new" in their names rs6000: Rename arrays to remove temporary _x suffix gcc/config/rs6000/darwin.h | 8 +- gcc/config/rs6000/rs6000-builtin.def | 3350 --- ...00-builtin-new.def => rs6000-builtins.def} | 0 gcc/config/rs6000/rs6000-c.c | 1342 +- gcc/config/rs6000/rs6000-call.c | 17810 +++------------- gcc/config/rs6000/rs6000-gen-builtins.c | 115 +- gcc/config/rs6000/rs6000-internal.h | 2 +- gcc/config/rs6000/rs6000-protos.h | 3 - gcc/config/rs6000/rs6000.c | 334 +- gcc/config/rs6000/rs6000.h | 58 - gcc/config/rs6000/t-rs6000 | 7 +- 11 files changed, 3173 insertions(+), 19856 deletions(-) delete mode 100644 gcc/config/rs6000/rs6000-builtin.def rename gcc/config/rs6000/{rs6000-builtin-new.def => rs6000-builtins.def} (100%)