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

Suchismith Roy sroy at openjdk.org
Sun Apr 27 17:22:49 UTC 2025


On Thu, 24 Apr 2025 14:13:50 GMT, Suchismith Roy <sroy at openjdk.org> wrote:

>> JBS Issue : [JDK-8216437](https://bugs.openjdk.org/browse/JDK-8216437)
>> 
>> Currently acceleration code for GHASH is missing for PPC64. 
>> 
>> The current implementation utlilises SIMD instructions on Power and uses Karatsuba multiplication for obtaining the final result.
>
> Suchismith Roy has updated the pull request incrementally with one additional commit since the last revision:
> 
>   masm

> Please run AESGCMByteBuffer.encrypt and provide some before and after figures.



> Please run AESGCMByteBuffer.encrypt and provide some before and after figures.

Hi @TheRealMDoerr  Was this suite run from your end ? Was the TestAESMain that you had checked the run times on ? 

@theRealAph  From my end, we had improvement of  around 3 times after running TestAESMain. Is that not valid test suite ? 

If the improvement with this version is satisfactory , can we have this integrated and then pursue further improvements on it in separate PR ?  Will open a JBS issue for the same

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

PR Comment: https://git.openjdk.org/jdk/pull/20235#issuecomment-2833556957


More information about the hotspot-dev mailing list