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

Suchismith Roy sroy at openjdk.org
Mon Jan 20 08:09:44 UTC 2025


On Thu, 9 Jan 2025 09:07:21 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:
> 
>   restore

> I guess that this PR does not even compile.



> This reference is even better, and comes with complete source code as well as the proofs:
> 
> https://web.archive.org/web/20110609115824/https://software.intel.com/file/24918

Thank you.Yes the reduction algorithm is derived from here. 
However there is one more paper referred for the Karatsuba Multiplication. 
https://link.springer.com/content/pdf/10.1007/978-3-319-16715-2_9.pdf

I think even that can be mentioned in the comments then ?

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

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


More information about the hotspot-dev mailing list