RFR: JDK-8216437 : PPC64: Add intrinsic for GHASH algorithm [v27]

Suchismith Roy sroy at openjdk.org
Wed Feb 26 17:15:08 UTC 2025


On Wed, 26 Feb 2025 16:59:03 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> Suchismith Roy has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - change pattern for Linux, fix for AIX
>>  - change pattern for Linux, fix for AIX
>
> src/hotspot/cpu/ppc/stubGenerator_ppc.cpp line 702:
> 
>> 700:     __ lvx(vHigh, temp1, data);
>> 701: #ifdef VM_LITTLE_ENDIAN
>> 702:     __ xxspltib(vTmp12->to_vsr(), 31);
> 
> Is this instruction available on Power8? Shouldn't we use `vspltisb`?

Need to check that. with vspltisb, we cannot broadcast more than value of 15. Hence I used this instruction instead.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20235#discussion_r1972007115


More information about the hotspot-dev mailing list