From e40de185380bcc8ed1bb81b92b43cae25d661eaf Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 28 May 2019 20:18:58 -0400 Subject: [PATCH] Update comments --- blake2s_simd.cpp | 9 ++++----- 1 file 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) {