]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/crc32c_aarch64: fix crc32c unittest failed on aarch64 41393/head
authorluo rixin <luorixin@huawei.com>
Wed, 19 May 2021 02:27:18 +0000 (10:27 +0800)
committerluo rixin <luorixin@huawei.com>
Wed, 19 May 2021 10:27:26 +0000 (18:27 +0800)
commit06ca2eba72fa5c23602f45dfeb770c62d1f20a76
tree9dd29f2bab63520d1b340ce6833be21e65b09b7a
parent49b027da4e7b8f27924f75f8612c5cb4d124b73d
common/crc32c_aarch64: fix crc32c unittest failed on aarch64

On centos 8.2 for aarch64 with gcc 8.3, the complier will use
register v0 conflicting with the register v0 be usded in inline
asm code. Adding the related registers into clobber list to inform
complier avoiding the confict.

Fixes: https://tracker.ceph.com/issues/50835
Signed-off-by: luo rixin <luorixin@huawei.com>
src/common/crc32c_aarch64.c