crc: push the aarch64 crc optimization back to base functions

Some arm64 machines don't support pmull instructions, so set these
crc interface to base functions. For long-term solution, will
provide better multi-binary support with cpu features detection.

Change-Id: I02791a2a50283dc8df2f9ba124eb309912b5b4b7
Signed-off-by: Zhiyuan Zhu <zhiyuan.zhu@arm.com>
This commit is contained in:
Zhiyuan Zhu 2019-07-09 14:30:23 +08:00
parent 236fdcc28f
commit c80610a2bb

View File

@ -29,14 +29,14 @@
#include "multibinary_arm.h"
mbin_dispatch crc32_iscsi crc32_iscsi_refl_pmull
mbin_dispatch crc16_t10dif crc16_t10dif_pmull
mbin_dispatch crc16_t10dif_copy crc16_t10dif_copy_pmull
mbin_dispatch crc32_ieee crc32_ieee_norm_pmull
mbin_dispatch crc32_gzip_refl crc32_gzip_refl_pmull
mbin_dispatch crc64_ecma_refl crc64_ecma_refl_pmull
mbin_dispatch crc64_ecma_norm crc64_ecma_norm_pmull
mbin_dispatch crc64_iso_refl crc64_iso_refl_pmull
mbin_dispatch crc64_iso_norm crc64_iso_norm_pmull
mbin_dispatch crc64_jones_refl crc64_jones_refl_pmull
mbin_dispatch crc64_jones_norm crc64_jones_norm_pmull
mbin_dispatch crc32_iscsi crc32_iscsi_base
mbin_dispatch crc16_t10dif crc16_t10dif_base
mbin_dispatch crc16_t10dif_copy crc16_t10dif_copy_base
mbin_dispatch crc32_ieee crc32_ieee_base
mbin_dispatch crc32_gzip_refl crc32_gzip_refl_base
mbin_dispatch crc64_ecma_refl crc64_ecma_refl_base
mbin_dispatch crc64_ecma_norm crc64_ecma_norm_base
mbin_dispatch crc64_iso_refl crc64_iso_refl_base
mbin_dispatch crc64_iso_norm crc64_iso_norm_base
mbin_dispatch crc64_jones_refl crc64_jones_refl_base
mbin_dispatch crc64_jones_norm crc64_jones_norm_base