diff options
author | Abseil Team <absl-team@google.com> | 2023-09-07 06:52:28 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-09-07 06:53:24 -0700 |
commit | 433289a2586aa959241cf73675eadefaf21211b1 (patch) | |
tree | 9bf28efde37cb93685f87172dca0ef4fdad02f76 /absl/crc/CMakeLists.txt | |
parent | 7c05348692d70df64110d5d3e10ba90545870aeb (diff) |
Roll forward support for ARM intrinsics in crc_memcpy
This CL rolls forward a previous change which we rolled back temporarily due to
compilation errors on x86 when PCLMUL intrinsics were unavailable.
*** Original change description ***
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: 563416413
Change-Id: Iee630a15ed83c26659adb0e8a03d3f3d3a46d688
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 |