]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common,arch,cmake: add RISC-V crc32c support 66026/head
authorlvshuo2016 <lv.shuo@sanechips.com.cn>
Wed, 22 Oct 2025 10:09:52 +0000 (18:09 +0800)
committerlvshuo2016 <lv.shuo@sanechips.com.cn>
Tue, 17 Mar 2026 02:11:04 +0000 (10:11 +0800)
commit01dc12ad5651f0957a0b46cd311a7ab8e7100d86
tree6d4677406b9de8759004fcf203e9cf4654f24682
parentbc790edf6c887ddbc6c1dc95f46b35f059a8e873
common,arch,cmake: add RISC-V crc32c support

This adds hardware-accelerated crc32c support for the RISC-V
architecture. It includes the feature implementation, necessary
CMake configuration, and plumbing in src/arch/riscv.c to correctly
detect and select the optimized instructions.

Signed-off-by: lvshuo2016 <lv.shuo@sanechips.com.cn>
cmake/modules/SIMDExt.cmake
src/arch/CMakeLists.txt
src/arch/probe.cc
src/arch/riscv.c [new file with mode: 0644]
src/arch/riscv.h [new file with mode: 0644]
src/common/CMakeLists.txt
src/common/crc32c.cc
src/common/crc32c_riscv.c [new file with mode: 0644]
src/common/crc32c_riscv.h [new file with mode: 0644]
src/include/config-h.in.cmake