Tencent/ncnn

Update RVV intrinsic code from 0.7.1 to 1.0 standard in PR #4907

Closed this issue · 1 comments

难度:困难

本issue为2025犀牛鸟开源人才培养活动专属issue

TBA

Problem Description

PR #4907 (#4907) implemented RVV optimizations using RVV intrinsic version 0.7.1. With the finalization of RVV 1.0 standard, this code no longer compiles under the new intrinsic specification.

Request

Update the RVV intrinsic code in PR #4907 to be compatible with RVV 1.0 standard while:

  1. Maintaining the original optimization logic and functionality
  2. Preserving original author information and attribution
  3. Using proper SPDX-style license headers

Required Changes

The main changes needed include:

  1. Update intrinsic function names
  2. Adjust type system changes in RVV 1.0
  3. Update vector length specification methods
  4. Modify any deprecated or removed intrinsics

Additional Notes

  1. Please maintain all original performance optimizations
  2. Keep the same code structure where possible
  3. Add compatibility macros if needed to support multiple RVV versions
  4. Test thoroughly on hardware supporting RVV 1.0

This update will help keep ncnn compatible with modern RISC-V toolchains while preserving the performance improvements from the original PR.

已成功领取本issue