]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
arch: add support for HW_CAP based neon runtime detection 3035/head
authorLoic Dachary <ldachary@redhat.com>
Fri, 28 Nov 2014 17:47:58 +0000 (18:47 +0100)
committerLoic Dachary <ldachary@redhat.com>
Thu, 4 Dec 2014 22:53:01 +0000 (23:53 +0100)
commitff901b5cd4e402ecd44ef3378c19124522fd0ed3
treeb86c6398548d5e781eeb29f25187164ab1b4acd9
parent96d06a5f5c5a3a0b45f9ffddff3fc46609127f1e
arch: add support for HW_CAP based neon runtime detection

Rename the files from neon to arm to reflect the fact that it's related
to arm processors and also because NEON was renamed ASIMD later. The
NEON and ASIMD features are mutually exclusive. 32bits binaries will get
NEON and never ASIMD, if they run on ARMv7 or ARMv8. 64bits binaries
will only run on ARMv8 and get ASIMD and never NEON.

The flag remains with _neon and no other flag is introduced since there
is no risk of confusion. Besides people who care usually know NEON but
are not yet aware of the ASIMD renaming. Keeping the _neon name probably
saves some questions.

http://tracker.ceph.com/issues/10197 Fixes: #10197

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/arch/Makefile.am
src/arch/arm.c [new file with mode: 0644]
src/arch/arm.h [new file with mode: 0644]
src/arch/neon.c [deleted file]
src/arch/neon.h [deleted file]
src/arch/probe.cc
src/erasure-code/jerasure/ErasureCodePluginSelectJerasure.cc
src/test/erasure-code/TestErasureCodePluginJerasure.cc
src/test/test_arch.cc