summaryrefslogtreecommitdiff
path: root/ppc_simd.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-04-09 13:48:19 -0400
committerJeffrey Walton <noloader@gmail.com>2020-04-09 13:48:19 -0400
commit61eedae6d88e7c6289e7eb318bb3afa9d2afa0a2 (patch)
tree24fee145246b6d868692cda47e35906712543c8b /ppc_simd.h
parenta849c7b249cdd4317ee6b09e035e657f90aa7a5b (diff)
downloadcryptopp-git-61eedae6d88e7c6289e7eb318bb3afa9d2afa0a2.tar.gz
Fix preprocessor test
Diffstat (limited to 'ppc_simd.h')
-rw-r--r--ppc_simd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppc_simd.h b/ppc_simd.h
index fa2b3b4d..05b378b0 100644
--- a/ppc_simd.h
+++ b/ppc_simd.h
@@ -2300,7 +2300,7 @@ inline uint32x4_p VecSplatWord64(word64 val)
template <unsigned int N>
inline uint32x4_p VecSplatElement64(const uint32x4_p val)
{
-#if defined(__VSX__) && defined(_ARCH_PWR8)
+#if defined(__VSX__) || defined(_ARCH_PWR8)
return vec_splat((uint64x2_p)val, N);
#else
enum {E=N&1};