From patchwork Tue Jan 9 02:13:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?6ZKf5bGF5ZOy?= X-Patchwork-Id: 1884108 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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 4T8DyH2hlZz1yP7 for ; Tue, 9 Jan 2024 13:14:15 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2A47138582AA for ; Tue, 9 Jan 2024 02:14:13 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgsg2.qq.com (smtpbgsg2.qq.com [54.254.200.128]) by sourceware.org (Postfix) with ESMTPS id 29C9D38582A7 for ; Tue, 9 Jan 2024 02:13:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 29C9D38582A7 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 29C9D38582A7 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=54.254.200.128 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704766429; cv=none; b=J8/+l8m8sIBIn7wPKfZkQ+hi2zN+3FTORJlecsT9QM0N/1D/Jd2k3su8dJBsiQVoyw0S70Z3HdrrZIelhCTKlDeiR9dwglk5/yMSRVVUX6apQcDaGnDEbo2gWyHGU8XLC6+4QrEE2XJHZ7m0cJDqlADPazAuVoPnVmZRuirlFjY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704766429; c=relaxed/simple; bh=tVWWIEXe/EPT4BtMERU0lkoE5QTNYlh1Dq9KNfoYZlE=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=HCbIAkwWYFX914XB0Cmbor/U5fvldjqWeC6plFE9rE8d7Vz12isI5PvM1a0N9KqyJWwRWAoFTM/fo4RXuqBP5atYBEfPus0RXh0mn+EGiSGNwvaMa7qOquqtZC1o0PhTTNXmORyP+uDoZ0W7rqK7g66djq9paNiabXPAYgiMaHc= ARC-Authentication-Results: i=1; server2.sourceware.org X-QQ-mid: bizesmtp63t1704766422t4m8q3le Received: from rios-cad121.hadoop.rioslab.org ( [58.60.1.9]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 09 Jan 2024 10:13:41 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: W+onFc5Tw4OMa/wcLOz82V0UwajtXoBixEo0I0UAw+EWlHc1Kd2R3F84Qe313 usTrgpIyqJMEuPtCngCo7IiV5bV/lAAXAzmYgCyRwn7GY9XPd0kbOWaIUf5ull3niSqT93o yUTqOmhK4GcknDr1xhfAPMCYmnTnFxtcUBeZA5ucUEiKpI4+0OPdLQ4SXv+MCG2RKxhTQwV 5diMuD4B9gjvl9ehtfl97spkAA1FBwd1mYQlNJ2E9S2ipf5prIIFvYagJPB7DVLMuSPteF7 EV9I7RLtLOWabjlbVe4a6j1gW3O/+JbSwf23ainXJSWM/u/26GdLOaR/hPvjiyUx1u7wP6N Advb11Ww4Hh7Hh48yI5g4j1nkCjuUqjkylngh6jaW6iVRa3V7Nt9kGGhbnQxqENHyo10YfM 8n9rswgYCGI= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 7135047628003693272 From: Juzhe-Zhong To: gcc-patches@gcc.gnu.org Cc: Juzhe-Zhong Subject: [Committed] RISC-V: Fix comments of segment load/store intrinsic Date: Tue, 9 Jan 2024 10:13:40 +0800 Message-Id: <20240109021340.1129665-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+incoming=patchwork.ozlabs.org@gcc.gnu.org We have supported segment load/store intrinsics. Committed as it is obvious. gcc/ChangeLog: * config/riscv/riscv-vector-builtins-functions.def (vleff): Move comments. (vundefined): Ditto. --- gcc/config/riscv/riscv-vector-builtins-functions.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/riscv/riscv-vector-builtins-functions.def b/gcc/config/riscv/riscv-vector-builtins-functions.def index 96dd0d95dec..f742c98be8a 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 @@ -630,6 +628,8 @@ 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) DEF_RVV_FUNCTION (vundefined, vundefined, none_preds, all_none_void_tuple_ops) + +// 7.8. Vector Load/Store Segment Instructions DEF_RVV_FUNCTION (vlseg, seg_loadstore, full_preds, tuple_v_scalar_const_ptr_ops) DEF_RVV_FUNCTION (vsseg, seg_loadstore, none_m_preds, tuple_v_scalar_ptr_ops) DEF_RVV_FUNCTION (vlsseg, seg_loadstore, full_preds, tuple_v_scalar_const_ptr_ptrdiff_ops)