openssl/crypto/poly1305
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 Add support for Poly1305 in EVP_PKEY 2017-01-24 15:40:37 +01:00
poly1305_ameth.c Add support for Poly1305 in EVP_PKEY 2017-01-24 15:40:37 +01:00
poly1305_base2_44.c poly1305/poly1305_base2_44.c: clarify shift boundary condition. 2017-01-21 22:33:38 +01:00
poly1305_ieee754.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
poly1305_local.h Convert poly1305 selftest into internal test 2016-11-03 13:13:31 +01:00
poly1305_pmeth.c Add support for Poly1305 in EVP_PKEY 2017-01-24 15:40:37 +01:00
poly1305.c Convert poly1305 selftest into internal test 2016-11-03 13:13:31 +01:00