diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-04-04 04:01:01 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-04-04 04:01:01 -0400 |
commit | 9d238c2de8357a5b8fba818c23972be88343d3b9 (patch) | |
tree | b85e5cb0c16e0e99d9581e47366a3b090a6532b6 /ppc_simd.h | |
parent | 6956ee74f496c69f14fd01d04c5fdcc7adc6d51d (diff) | |
download | cryptopp-git-9d238c2de8357a5b8fba818c23972be88343d3b9.tar.gz |
Update documentation
Diffstat (limited to 'ppc_simd.h')
-rw-r--r-- | ppc_simd.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -476,7 +476,7 @@ inline uint32x4_p VecLoadAligned(const byte src[16]) /// \param off offset into the byte array
/// \details VecLoadAligned() loads a vector in from an aligned byte array.
/// \details VecLoad() uses POWER7's and VSX's <tt>vec_xl</tt> if available.
-/// <tt>vec_ld</tt> is used if POWER7 is not available. The effective
+/// <tt>vec_ld</tt> is used if POWER7 or VSX are not available. The effective
/// address of <tt>src+off</tt> must be aligned.
/// \par Wraps
/// vec_ld, vec_xl
@@ -499,7 +499,7 @@ inline uint32x4_p VecLoadAligned(int off, const byte src[16]) /// will reverse all bytes in the array on a little endian system.
/// \details VecLoadBE() uses POWER7's and VSX's <tt>vec_xl</tt> if available.
/// The instruction does not require aligned effective memory addresses.
-/// VecLoad_ALTIVEC() is used if POWER7 is not available.
+/// VecLoad_ALTIVEC() is used if POWER7 or VSX are not available.
/// VecLoad_ALTIVEC() can be relatively expensive if extra instructions
/// are required to fix up unaligned memory addresses.
/// \par Wraps
@@ -511,7 +511,7 @@ inline uint32x4_p VecLoadBE(const byte src[16]) #if defined(_ARCH_PWR9)
return (uint32x4_p)vec_xl_be(off, CONST_V8_CAST(src));
#elif (CRYPTOPP_BIG_ENDIAN)
- return (uint32x4_p)VecLoad(off, CONST_V8_CAST(src));
+ return (uint32x4_p)VecLoad(off, CONST_V32_CAST(src));
#else
return (uint32x4_p)VecReverse(VecLoad(off, src));
#endif
|