openssl/crypto/sha
Andy Polyakov 64d92d7498 x86_64 assembly pack: "optimize" for Knights Landing, add AVX-512 results.
"Optimize" is in quotes because it's rather a "salvage operation"
for now. Idea is to identify processor capability flags that
drive Knights Landing to suboptimial code paths and mask them.
Two flags were identified, XSAVE and ADCX/ADOX. Former affects
choice of AES-NI code path specific for Silvermont (Knights Landing
is of Silvermont "ancestry"). And 64-bit ADCX/ADOX instructions are
effectively mishandled at decode time. In both cases we are looking
at ~2x improvement.

AVX-512 results cover even Skylake-X :-)

Hardware used for benchmarking courtesy of Atos, experiments run by
Romain Dolbeau <romain.dolbeau@atos.net>. Kudos!

Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-07-21 14:07:32 +02:00
..
asm x86_64 assembly pack: "optimize" for Knights Landing, add AVX-512 results. 2017-07-21 14:07:32 +02:00
build.info MIPS assembly pack: adapt it for MIPS[32|64]R6. 2016-09-02 13:33:17 +02:00
keccak1600.c sha/keccak1600.c: internalize KeccakF1600 and simplify SHA3_absorb. 2017-07-03 18:18:10 +02:00
sha1_one.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
sha1dgst.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
sha256.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
sha512.c sha/sha512.c: fix formatting. 2017-05-05 17:04:09 +02:00
sha_locl.h Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00