From patchwork Mon Dec 6 20:49:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Schmidt X-Patchwork-Id: 48555 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 E722F3858C60 for ; Mon, 6 Dec 2021 20:49:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E722F3858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1638823786; bh=DwnPKzOWTyCjObL7pbMXtjzB9c5MK7Q9hNtW599aipk=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=XtFu0p9jt2ttRzGmqHMKL5dY+fXyz8t7LPvT7GaBJZR0Rf3rosd8agXOjUoT7q97B t9f3//3LahxHsrujxiizeBCPE/amm3mfZ6uL0G3lxjP8Ompw7mTrDn+AV576fjwX23 7S+q3WEzOBytApoZ2STIf3q0WEEuSuyVw+L/UC1g= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id E2F863858D28 for ; Mon, 6 Dec 2021 20:49:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E2F863858D28 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1B6K1mE2014576; Mon, 6 Dec 2021 20:49:14 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3csrj41jy9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Dec 2021 20:49:13 +0000 Received: from m0098410.ppops.net (m0098410.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 1B6KHMOh000512; Mon, 6 Dec 2021 20:49:13 GMT Received: from ppma03wdc.us.ibm.com (ba.79.3fa9.ip4.static.sl-reverse.com [169.63.121.186]) by mx0a-001b2d01.pphosted.com with ESMTP id 3csrj41jxw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Dec 2021 20:49:13 +0000 Received: from pps.filterd (ppma03wdc.us.ibm.com [127.0.0.1]) by ppma03wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 1B6KSIss023346; Mon, 6 Dec 2021 20:49:12 GMT Received: from b03cxnp07028.gho.boulder.ibm.com (b03cxnp07028.gho.boulder.ibm.com [9.17.130.15]) by ppma03wdc.us.ibm.com with ESMTP id 3cqyy75xnq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Dec 2021 20:49:12 +0000 Received: from b03ledav001.gho.boulder.ibm.com (b03ledav001.gho.boulder.ibm.com [9.17.130.232]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1B6KnBM931130178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 6 Dec 2021 20:49:11 GMT Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 70CE46E05E; Mon, 6 Dec 2021 20:49:11 +0000 (GMT) Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2AC7D6E052; Mon, 6 Dec 2021 20:49:11 +0000 (GMT) Received: from localhost.localdomain (unknown [9.211.53.129]) by b03ledav001.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 6 Dec 2021 20:49:10 +0000 (GMT) To: gcc-patches@gcc.gnu.org Subject: [PATCH v2 0/6] Remove "old" built-in function infrastructure Date: Mon, 6 Dec 2021 14:49:02 -0600 Message-Id: X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 9jELCrbHb1ja00mDHj7grnLbwDM9HuH9 X-Proofpoint-ORIG-GUID: 7u7kXo3FU4SHVN0nSVFrESUOXiXZ9kZc 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-06_07,2021-12-06_02,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 impostorscore=0 spamscore=0 adultscore=0 malwarescore=0 suspectscore=0 phishscore=0 mlxlogscore=590 mlxscore=0 lowpriorityscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2112060126 X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, 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@gmail.com, segher@kernel.crashing.org Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" 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 a couple of patches are still pretty large. David Edelsohn found that I had broken some C++ library functions for AIX, and his fix for that required me to re-spin the patches. I also generated the diff with a more efficient algorithm to reduce the patch size. Otherwise this series is identical to V1. Thanks! Bill 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 | 1266 +- gcc/config/rs6000/rs6000-call.c | 11964 +--------------- 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, 224 insertions(+), 16883 deletions(-) delete mode 100644 gcc/config/rs6000/rs6000-builtin.def rename gcc/config/rs6000/{rs6000-builtin-new.def => rs6000-builtins.def} (100%)