]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: enable AVX512+VPCLMULQDQ for crc32c performance on x86 66150/head
authorMaodi Ma <mamaodi@hygon.cn>
Wed, 5 Nov 2025 02:35:46 +0000 (02:35 +0000)
committerMaodi Ma <mamaodi@hygon.cn>
Thu, 21 May 2026 09:30:13 +0000 (17:30 +0800)
commite941e8931811c0c88c12db5a829390c01c8f9c40
tree8591b47b5ee07e9edd21aa1fb53ee25535459db3
parentfefad99380e9cb4c9be50ee071d8e659f46704de
common: enable AVX512+VPCLMULQDQ for crc32c performance on x86

- Add crc32_iscsi_by16_10 in src/isa-l into candidates for ceph_crc32c
- Add hardware capability check for AVX512 instr before register
- Add NASM feature check to ensure compatibility and to enable
  AS_FEATURE_LEVEL in crc32_iscsi_by16_10.asm

Signed-off-by: Maodi Ma <mamaodi@hygon.cn>
cmake/modules/CheckNasm.cmake
src/CMakeLists.txt
src/arch/intel.c
src/arch/intel.h
src/common/CMakeLists.txt
src/common/crc32c.cc
src/common/crc32c_intel_fast.c
src/common/crc32c_intel_fast.h
src/include/config-h.in.cmake