]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
AArch64: Detect crc32 extension support from assembler 11492/head
authorAlexander Graf <agraf@suse.de>
Mon, 26 Sep 2016 08:26:30 +0000 (10:26 +0200)
committerNathan Cutler <ncutler@suse.com>
Fri, 14 Oct 2016 07:27:22 +0000 (09:27 +0200)
commit91bd342df6de15263004f3a41c285f6658a16d45
tree04c84b917f7c80dd48226dbd573aa954b5ea12f6
parent65e8bbccdb73cc6696736367a3df59ea3dcfda1f
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.

Signed-off-by: Alexander Graf <agraf@suse.de>
(manual backport of e70ab48b7f6d39a281b3ec65098535a55018b681 - manual backport
was undertaken because jewel uses autotools)
m4/ax_arm.m4
src/common/Makefile.am
src/common/crc32c_aarch64.c