From 9a987b4867b57aada0d0f848bb2dc4f978f154be Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 24 Nov 2018 04:43:14 -0500 Subject: [PATCH] Fix compile error with GCC on POWER7 --- ppc_simd.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ppc_simd.h b/ppc_simd.h index 9456e419..dbefa1f8 100644 --- a/ppc_simd.h +++ b/ppc_simd.h @@ -1145,14 +1145,14 @@ inline uint32x4_p VecRotateLeft(const uint32x4_p vec) return vec_rl(vec, m); } -#if defined(_ARCH_PWR7) || defined(CRYPTOPP_DOXYGEN_PROCESSING) +#if defined(_ARCH_PWR8) || defined(CRYPTOPP_DOXYGEN_PROCESSING) /// \brief Rotate a packed vector left /// \tparam C shift bit count /// \param vec the vector /// \returns vector /// \details VecRotateLeft() rotates each element in a packed vector by bit count. -/// \details VecRotateLeft() with 64-bit elements is available on POWER7 and above. +/// \details VecRotateLeft() with 64-bit elements is available on POWER8 and above. /// \par Wraps /// vec_rl /// \since Crypto++ 8.0 @@ -1180,14 +1180,14 @@ inline uint32x4_p VecRotateRight(const uint32x4_p vec) return vec_rl(vec, m); } -#if defined(_ARCH_PWR7) || defined(CRYPTOPP_DOXYGEN_PROCESSING) +#if defined(_ARCH_PWR8) || defined(CRYPTOPP_DOXYGEN_PROCESSING) /// \brief Rotate a packed vector right /// \tparam C shift bit count /// \param vec the vector /// \returns vector /// \details VecRotateRight() rotates each element in a packed vector by bit count. -/// \details VecRotateRight() with 64-bit elements is available on POWER7 and above. +/// \details VecRotateRight() with 64-bit elements is available on POWER8 and above. /// \par Wraps /// vec_rl /// \since Crypto++ 8.0