RFR: 8337666: AArch64: SHA3 GPR intrinsic

Andrew Haley aph at openjdk.org
Thu Apr 24 17:08:41 UTC 2025


On Thu, 24 Apr 2025 14:33:12 GMT, Dmitry Chuyko <dchuyko at openjdk.org> wrote:

> > So, this is for two now-discontinued computers? Does this patch improve performance on any recently-available hardware, or is it purely for retrocomputers?
> 
> I'd not call Graviton 4,3,2 retro.

I'm trying to understand what you wrote, which is very confusing. Reading it again, on Graviton 3 it is 8-14% faster than the existing fastest implementation.

I don't think we should maintain multiple implementations of SHA-3 unless there is a convincing advantage one way or the other. I certainly don't want to see a precedent where we have special versions for crypto algorithms for each microarchitecture. Is 8252204 much faster that this one on Apple silicon? It would be great if we could ditch that one.

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

PR Comment: https://git.openjdk.org/jdk/pull/24260#issuecomment-2828300156


More information about the hotspot-dev mailing list