diff options
author | alkis <alkis@google.com> | 2017-06-06 01:05:05 -0700 |
---|---|---|
committer | Victor Costan <pwnall@chromium.org> | 2017-06-28 18:33:13 -0700 |
commit | 18488d6212331fee647ecfded85353ab3ad91de8 (patch) | |
tree | badc8a2a1525ba578d1eee56f611e67a1dc11651 /snappy-stubs-internal.h | |
parent | 7b9532b8781c5beaf99eef8ca7535d969a129d78 (diff) | |
download | snappy-git-18488d6212331fee647ecfded85353ab3ad91de8.tar.gz |
Use 64 bit little endian on ppc64le.
This has tangible performance benefits.
This lands https://github.com/google/snappy/pull/27
Diffstat (limited to 'snappy-stubs-internal.h')
-rw-r--r-- | snappy-stubs-internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/snappy-stubs-internal.h b/snappy-stubs-internal.h index f818970..6979e1a 100644 --- a/snappy-stubs-internal.h +++ b/snappy-stubs-internal.h @@ -52,6 +52,10 @@ // Enable 64-bit optimized versions of some routines. #define ARCH_K8 1 +#elif defined(__ppc64__) + +#define ARCH_PPC 1 + #endif // Needed by OS X, among others. |