diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-08-10 01:24:32 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-08-10 01:24:32 -0400 |
commit | eddc3579813722f5fde138463982994cf5776600 (patch) | |
tree | 82e6d6a580f8c22796480ea9783083eab7bf63ad /bench2.cpp | |
parent | b44de10e187369c889fd77014a876d6fdcacd13c (diff) | |
download | cryptopp-git-eddc3579813722f5fde138463982994cf5776600.tar.gz |
Use shifts for VectorGetLow
Diffstat (limited to 'bench2.cpp')
-rw-r--r-- | bench2.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -234,6 +234,10 @@ void Benchmark2(double t, double hertz) if (HasPMULL())
BenchMarkByName2<AuthenticatedSymmetricCipher, AuthenticatedSymmetricCipher>("AES/GCM", 0, "AES/GCM");
else
+#elif CRYPTOPP_POWER8_VMULL_AVAILABLE
+ if (HasPMULL())
+ BenchMarkByName2<AuthenticatedSymmetricCipher, AuthenticatedSymmetricCipher>("AES/GCM", 0, "AES/GCM");
+ else
#endif
{
BenchMarkByName2<AuthenticatedSymmetricCipher, AuthenticatedSymmetricCipher>("AES/GCM", 0, "AES/GCM (2K tables)", MakeParameters(Name::TableSize(), 2048));
|