Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Proposal: Add build-selectable SVE2-256 architecture support

未关闭
#143 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
cpp

调研方向

首先阅读 include/sonic/internal/arch 下现有的 SVE2-128 实现,并检查如何通过 build 提供架构选择。然后检查现有的 benchmark 测试数据和 benchmark 结果。完成标准是提供一个已接受且可通过 build 选择的 SVE2-256 实现,覆盖序列化和反序列化,并针对所述的 NEON 基线进行 benchmark 评估。

由索引模型根据 Issue 内容生成。

描述

The repository currently contains an SVE2-128 implementation under
include/sonic/internal/arch.

SVE2-256 is commonly used on Kunpeng950. Adding a separate SVE2-256
implementation would allow the code to take advantage of the wider vector
width and higher data-parallel throughput while continuing to use SVE2
instructions.

The implementation would be selected through a build option. The change is
approximately 1,200 lines and includes optimizations for
both serialization and deserialization.

In preliminary testing with Clang 16 and the existing benchmark testdata,
compared with the NEON build on the same Kunpeng950 system:

  • Deserialization shows about 13%+ average CPU-time reduction, up to 35%.
  • Serialization shows about 4% average CPU-time reduction, up to 15%.

Could you please confirm:

  1. Is adding a separate SVE2-256 architecture directory acceptable?
  2. Is the existing testdata sufficient for benchmark evaluation?
  3. Is the NEON build on the same Kunpeng950 system an acceptable baseline?
主要语言
C++
星标
976
派生
128
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

bytedance/sonic-cpp 的其他 Issue

查看 bytedance/sonic-cpp 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。