diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-05-28 20:18:58 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-05-28 20:18:58 -0400 |
commit | e40de185380bcc8ed1bb81b92b43cae25d661eaf (patch) | |
tree | 6fa86c7cf9a22f9f7be4a7be183a07a9df0231ae /blake2s_simd.cpp | |
parent | b61da7acfedc18f8d18de6dcfd66c23be76a8a7b (diff) | |
download | cryptopp-git-e40de185380bcc8ed1bb81b92b43cae25d661eaf.tar.gz |
Update comments
Diffstat (limited to 'blake2s_simd.cpp')
-rw-r--r-- | blake2s_simd.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/blake2s_simd.cpp b/blake2s_simd.cpp index ff461da8..f02b9771 100644 --- a/blake2s_simd.cpp +++ b/blake2s_simd.cpp @@ -8,9 +8,9 @@ // appropriate instructions sets in some build configurations.
// The BLAKE2b and BLAKE2s numbers are consistent with the BLAKE2 team's
-// numbers. However, we have an Altivec/POWER7 implementation of BLAKE2s,
+// numbers. However, we have an Altivec/POWER8 implementation of BLAKE2s,
// and a POWER8 implementation of BLAKE2b (BLAKE2 is missing them). The
-// Altivec/POWER7 code is about 2x faster than C++ when using GCC 5.0 or
+// Altivec/POWER8 code is about 2x faster than C++ when using GCC 5.0 or
// above. The POWER8 code is about 2.5x faster than C++ when using GCC 5.0
// or above. If you use GCC 4.0 (PowerMac) or GCC 4.8 (GCC Compile Farm)
// then the PowerPC code will be slower than C++. Be sure to use GCC 5.0
@@ -38,7 +38,6 @@ // https://github.com/weidai11/cryptopp/issues/743
#if defined(__xlC__) && (__xlC__ < 0x0d01)
# define CRYPTOPP_DISABLE_ALTIVEC 1
-# undef CRYPTOPP_POWER7_AVAILABLE
# undef CRYPTOPP_POWER8_AVAILABLE
# undef CRYPTOPP_ALTIVEC_AVAILABLE
#endif
@@ -863,10 +862,10 @@ uint32x4_p VectorSet32<3,1,3,1>(const uint32x4_p a, const uint32x4_p b, return VecPermute(a, c, mask);
}
-// BLAKE2_Compress32_CORE will use either POWER7 or ALTIVEC,
+// BLAKE2_Compress32_CORE will use either POWER8 or ALTIVEC,
// depending on the flags used to compile this source file. The
// abstractions are handled in VecLoad, VecStore and friends. In
-// the future we may to provide both POWER7 or ALTIVEC at the same
+// the future we may provide both POWER8 or ALTIVEC at the same
// time to better support distros.
void BLAKE2_Compress32_CORE(const byte* input, BLAKE2s_State& state)
{
|