diff options
author | Copybara-Service <copybara-worker@google.com> | 2022-12-06 12:50:54 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-12-06 12:50:54 -0800 |
commit | bcc29b8c261b2fa843889c63b79118398b9df4a3 (patch) | |
tree | 460cc2bfd0ece7882236eec24242b4eada0b7f38 /absl/crc/internal | |
parent | a99a183cabbc445aa36d2270795e0d6ff1f25dbf (diff) | |
parent | 21be1daa1cf9650a2bce273f658ad57819a80b8d (diff) |
Merge pull request #1338 from MBkkt:patch-5
PiperOrigin-RevId: 493386604
Change-Id: I289cb38b4a3da5760ab7ef3976d402d165d7e10f
Diffstat (limited to 'absl/crc/internal')
-rw-r--r-- | absl/crc/internal/non_temporal_memcpy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/crc/internal/non_temporal_memcpy.h b/absl/crc/internal/non_temporal_memcpy.h index 6cdd3197..b3d94bad 100644 --- a/absl/crc/internal/non_temporal_memcpy.h +++ b/absl/crc/internal/non_temporal_memcpy.h @@ -41,8 +41,8 @@ #include <algorithm> #include <cassert> +#include <cstdint> #include <cstring> -#include <iostream> #include "absl/base/config.h" #include "absl/base/optimization.h" @@ -60,7 +60,7 @@ constexpr size_t kCacheLineSize = ABSL_CACHELINE_SIZE; // If the objects overlap, the behavior is undefined. inline void *non_temporal_store_memcpy(void *__restrict dst, const void *__restrict src, size_t len) { -#if defined(__SSE3__) || defined(__aarch64__) || \ +#if defined(__SSE3__) || defined(__aarch64__) || \ (defined(_MSC_VER) && defined(__AVX__)) // This implementation requires SSE3. // MSVC cannot target SSE3 directly, but when MSVC targets AVX, |