]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
AArch64: Detect crc32 extension support from assembler 11391/head
authorAlexander Graf <agraf@suse.de>
Mon, 26 Sep 2016 14:26:37 +0000 (16:26 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 10 Oct 2016 12:51:44 +0000 (14:51 +0200)
commite70ab48b7f6d39a281b3ec65098535a55018b681
tree7e8814df4f812ba610fc7d645f7309a414f89d87
parent150d383272e2db62cdaf09b2a9ab11489185af0c
AArch64: Detect crc32 extension support from assembler

The used compiler may or may not be recent enough to recognize the
crc32 extended cpu type. However, it does not really have to know about
them either, since all we do is pass inline assembly instructions to
the assembler.

This patch moves the crc cpu extension detection from compiler based
to assembler based, so that we can build optimized code even when the
compiler does not know about the cpu type yet.

Fixes: http://tracker.ceph.com/issues/17516
Signed-off-by: Alexander Graf <agraf@suse.de>
cmake/modules/SIMDExt.cmake
src/CMakeLists.txt
src/common/crc32c_aarch64.c