diff options
author | Abseil Team <absl-team@google.com> | 2023-09-05 08:23:20 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-09-05 08:24:39 -0700 |
commit | 1a882833c0e81309d0d72d46c768820744d053df (patch) | |
tree | 8f322708542c0bdb317f034f8259d9e7501bc356 /absl/crc/CMakeLists.txt | |
parent | fc44fa053cc91193d2bb60fb9356bcecb301242e (diff) |
Add support for ARM intrinsics in crc_memcpy
This change replaces inline x86 intrinsics with generic versions that compile
for both x86 and ARM depending on the target arch.
This change does not enable the accelerated crc memcpy engine on ARM. That will
be done in a subsequent change after the optimal number of vector and integer
regions for different CPUs is determined.
PiperOrigin-RevId: 562785420
Change-Id: I8ba4aa8de17587cedd92532f03767059a481f159
Diffstat (limited to 'absl/crc/CMakeLists.txt')
-rw-r--r-- | absl/crc/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/absl/crc/CMakeLists.txt b/absl/crc/CMakeLists.txt index 21247160..ec7b4512 100644 --- a/absl/crc/CMakeLists.txt +++ b/absl/crc/CMakeLists.txt @@ -42,10 +42,8 @@ absl_cc_library( ${ABSL_DEFAULT_COPTS} DEPS absl::crc_cpu_detect - absl::base absl::config absl::core_headers - absl::dynamic_annotations absl::endian absl::prefetch absl::raw_logging_internal @@ -64,7 +62,7 @@ absl_cc_library( "crc32c.cc" "internal/crc32c_inline.h" "internal/crc_memcpy_fallback.cc" - "internal/crc_memcpy_x86_64.cc" + "internal/crc_memcpy_x86_arm_combined.cc" "internal/crc_non_temporal_memcpy.cc" COPTS ${ABSL_DEFAULT_COPTS} @@ -74,7 +72,6 @@ absl_cc_library( absl::non_temporal_memcpy absl::config absl::core_headers - absl::dynamic_annotations absl::endian absl::prefetch absl::str_format |