diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-04-07 08:08:27 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-04-07 08:08:27 -0400 |
commit | 5980ea3b2db13f4e257b4e0fd0980c70890940a8 (patch) | |
tree | ac27f674efd25e6f6c5a50670c068d67da0e7156 /ppc_simd.h | |
parent | bf5ddf1218d78649292c2b173ddbc86edd82cfd5 (diff) | |
download | cryptopp-git-5980ea3b2db13f4e257b4e0fd0980c70890940a8.tar.gz |
Update documentation
Diffstat (limited to 'ppc_simd.h')
-rw-r--r-- | ppc_simd.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1734,7 +1734,7 @@ inline uint64x2_p VecAdd64(const uint64x2_p& vec1, const uint64x2_p& vec2) inline uint32x4_p VecSub64(const uint32x4_p& vec1, const uint32x4_p& vec2)
{
#if defined(_ARCH_PWR8)
- // 64-bit elements available at POWER7 with VSX, but addudm requires POWER8
+ // 64-bit elements available at POWER7 with VSX, but subudm requires POWER8
return (uint32x4_p)vec_sub((uint64x2_p)vec1, (uint64x2_p)vec2);
#else
// The borrow mask selects borrows for elements 1 and 3 and sets remaining
@@ -1764,7 +1764,7 @@ inline uint32x4_p VecSub64(const uint32x4_p& vec1, const uint32x4_p& vec2) /// \since Crypto++ 8.3
inline uint64x2_p VecSub64(const uint64x2_p& vec1, const uint64x2_p& vec2)
{
- // 64-bit elements available at POWER7 with VSX, but addudm requires POWER8
+ // 64-bit elements available at POWER7 with VSX, but subudm requires POWER8
return vec_sub(vec1, vec2);
}
#endif
|