summaryrefslogtreecommitdiff
path: root/ppc_simd.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-04-08 21:43:28 -0400
committerJeffrey Walton <noloader@gmail.com>2020-04-08 21:43:28 -0400
commit38df1c0024e1217e1064d1800140586c523b1c74 (patch)
tree01723d811f5634e8566794f2608f5f4b7da715eb /ppc_simd.h
parent8d1760a8f93be88699c2e529a2e48e432abe0ed9 (diff)
downloadcryptopp-git-38df1c0024e1217e1064d1800140586c523b1c74.tar.gz
Use VecSplatWord instaed of VecSplats
Diffstat (limited to 'ppc_simd.h')
-rw-r--r--ppc_simd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ppc_simd.h b/ppc_simd.h
index 5ee0f9a3..1bb91d99 100644
--- a/ppc_simd.h
+++ b/ppc_simd.h
@@ -1763,7 +1763,7 @@ inline T VecMergeHigh(const T vec1, const T vec2)
/// \param val the 32-bit value
/// \returns vector
/// \since Crypto++ 8.3
-inline uint32x4_p VecSplats(word32 val)
+inline uint32x4_p VecSplatWord(word32 val)
{
#if defined(_ARCH_PWR8)
return vec_splats(val);
@@ -1778,7 +1778,7 @@ inline uint32x4_p VecSplats(word32 val)
/// \param val the 64-bit value
/// \returns vector
/// \since Crypto++ 8.3
-inline uint64x2_p VecSplats(word64 val)
+inline uint64x2_p VecSplatWord(word64 val)
{
// The PPC64 ABI says so.
return vec_splats((unsigned long long)val);
@@ -2208,7 +2208,7 @@ inline T1 VecXor64(const T1 vec1, const T2 vec2)
/// \param val the 64-bit value
/// \returns vector
/// \since Crypto++ 8.3
-inline uint32x4_p VecSplats64(word64 val)
+inline uint32x4_p VecSplatWord64(word64 val)
{
#if defined(_ARCH_PWR8)
// The PPC64 ABI says so.