poly1305/asm/poly1305-x86_64.pl: switch to pure AVX512F.
authorAndy Polyakov <appro@openssl.org>
Mon, 20 Nov 2017 09:24:14 +0000 (10:24 +0100)
committerAndy Polyakov <appro@openssl.org>
Sat, 25 Nov 2017 21:06:10 +0000 (22:06 +0100)
commita8f302e5bae18ce129b81a3f7a5f3ea7f9785ca1
tree7aaeff23531ff295f6803e1857c1e5c7f2bb32ce
parent10a3195fcf7d04ba519651cf12e945a8fe470a3c
poly1305/asm/poly1305-x86_64.pl: switch to pure AVX512F.

Convert AVX512F+VL+BW code path to pure AVX512F, so that it can be
executed even on Knights Landing. Trigger for modification was
observation that AVX512 code paths can negatively affect overall
Skylake-X system performance. Since we are likely to suppress
AVX512F capability flag [at least on Skylake-X], conversion serves
as kind of "investment protection".

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4758)
crypto/poly1305/asm/poly1305-x86_64.pl