bufhelp: disable unaligned memory accesses on powerpc
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 13 Feb 2016 18:12:58 +0000 (20:12 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 13 Feb 2016 18:12:58 +0000 (20:12 +0200)
* cipher/bufhelp.h (BUFHELP_FAST_UNALIGNED_ACCESS): Disable for
__powerpc__ and __powerpc64__.

--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/bufhelp.h

index c1aa52e..aec4f1c 100644 (file)
@@ -27,7 +27,6 @@
 #if defined(HAVE_GCC_ATTRIBUTE_PACKED) && \
     defined(HAVE_GCC_ATTRIBUTE_ALIGNED) && \
     (defined(__i386__) || defined(__x86_64__) || \
-     defined(__powerpc__) || defined(__powerpc64__) || \
      (defined(__arm__) && defined(__ARM_FEATURE_UNALIGNED)) || \
      defined(__aarch64__))
 /* These architectures are able of unaligned memory accesses and can