[vector] RFR 8219878: Vectorized Poly1305 benchmark

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Tue Mar 26 18:51:08 UTC 2019


Nice work, Adam! Looks good.

Best regards,
Vladimir Ivanov

On 05/03/2019 12:05, Adam Petcher wrote:
> webrev: https://cr.openjdk.java.net/~apetcher/8219878/webrev.00/
> JBS: https://bugs.openjdk.java.net/browse/JDK-8219878
> 
> I have another crypto benchmark ready for review. This time it's 
> Poly1305, which is a symmetric authenticator that is typically combined 
> with ChaCha20 to produce authenticated encryption. I tested this 
> benchmark with a slightly modified JVM containing a multiplication 
> optimization[1]. Without this optimization, the performance of this 
> vectorized implementation on AVX2 is not much better than the scalar 
> implementation of Poly1305 in the JDK.
> 
> The webrev also includes some changes to the ChaCha20 benchmark which 
> were necessary to get it to compile after some Vector API changes.
> 
> 
> [1] https://bugs.openjdk.java.net/browse/JDK-8219881
> 


More information about the panama-dev mailing list