diff options
author | Andy Polyakov <appro@openssl.org> | 2018-06-02 14:03:27 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-06-03 21:20:06 +0200 |
commit | 41013cd63c068e2f271fabc92702ee67d800f0cb (patch) | |
tree | 51fae99bc0bb6a7cb78500bc5109f2f86cd03d83 /crypto/poly1305 | |
parent | {arm64|x86_64}cpuid.pl: add special 16-byte case to OPENSSL_memcmp. (diff) | |
download | openssl-41013cd63c068e2f271fabc92702ee67d800f0cb.tar.xz openssl-41013cd63c068e2f271fabc92702ee67d800f0cb.zip |
PPC assembly pack: correct POWER9 results.
As it turns out originally published results were skewed by "turbo"
mode. VM apparently remains oblivious to dynamic frequency scaling,
and reports that processor operates at "base" frequency at all times.
While actual frequency gets increased under load.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6406)
Diffstat (limited to 'crypto/poly1305')
-rwxr-xr-x | crypto/poly1305/asm/poly1305-ppc.pl | 2 | ||||
-rwxr-xr-x | crypto/poly1305/asm/poly1305-ppcfp.pl | 1 | ||||
-rw-r--r-- | crypto/poly1305/poly1305_ieee754.c | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/crypto/poly1305/asm/poly1305-ppc.pl b/crypto/poly1305/asm/poly1305-ppc.pl index cb4ae23869..0c6d015d58 100755 --- a/crypto/poly1305/asm/poly1305-ppc.pl +++ b/crypto/poly1305/asm/poly1305-ppc.pl @@ -28,7 +28,7 @@ # PPC970 7.00/+114% 3.51/+205% # POWER7 3.75/+260% 1.93/+100% # POWER8 - 2.03/+200% -# POWER9 - 1.56/+150% +# POWER9 - 2.00/+150% # # Do we need floating-point implementation for PPC? Results presented # in poly1305_ieee754.c are tricky to compare to, because they are for diff --git a/crypto/poly1305/asm/poly1305-ppcfp.pl b/crypto/poly1305/asm/poly1305-ppcfp.pl index 2abb8e20b4..09f8185848 100755 --- a/crypto/poly1305/asm/poly1305-ppcfp.pl +++ b/crypto/poly1305/asm/poly1305-ppcfp.pl @@ -26,7 +26,6 @@ # PPC970 6.03/+80% # POWER7 3.50/+30% # POWER8 3.75/+10% -# POWER9 2.80/+12% $flavour = shift; diff --git a/crypto/poly1305/poly1305_ieee754.c b/crypto/poly1305/poly1305_ieee754.c index 1a06e03558..995a02e5c1 100644 --- a/crypto/poly1305/poly1305_ieee754.c +++ b/crypto/poly1305/poly1305_ieee754.c @@ -38,7 +38,6 @@ * POWER6 4.92 * POWER7 4.50 * POWER8 4.10 - * POWER9 3.14 * * z10 11.2 * z196+ 7.30 |