From patchwork Fri Apr 19 21:04:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carl Love X-Patchwork-Id: 1925697 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=DN9ta2br; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VLnFz19wGz1yZP for ; Sat, 20 Apr 2024 07:04:39 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5B7203849AF1 for ; Fri, 19 Apr 2024 21:04:37 +0000 (GMT) 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 3E0223849AD9 for ; Fri, 19 Apr 2024 21:04:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3E0223849AD9 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3E0223849AD9 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713560659; cv=none; b=l/W2roBY3ELeCCk1CZJRGeHvttRK4UsNcWApjwvneH4a39wHOREWcx2sGdHJAri5poVrk9zT3nflKZnwPZq2r3taMGXmc9LpU2CFPmLc2nwAvGQbaykDk1jSuTR3+KWIZIoJy/ss62be08SOCEYNORUQ1JMM1p1MJEyTja5LyWw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713560659; c=relaxed/simple; bh=3LjI4J0qwBR87ELzfd1B+QS231NUr1jQan4nVszF0B4=; h=DKIM-Signature:Message-ID:Date:MIME-Version:From:Subject:To; b=qBTzCizTdtsYXmFeV2w2XD4XOJzl7iDlQz02H/Hfkaxi9cCIxiqMOx+yibelVChB5zF9HoOrltVeVkNwV4pIU6TYEE7IHOHZj2rSrBj3qfiFQDB9UXNYZ7WE4FqzJeV4BAEPm+tURySTf37sZVBylI2/TlHRqYfjFZCfs/asZjc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43JL2wdB022948; Fri, 19 Apr 2024 21:04:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : from : subject : to : content-type : content-transfer-encoding; s=pp1; bh=W7Qbt+5z21Gbyk8EKdqJT0eeLSsen0GJcOwCg9AXCY4=; b=DN9ta2br5oV7AQut1pkGEIk2/dd6jNjmcnk+3McvgIoyKwdrcvR+zLehyNLzbbAxMOiQ rrR1Rm/5FOEUVXgnLWwazalwE3cY0CTo9rGMC+cDrWyKisN/7sLNwkdexuDTUrj4guvQ kMs2KnXD8BPi/4oVVIqSDR3QnxtMsYkN6SjK3kr8GXC/w4L+hW8adeyukG6xhGHM+6H+ lkuPSKMNtUpnJMDpeb7atVIhOZi1lKtdYAajrTGETwjN58Cq+MNJzR/fKQBWojT2GXwI bmXeC6RgLC3nc0fNUi1bzFmZLARv1KrvGQdo7qJB0Iis/5jA4/+9S0CXfrRf24Ds1PZF aQ== Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xm05x806a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Apr 2024 21:04:15 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 43JIMa43030320; Fri, 19 Apr 2024 21:04:14 GMT Received: from smtprelay05.wdc07v.mail.ibm.com ([172.16.1.72]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3xkbmcp1dm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Apr 2024 21:04:14 +0000 Received: from smtpav04.wdc07v.mail.ibm.com (smtpav04.wdc07v.mail.ibm.com [10.39.53.231]) by smtprelay05.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 43JL4BA027067056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 19 Apr 2024 21:04:13 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6B0B558045; Fri, 19 Apr 2024 21:04:11 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9704E58054; Fri, 19 Apr 2024 21:04:10 +0000 (GMT) Received: from [9.67.133.93] (unknown [9.67.133.93]) by smtpav04.wdc07v.mail.ibm.com (Postfix) with ESMTP; Fri, 19 Apr 2024 21:04:10 +0000 (GMT) Message-ID: <6378d560-df55-4b75-be7b-93dc6b85d81a@linux.ibm.com> Date: Fri, 19 Apr 2024 14:04:09 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Carl Love Subject: [PATCH 0/13] rs6000, built-in cleanup patch series To: gcc-patches@gcc.gnu.org, "bergner@linux.ibm.com" , Segher Boessenkool , "Kewen.Lin" , Carl Love X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 2mSC-LGC3iCKl6rkXNrIS7zApPfWkRtO X-Proofpoint-GUID: 2mSC-LGC3iCKl6rkXNrIS7zApPfWkRtO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-19_15,2024-04-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 priorityscore=1501 spamscore=0 phishscore=0 mlxlogscore=652 mlxscore=0 adultscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1011 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404190163 X-Spam-Status: No, score=-2.3 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_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org GCC maintainers: The following patch series removes duplicate built-ins. There are patches to extend an existing overloaded built-in to cover additional input types. The final patch removes built-ins to set and initialize vectors. The code generated by these built-ins with the default optimization is efficient than the code generated by using straight C code. The assembly code for the built-in and straight C code is the same with -O3 optimizations. In this case, the built-ins are removed as they add no additional value. The patches have all been tested on Power 10 LE. The last patch was also tested on Power 8 BE. No regression tests were seen. Please let me know if the patches are acceptable for mainline. Thanks. Carl