Integrated: 8325991: Accelerate Poly1305 on x86_64 using AVX2 instructions

Srinivas Vamsi Parasa duke at openjdk.org
Mon Mar 11 16:45:03 UTC 2024


On Thu, 15 Feb 2024 18:42:49 GMT, Srinivas Vamsi Parasa <duke at openjdk.org> wrote:

> The goal of this PR is to accelerate the Poly1305 algorithm using AVX2 instructions (including IFMA) for x86_64 CPUs.
> 
> This implementation is directly based on the AVX2 Poly1305 hash computation as implemented in Intel(R) Multi-Buffer Crypto for IPsec Library (url: https://github.com/intel/intel-ipsec-mb/blob/main/lib/avx2_t3/poly_fma_avx2.asm)
> 
> This PR shows upto 19x speedup on buffer sizes of 1MB.

This pull request has now been integrated.

Changeset: 18de9321
Author:    vamsi-parasa <srinivas.vamsi.parasa at intel.com>
Committer: Sandhya Viswanathan <sviswanathan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/18de9321ce8722f244594b1ed3b62cd1421a7994
Stats:     824 lines in 10 files changed: 814 ins; 0 del; 10 mod

8325991: Accelerate Poly1305 on x86_64 using AVX2 instructions

Reviewed-by: sviswanathan, jbhateja

-------------

PR: https://git.openjdk.org/jdk/pull/17881


More information about the hotspot-compiler-dev mailing list