Replace ARCH_K8 with __x86_64__.

PiperOrigin-RevId: 321389098
This commit is contained in:
Chris Kennelly
2020-07-15 17:34:03 +00:00
committed by Victor Costan
parent 4dd277fed4
commit 7ffaf77cf4
2 changed files with 2 additions and 4 deletions

View File

@@ -96,7 +96,7 @@ char* CompressFragment(const char* input,
//
// Separate implementation for 64-bit, little-endian cpus.
#if !defined(SNAPPY_IS_BIG_ENDIAN) && \
(defined(ARCH_K8) || defined(ARCH_PPC) || defined(ARCH_ARM))
(defined(__x86_64__) || defined(_M_X64) || defined(ARCH_PPC) || defined(ARCH_ARM))
static inline std::pair<size_t, bool> FindMatchLength(const char* s1,
const char* s2,
const char* s2_limit,