[gcc r14-7021] RISC-V: Fix comments of segment load/store intrinsic [NFC]

Pan Li panli@gcc.gnu.org
Tue Jan 9 02:17:56 GMT 2024


https://gcc.gnu.org/g:2e4607666c3238a62d08468720549e70e71417c3

commit r14-7021-g2e4607666c3238a62d08468720549e70e71417c3
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date:   Tue Jan 9 10:13:40 2024 +0800

    RISC-V: Fix comments of segment load/store intrinsic [NFC]
    
    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.

Diff:
---
 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)


More information about the Gcc-cvs mailing list