Merge pull request #32 from antonblanchard/ppc64_unaligned

Set UNALIGNED_ACCESS_IS_FAST on powerpc64
This commit is contained in:
ebiggers 2018-05-12 21:49:24 -07:00 committed by GitHub
commit 203c1a8989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@
# define bswap64 __builtin_bswap64 # define bswap64 __builtin_bswap64
#endif #endif
#if defined(__x86_64__) || defined(__i386__) || defined(__ARM_FEATURE_UNALIGNED) #if defined(__x86_64__) || defined(__i386__) || defined(__ARM_FEATURE_UNALIGNED) || defined(__powerpc64__)
# define UNALIGNED_ACCESS_IS_FAST 1 # define UNALIGNED_ACCESS_IS_FAST 1
#endif #endif