diff options
author | Andy Polyakov <appro@openssl.org> | 2016-10-14 13:25:06 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2016-10-24 13:01:13 +0200 |
commit | ace05265d2d599e350cf84ed60955b7f2b173bc9 (patch) | |
tree | 5c5ef8cf19ac7aa60e3eca068bd3ca8e1558129c /crypto/sha | |
parent | sha/keccak1600.c: add known answer and verify result with memcmp. (diff) | |
download | openssl-ace05265d2d599e350cf84ed60955b7f2b173bc9.tar.xz openssl-ace05265d2d599e350cf84ed60955b7f2b173bc9.zip |
x86_64 assembly pack: add Goldmont performance results.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to '')
-rwxr-xr-x | crypto/sha/asm/sha1-x86_64.pl | 2 | ||||
-rw-r--r-- | crypto/sha/asm/sha512-586.pl | 1 | ||||
-rwxr-xr-x | crypto/sha/asm/sha512-x86_64.pl | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/crypto/sha/asm/sha1-x86_64.pl b/crypto/sha/asm/sha1-x86_64.pl index 66054ceeae..f06fa515a2 100755 --- a/crypto/sha/asm/sha1-x86_64.pl +++ b/crypto/sha/asm/sha1-x86_64.pl @@ -85,9 +85,11 @@ # VIA Nano 9.32 7.15/+30% # Atom 10.3 9.17/+12% # Silvermont 13.1(*) 9.37/+40% +# Goldmont 8.13 6.42/+27% 1.70/+380%(**) # # (*) obviously suboptimal result, nothing was done about it, # because SSSE3 code is compiled unconditionally; +# (**) SHAEXT result $flavour = shift; $output = shift; diff --git a/crypto/sha/asm/sha512-586.pl b/crypto/sha/asm/sha512-586.pl index 94cc0114f8..448ac73e06 100644 --- a/crypto/sha/asm/sha512-586.pl +++ b/crypto/sha/asm/sha512-586.pl @@ -36,6 +36,7 @@ # VIA Nano 91 - 52 33 14.7 # Atom 126 - 68 48(***) 14.7 # Silvermont 97 - 58 42(***) 17.5 +# Goldmont 80 - 48 19.5 12.0 # # (*) whichever best applicable. # (**) x86_64 assembler performance is presented for reference diff --git a/crypto/sha/asm/sha512-x86_64.pl b/crypto/sha/asm/sha512-x86_64.pl index 01bbb7775f..5a1cbcf0ca 100755 --- a/crypto/sha/asm/sha512-x86_64.pl +++ b/crypto/sha/asm/sha512-x86_64.pl @@ -98,8 +98,9 @@ # VIA Nano 23.0 16.5(+39%) - 14.7 - # Atom 23.0 18.9(+22%) - 14.7 - # Silvermont 27.4 20.6(+33%) - 17.5 - +# Goldmont 18.9 14.3(+32%) 4.16(+350%) 12.0 - # -# (*) whichever best applicable; +# (*) whichever best applicable, including SHAEXT; # (**) switch from ror to shrd stands for fair share of improvement; # (***) execution time is fully determined by remaining integer-only # part, body_00_15; reducing the amount of SIMD instructions |