From patchwork Tue Jan 9 02:10:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "juzhe.zhong@rivai.ai" X-Patchwork-Id: 186190 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp1397679dyq; Mon, 8 Jan 2024 18:12:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBsVKzgdN49/Qzk8kXdp9k3Bmy8vs/ZIcatjGW8GNbhJXvd8pRdnB29fvDbKQ8QFOypbYX X-Received: by 2002:a05:6808:3c95:b0:3bc:21d8:9b37 with SMTP id gs21-20020a0568083c9500b003bc21d89b37mr6740646oib.73.1704766336015; Mon, 08 Jan 2024 18:12:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704766335; cv=pass; d=google.com; s=arc-20160816; b=EZZs6m6b/sk8EVMbcX0yal3dGmJLzFJd3o8CL9ffPeqgye4NwrlFIGTfdNnb0Yh0Fe PP+8SWD15aIUkUPUAbLJjwSgazhXWgk2ANgVGQYbjRK9X8jd8GLEv/xofgBi+4//wlB1 4CDOGfdh/MC+SzkezLQSkOhkL7i3zMrWpxr9/gzPG9eQns/19GozEkExGFg1jKDV7XNV d3k1VOYGkxcFUzF91WidertCn3LEAaK4GCRuiJ5wIu5lvUxZxAcM67ewi3dYcuS79ObG lgGOuU2MccQACrFEzKtz8hk1cE+oryRsnjEQiGV5QvGdJsezjLSGIt8lj98Ht/V5Ejlu U32Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:feedback-id :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:arc-filter:dmarc-filter:delivered-to; bh=csNDgf1z4hxqswP2DX0/asoRj/DVeMoJwUg/r+wEIAg=; fh=idvV5TQ1gmHAoU8u1GUGfjilVySOK+BR5TeZLoSouN8=; b=e41z4c4M+d0y6nZVngQ0y3geyWPrdk8WBBUvqF4jjjl0ALWMyBTqVnSGzTQMu7FC0T giTKquSaXLku/SWOh3FRqeMdT3XRC0SXCCtKAIRv4+Qw1dr1FkmlYR1irWOLK8ogSqeM 2y1OZQ6d73CbYygWGVNNG44ClmaGYUAREJKPgOwUcnuy1421k+q82g1nazFXLZZOup2/ ENItxo8Y5Ual65yCjB7IGiWm062DTd5CLOIPDtuN1B2fl4W/YOnI3dvSdEK0gC24zfFd 4QfOIo9ewVnfR4cyLb/MaYXurUZXw6vHjlCvt4XaKGRGiRNgUqP1F5bvZYKMEgXIhr9N nwGw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id q15-20020a0cf5cf000000b0068087e996c1si1246952qvm.455.2024.01.08.18.12.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 18:12:15 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B2DD93858C42 for ; Tue, 9 Jan 2024 02:12:15 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgbr1.qq.com (smtpbgbr1.qq.com [54.207.19.206]) by sourceware.org (Postfix) with ESMTPS id E929D3858D38 for ; Tue, 9 Jan 2024 02:11:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E929D3858D38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E929D3858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=54.207.19.206 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704766272; cv=none; b=ks8W7SIacomQ46oIi+s4aHgy/sXqaqezUCyqEl2IP4fxywPTbyDgL/SXRLMKMDZBEr2bg0+rzSy9LrFe47/oQHR8hWPt0mkOB7qdMPObEK2qK11rSQ0bnhDT2o3AyKqoGH3VovXL20admpZK2533Z8e8P0egcFpgDzRmYMhsExQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704766272; c=relaxed/simple; bh=fC8yUz45D9+8Nc4eKfmCaFeTkxWZqegP39leiesBEyg=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=EZTucrOIE5br6FWw86FJN0Ag9AhanJW2lHCooMNnGA9b6u5Ks893P1IhuR1WGDEXTrLqTOvRo8fKqbvxRD0pz4GM1nxpYFegUqoW4fjGlTrjfDcUq9qaExxY3s98V1IpEDFxNh3Lv9U1bHMRrn4cKKsR2SoXVU6m1jQGfKcmtaM= ARC-Authentication-Results: i=1; server2.sourceware.org X-QQ-mid: bizesmtp86t1704766256tohms0pb Received: from rios-cad121.hadoop.rioslab.org ( [58.60.1.9]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 09 Jan 2024 10:10:55 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: +ynUkgUhZJnZmjHN29dcNHeGF68M2wvwxB5t8VADD7Gsx4rPwoMtt0sT/FbO6 0yKrIyeCeeGF6AXWLKbfbVI0MSClPG5Z82oGJ6NXLB+xM//Mlk/QhzVWmed3L7vjFtJ5QDT FOsmkVlSnCdKUSmGfb84L3iXAPnfaWShZNS/IjWlW0LOdDfnhLho8DZjgYaen+5ms2cH9uB xTckbD4dwm+AuaxNIy4Ts9/UfrmK4JTheHCv252OlLAVT7FdA1P7ueNJdwqv7fk9iCtSbqy OR4V3jvqDliyXE/Inmq9dieG0ZIOe5LKvF/zCyYUuFagZDteyrIgqXF3bexM1z8HgzQQYON NJ6eV51WDKI1h7Yr/BB3mm1poObL+lwa8n6fq8CeS0mrbPKvHbIBsHrm8S3eDY7tUpvF7lS X-QQ-GoodBg: 2 X-BIZMAIL-ID: 1830936821647817032 From: Juzhe-Zhong To: gcc-patches@gcc.gnu.org Cc: Juzhe-Zhong Subject: [Committed] RISC-V: Fix comments of segment load/store intrinsic[NFC] Date: Tue, 9 Jan 2024 10:10:54 +0800 Message-Id: <20240109021054.1095824-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.3 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787577065465085778 X-GMAIL-MSGID: 1787577065465085778 We have supported segment load/store intrinsics. Committed as it is obvious. gcc/ChangeLog: * config/riscv/riscv-vector-builtins-functions.def (vleff): Move comments to real place. (vcreate): Ditto. --- gcc/config/riscv/riscv-vector-builtins-functions.def | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/config/riscv/riscv-vector-builtins-functions.def b/gcc/config/riscv/riscv-vector-builtins-functions.def index 96dd0d95dec..14560923d11 100644 --- a/gcc/config/riscv/riscv-vector-builtins-functions.def +++ b/gcc/config/riscv/riscv-vector-builtins-functions.def @@ -79,8 +79,6 @@ DEF_RVV_FUNCTION (vsoxei64, indexed_loadstore, none_m_preds, all_v_scalar_ptr_ee // 7.7. Unit-stride Fault-Only-First Loads DEF_RVV_FUNCTION (vleff, fault_load, full_preds, all_v_scalar_const_ptr_size_ptr_ops) -// TODO: 7.8. Vector Load/Store Segment Instructions - /* 11. Vector Integer Arithmetic Instructions. */ // 11.1. Vector Single-Width Integer Add and Subtract @@ -625,7 +623,7 @@ DEF_RVV_FUNCTION (vcreate, vcreate, none_preds, all_v_vcreate_lmul2_x2_ops) DEF_RVV_FUNCTION (vcreate, vcreate, none_preds, all_v_vcreate_lmul2_x4_ops) DEF_RVV_FUNCTION (vcreate, vcreate, none_preds, all_v_vcreate_lmul4_x2_ops) -// Tuple types +// 7.8. Vector Load/Store Segment Instructions DEF_RVV_FUNCTION (vset, vset, none_preds, all_v_vset_tuple_ops) DEF_RVV_FUNCTION (vget, vget, none_preds, all_v_vget_tuple_ops) DEF_RVV_FUNCTION (vcreate, vcreate, none_preds, all_v_vcreate_tuple_ops)