Message ID | 0b5eff4f-ca81-49b8-aaa7-5f5cec1881f6@linux.ibm.com |
---|---|
State | New |
Headers |
Return-Path: <gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org> 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 C05693861009 for <patchwork@sourceware.org>; Tue, 1 Oct 2024 15:28:39 +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 C7E0E385F012 for <gcc-patches@gcc.gnu.org>; Tue, 1 Oct 2024 15:28:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C7E0E385F012 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 C7E0E385F012 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=1727796485; cv=none; b=Hpu+IaRxnqVuReGwD2SsRxwAlOs7oDdvIjb0ikSRQf9eqiJvxBFkMzZdAzLwfC4o9vMvRxiITcNzT/HaZ9Aa43v4DqgDKnR6D17r9ECUrKJ+yioiLjsK0/sgYwnINXkgFAJBAd5/rBhtnIKr5E/exRD1a7VDTnZu+9g0JSqjWJs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727796485; c=relaxed/simple; bh=m5y14wgKZT0jiFu5xrVjzQQMR23C+i7DDnY+AJVy6r0=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=C9Jx65JyBa6O7r6j7DjWTieWXAO90xA+b3o8polXWDYrOx8Zsk50op9hGtVLxSp92Rf/vBhFiYyePFHJ3Xm0bU1o/NbuTH63nSFuSBa48YLnLvSkLqzO6pVgMAb7+2auhe/frkjr7kK7fpvUe27p8rFmQw7rntjMbjQuZLBzTlA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 491EPVSa014200; Tue, 1 Oct 2024 15:28:03 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=6 /EPGU6FDwExqZkVECmvR7n3J8zsiXgV9n3oCIk1bY4=; b=IZJhGHaXJvaTmCbES /9Rj/H9ZMm6C5zLQMGgMKMOA1VaXaLrFNchO4OBw7hXZgrQz12HOfiYLlZOvvT4j XoZWYlxD9rjBB0ef3+UqqphiFIBaY945Tg6+Gd25MDKfjXnyNDoVSw0ABqLUoOFi kUpwZFFl42fl+SKiUHTxR5wbG0m0KXxkR7WUEhbKEh/ulFsaSl5WJ+rCJqYlxYqu kyi800UuU/Z9Br2jalJfpJG+LSPjinOVbfDqHcR/G+XOnEsi6o+ToutO82xe0hgj bL8LuhN7yA+O5vbgkD1/wGvn9N1Mo4bhkT/BBh6t+SqHmXl8F5siXJyU7PSRH30I UvpBg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 420jturd7f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Oct 2024 15:28:02 +0000 (GMT) Received: from m0356517.ppops.net (m0356517.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 491FNxmP014782; Tue, 1 Oct 2024 15:28:02 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 420jturd7c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Oct 2024 15:28:02 +0000 (GMT) Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 491F0waQ007947; Tue, 1 Oct 2024 15:28:01 GMT Received: from smtprelay02.dal12v.mail.ibm.com ([172.16.1.4]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 41xvgxwba5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Oct 2024 15:28:01 +0000 Received: from smtpav05.dal12v.mail.ibm.com (smtpav05.dal12v.mail.ibm.com [10.241.53.104]) by smtprelay02.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 491FRxdh48890294 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 1 Oct 2024 15:28:00 GMT Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D9C8D58056; Tue, 1 Oct 2024 15:27:59 +0000 (GMT) Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3B4C858052; Tue, 1 Oct 2024 15:27:59 +0000 (GMT) Received: from [9.67.2.251] (unknown [9.67.2.251]) by smtpav05.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 1 Oct 2024 15:27:59 +0000 (GMT) Message-ID: <0b5eff4f-ca81-49b8-aaa7-5f5cec1881f6@linux.ibm.com> Date: Tue, 1 Oct 2024 08:27:58 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH ver2 3/4] rs6000, Remove redundant built-in __builtin_vsx_xvcvuxwdp To: GCC Patches <gcc-patches@gcc.gnu.org>, segher <segher@kernel.crashing.org>, Peter Bergner <bergner@linux.ibm.com>, David Edelsohn <dje.gcc@gmail.com>, cel <cel@linux.ibm.com> References: <c959f3ff-ed1e-40be-95d0-6a45ab35e8a5@linux.ibm.com> Content-Language: en-US From: Carl Love <cel@linux.ibm.com> In-Reply-To: <c959f3ff-ed1e-40be-95d0-6a45ab35e8a5@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 1kSuFDB8oKJcYargQ2hjUjfGCLbjnNz7 X-Proofpoint-GUID: MUyi0cFdH3gBHPkVuQ1yGLCVwXlCl40d X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-10-01_11,2024-09-30_01,2024-09-30_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 phishscore=0 suspectscore=0 mlxscore=0 spamscore=0 mlxlogscore=899 priorityscore=1501 lowpriorityscore=0 adultscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2408220000 definitions=main-2410010099 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_ASCII_DIVIDERS, RCVD_IN_DNSWL_LOW, 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org |
Series |
rs6000, remove redundant built-ins and add more test cases
|
|
Commit Message
Carl Love
Oct. 1, 2024, 3:27 p.m. UTC
GCC maintainers: Version 2: Fixed the wording in the changelog per the feedback. With this change the patch was approved by Kewen. 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 can be covered with PVIPR function vec_doubleo on LE and vec_doublee on BE. 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 adb4fe761f3..7350b913d03 100644 --- a/gcc/config/rs6000/rs6000-builtins.def +++ b/gcc/config/rs6000/rs6000-builtins.def @@ -1616,9 +1616,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 {}