From patchwork Fri Jul 26 23:31:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Carl Love X-Patchwork-Id: 1965429 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=GrLyrY+L; 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 4WW3tv0xgCz1yY5 for ; Sat, 27 Jul 2024 09:32:05 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 544983858414 for ; Fri, 26 Jul 2024 23:32:03 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 95CEA3858C48 for ; Fri, 26 Jul 2024 23:31:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 95CEA3858C48 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 95CEA3858C48 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.158.5 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722036705; cv=none; b=eV4seN67+P0YVKYhwXsUeUFpPP202UwI1kwHpnYqCGX86zOBMXqZLqK3m77JUHsB842xJQYVZs+3IJZbHGfIS0tCJH8Wv6l7p1k11+u7i8S1lCM1Xygb35JQQQD+NL4+iHMiD2RDUT8kfwW1d0n12bsu42sxbRC3lFG0cymYr70= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1722036705; c=relaxed/simple; bh=sjglMTdTFkWTfElHLeG3HkwIkiGy4vqsKBBzWNx1N7w=; h=DKIM-Signature:Message-ID:Date:From:Subject:To:MIME-Version; b=axebIhMV3ekBbA53QMMuQfgNjt96Z1rVxtPG4KRv3xdxYuJeeXfVNMbaNtT6GTfgV8jWfKPzKRGYUB9Zft375ZCqTfmyQNsQuPvvF+m3v0KEmnfjtQIAtgmuETei4wtX5FRvhHw+YK2y4NV99Tm0u6P/dJ1HeGRse6VCOvSQzsU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46QNTXaB006404; Fri, 26 Jul 2024 23:31:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h= message-id:date:from:subject:to:content-type :content-transfer-encoding:mime-version; s=pp1; bh=ORXlMcZnlpCGB 5iuiK+nc806AJK8YgWIoC/6ulUr19k=; b=GrLyrY+LYPIni1QxHFwiLK6GEiu0x rZWIGftD/p9OAohl+iMA5U9mlSAlhoOOqBtEc2sc7Hxcs0J8yaysp6PwSvtxLXC+ R7WAAUKm465KBgo+KrsAqR1eJ/cbixXgwFa512jCfXf8GadZCU8IYsU1qeioHLGr SIGKtlLmEXcYvek+wOWERRBIf/o7LfV4OnqTQjm6TZHafKnYwGewMevK4IkzXXY9 9vsjQ9FRsCdCfp4xTn8bLKyOGeHWPqY3+2sh7iS+1Tp3BY87NquW/cq3AMJA48qG bq9iMA76vYyvy9XcH/DpELjFP7tiONMDQ0se+HNRhN6Pr/6isTcpxwHPQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 40mngur06x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Jul 2024 23:31:42 +0000 (GMT) Received: from m0360072.ppops.net (m0360072.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 46QNVgDj011152; Fri, 26 Jul 2024 23:31:42 GMT Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 40mngur06s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Jul 2024 23:31:42 +0000 (GMT) Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 46QL24JZ006586; Fri, 26 Jul 2024 23:31:41 GMT Received: from smtprelay03.dal12v.mail.ibm.com ([172.16.1.5]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 40gxn7wnfh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Jul 2024 23:31:41 +0000 Received: from smtpav03.wdc07v.mail.ibm.com (smtpav03.wdc07v.mail.ibm.com [10.39.53.230]) by smtprelay03.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 46QNVc2G11403924 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Jul 2024 23:31:40 GMT Received: from smtpav03.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7219B58054; Fri, 26 Jul 2024 23:31:38 +0000 (GMT) Received: from smtpav03.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 68E895805F; Fri, 26 Jul 2024 23:31:37 +0000 (GMT) Received: from [9.67.189.147] (unknown [9.67.189.147]) by smtpav03.wdc07v.mail.ibm.com (Postfix) with ESMTP; Fri, 26 Jul 2024 23:31:37 +0000 (GMT) Message-ID: <19c07eec-e215-4b94-96ac-81640b3a6163@linux.ibm.com> Date: Fri, 26 Jul 2024 16:31:36 -0700 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Carl Love Subject: [PATCH] rs6000, add comment to VEC_IC definition To: GCC Patches , segher , Kewen , Peter Bergner , David Edelsohn , cel X-TM-AS-GCONF: 00 X-Proofpoint-GUID: XKdWm-XO0NLeWXi_apw5dGYdr8Cysc9c X-Proofpoint-ORIG-GUID: YO_ynejjgDmgq32Vzf9_mUt6BMQtR_Dd X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 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-07-26_14,2024-07-26_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 mlxlogscore=999 spamscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 bulkscore=0 clxscore=1015 lowpriorityscore=0 phishscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2407260158 X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, KAM_MANYTO, KAM_SHORT, 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: This patch adds a comment to the VEC_IC definitions to clarify the V1TI "TARGET_POWER10" mode per the request by Segher in the feedback to patch "https://gcc.gnu.org/pipermail/gcc-patches/2024-July/658156.html". https://gcc.gnu.org/pipermail/gcc-patches/2024-July/658156.html Please let me know if this patch is acceptable for mainline. Thanks.                       Carl ---------------------------------------------------------------- rs6000, add comment to VEC_IC definition This patch adds a comment to the VEC_IC definition to clarify the V1TI "TARGET_POWER10" mode that was added. gcc/ChangeLog:     * config/rs6000/vector.md: Add comment for the VEC_IC     define_mode_iterator. ---  gcc/config/rs6000/vector.md | 3 ++-  1 file changed, 2 insertions(+), 1 deletion(-)  ;; 128-bit int modes diff --git a/gcc/config/rs6000/vector.md b/gcc/config/rs6000/vector.md index 0d3e0a24e11..75d95ccfb47 100644 --- a/gcc/config/rs6000/vector.md +++ b/gcc/config/rs6000/vector.md @@ -26,7 +26,8 @@  ;; Vector int modes  (define_mode_iterator VEC_I [V16QI V8HI V4SI V2DI]) -;; Vector int modes for comparison, shift and rotation +;; Vector int modes for comparison, shift and rotation.  ISA 3.1 adds the V1TI mode +;; for the int128 type.  (define_mode_iterator VEC_IC [V16QI V8HI V4SI V2DI (V1TI "TARGET_POWER10")])