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

Volodymyr Paprotski duke at openjdk.org
Thu Nov 17 20:42:27 UTC 2022


On Thu, 17 Nov 2022 19:30:14 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> Volodymyr Paprotski has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   vzeroall, no spill, reg re-map
>
> src/hotspot/cpu/x86/stubGenerator_x86_64_poly.cpp line 377:
> 
>> 375:   __ shlq(t0, 40);
>> 376:   __ addq(a1, t0);
>> 377:   if (a2 == noreg) {
> 
> Please, get rid of early return and turn the check into `if (a2 != noreg) { ... }` which guards the following code.

done (some golang-ism slipped in.. rewiring habits again)

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

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


More information about the security-dev mailing list