RFR: 8288047: Accelerate Poly1305 on x86_64 using AVX512 instructions [v20]

Vladimir Ivanov vlivanov at openjdk.org
Wed Nov 16 23:10:31 UTC 2022


On Wed, 16 Nov 2022 22:47:37 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:

>> Volodymyr Paprotski has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   redo register alloc with explicit func params
>
> src/hotspot/cpu/x86/stubGenerator_x86_64_poly.cpp line 917:
> 
>> 915:   // Cleanup
>> 916:   __ vpxorq(xmm0, xmm0, xmm0, Assembler::AVX_512bit);
>> 917:   __ vpxorq(xmm1, xmm1, xmm1, Assembler::AVX_512bit);
> 
> You could use T0, T1 in place of xmm0, xmm1 here.

Or simply switch to `vzeroall` for `xmm0` - `xmm15`.

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

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


More information about the security-dev mailing list