From patchwork Wed Aug 7 17:15:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Carl Love X-Patchwork-Id: 1970163 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=Ue3RSfEp; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; 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 [8.43.85.97]) (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 4WfGzN3K2Rz1ydt for ; Thu, 8 Aug 2024 03:16:00 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A9515385C6CD for ; Wed, 7 Aug 2024 17:15:58 +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 B8ED1385C6CD for ; Wed, 7 Aug 2024 17:15:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B8ED1385C6CD 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 B8ED1385C6CD 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=1723050934; cv=none; b=xKdxzubbwVAROAwotsAI+AeDtRCDRB6Yz0lgM+A1wwSO1Rr1YCkd0+TYhBzcXbRNsI/uVjPiwZzgxnnqnN4rTw+uviL2QSHOHBlJVwSmmimIRHDJe+Q3YRw63wrTWTBeP5iG9eQP8TRquFtYvPbPjQBTOx0mKb8kuTd7stpEojo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723050934; c=relaxed/simple; bh=bK8dD/EyvIycrOBA3pFb2pKgdosO8Ey3qK+kAAs8pFI=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=WZyl2GfQVBkP/5SBptfyeJcuPulGaQoIeLOiyiqCCjidevWjJCVTkJUd4eDHgJzvYmoek4sesrTr/t4SNo9ld5YljahyGJpRWhSml/vaJ9Ku+8Dd+qtrq9R0e4J62AYTqPdCC9cDokKcAJTeBHAOh7NwRKqKT5P7sfya0rsx4KA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0353728.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4772N5GM012872; Wed, 7 Aug 2024 17:15:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h= message-id:date:mime-version:subject:to:references:from :in-reply-to:content-type:content-transfer-encoding; s=pp1; bh=y uOv/PmjbGsTUfAJmwcZsno9kYAeTI/ildwF5kYx6BU=; b=Ue3RSfEpGG4nMBG1b jqofbZ7x014/AfML7j3R6o22VXj2UupaOFx7wQL1E+20dv/C0MPgGugcpiQzffZO Yt4qFtRdn58qVQ1TZx6ed1vgPoZb2DhCYvr6ZrneYbtA2BKiCh8Jsk+1IOS2rChL g+eqrtpQogfvTZ/fKuRfJ3qdF/agSlaqFTJDJ6NPQZ86AnjCn+ilZR69bEaegB52 HfrXU93++9PWAoG0JSFN9v71gQjdIKztln1q3lwkpLphedqctKQeylfDG4yk6xpe aOjGyFeMqpS1kJC4OCT8laGP8ove3iOins8sLsVVAHsCVMQ08gf8SHMxTMjlmcwI xynYA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 40unmk35wy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Aug 2024 17:15:29 +0000 (GMT) Received: from m0353728.ppops.net (m0353728.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 477HFTgg008395; Wed, 7 Aug 2024 17:15:29 GMT Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 40unmk35wu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Aug 2024 17:15:29 +0000 (GMT) Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 477ESRHt024352; Wed, 7 Aug 2024 17:15:28 GMT Received: from smtprelay01.wdc07v.mail.ibm.com ([172.16.1.68]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 40sy90t7nv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Aug 2024 17:15:28 +0000 Received: from smtpav02.dal12v.mail.ibm.com (smtpav02.dal12v.mail.ibm.com [10.241.53.101]) by smtprelay01.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 477HFO6k48235256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 7 Aug 2024 17:15:27 GMT Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B06B65805A; Wed, 7 Aug 2024 17:15:24 +0000 (GMT) Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DF1075805E; Wed, 7 Aug 2024 17:15:23 +0000 (GMT) Received: from [9.67.100.70] (unknown [9.67.100.70]) by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTP; Wed, 7 Aug 2024 17:15:23 +0000 (GMT) Message-ID: <2dbd42ec-844a-4479-956a-9454db0fae92@linux.ibm.com> Date: Wed, 7 Aug 2024 10:15:23 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH 3/4] rs6000, Remove redundant built-in __builtin_vsx_xvcvuxwdp To: GCC Patches , Kewen , Peter Bergner , segher , David Edelsohn , cel References: <4aede9fb-787b-4aec-a4cd-5bd0224fbed6@linux.ibm.com> Content-Language: en-US From: Carl Love In-Reply-To: <4aede9fb-787b-4aec-a4cd-5bd0224fbed6@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: PzAFR7H2IxZs4I1eMAIQN1RSeCRDQPUB X-Proofpoint-GUID: lyVg0m6WPKQw4MUygpv6MA3YXbPurRDV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-07_11,2024-08-07_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=871 impostorscore=0 spamscore=0 mlxscore=0 adultscore=0 clxscore=1015 phishscore=0 priorityscore=1501 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408070118 X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, KAM_MANYTO, RCVD_IN_MSPIKE_H3, 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 patch removed the built-in __builtin_vsx_xvcvuxwdp as it is covered by the overloaded vec_doubleo built-in. The patch has been tested on Power 10 LE and BE with no regressions. Please let me know if it is acceptable for mainline.  Thanks.                       Carl -------------------------------------------------------------------- rs6000, Remove redundant built-in __builtin_vsx_xvcvuxwdp The built-in __builtin_vsx_xvcvuxwdp is a duplicate of the overloaded built-in vec_doubleo.  There are no test cases or documentation for __builtin_vsx_xvcvuxwdp.  This patch removes the redundant built-in. gcc/ChangeLog:     * config/rs6000/rs6000-builtins.def (__builtin_vsx_xvcvuxwdp):     Remove built-in definition. ---  gcc/config/rs6000/rs6000-builtins.def | 3 ---  1 file changed, 3 deletions(-) diff --git a/gcc/config/rs6000/rs6000-builtins.def b/gcc/config/rs6000/rs6000-builtins.def index 8bb7686bcc8..f2bebd299b2 100644 --- a/gcc/config/rs6000/rs6000-builtins.def +++ b/gcc/config/rs6000/rs6000-builtins.def @@ -1613,9 +1613,6 @@    const vf __builtin_vsx_xvcvuxdsp (vull);      XVCVUXDSP vsx_xvcvuxdsp {} -  const vd __builtin_vsx_xvcvuxwdp (vsi); -    XVCVUXWDP vsx_xvcvuxwdp {} -    const vf __builtin_vsx_xvcvuxwsp (vsi);      XVCVUXWSP vsx_floatunsv4siv4sf2 {}