]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: use isa-l's crc32 to implement fast crc32 on IA arch
authorChangcheng Liu <changcheng.liu@aliyun.com>
Wed, 28 Oct 2020 06:46:21 +0000 (14:46 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Thu, 29 Oct 2020 04:35:44 +0000 (12:35 +0800)
commitb6ac9250882e2f8b91e189fbaf611461c0e0687c
tree1a4ba918bfc69b01abf1b8e7520e6cd36a44bc17
parent0042d244d48fa37995155682ed98987ba9f2c4af
common: use isa-l's crc32 to implement fast crc32 on IA arch

1. Accoring to the commit history, crc32c_intel_fast_asm.s is copied from
isa-l's crc32_iscsi_00.asm. Let's use isa-l's crc32 to replace the old
one.
2. For nasm, it doesn't recongized "rip". Change all the address to be
rip relative by adding "default rel".

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/common/CMakeLists.txt
src/common/crc32c_intel_fast_asm.s [deleted file]
src/common/crc32c_intel_fast_zero_asm.s