RFR: 8267125: AES Galois CounterMode (GCM) interleaved implementation using AVX512 + VAES instructions [v12]

Vladimir Kozlov kvn at openjdk.java.net
Tue Aug 24 16:24:33 UTC 2021


On Fri, 20 Aug 2021 22:43:55 GMT, Smita Kamath <svkamath at openjdk.org> wrote:

>> I would like to submit AES-GCM optimization for x86_64 architectures supporting AVX3+VAES (Evex encoded AES). This optimization interleaves AES and GHASH operations.
>> Performance gain of ~1.5x - 2x for message sizes 8k and above.
>
> Smita Kamath has updated the pull request incrementally with one additional commit since the last revision:
> 
>   changes to make sure that ghash_long_swap_mask and counter_mask_addr calls are not duplicated

Yes, my testing during weekend passed too.
Changes are good for integration.

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

PR: https://git.openjdk.java.net/jdk/pull/4019


More information about the hotspot-compiler-dev mailing list