Integrated: 8371161: [AArch64] Enable CPU feature UseSHA3Intrinsics for the Qualcomm processor family

Dhamoder Nalla dhanalla at openjdk.org
Fri Nov 14 10:57:32 UTC 2025


On Wed, 5 Nov 2025 21:56:50 GMT, Dhamoder Nalla <dhanalla at openjdk.org> wrote:

> This PR makes two targeted AArch64 updates specific to Qualcomm silicon:
> 
> 1. Corrects the CPU family enum name typo from CPU_QUALCOM to CPU_QUALCOMM.
> 2. Enables UseSHA3Intrinsics for Qualcomm (CPU_QUALCOMM) in addition to Apple (CPU_APPLE), allowing Qualcomm-based systems to use hardware-optimized SHA‑3 implementations.
> 
> Performance testing:
> The JMH test case MessageDigests.java is used to evaluate the performance improvements enabled by UseSHA3Intrinsics on Qualcomm CPUs.
> 
> 
> <html xmlns:o="urn:schemas-microsoft-com:office:office"
> xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
> xmlns="http://www.w3.org/TR/REC-html40">
> 
> <head>
> 
> <meta name=ProgId content=OneNote.File>
> <meta name=Generator content="Microsoft OneNote 15">
> </head>
> 
> <body lang=en-US style='font-family:Calibri;font-size:11.0pt'>
> 
> 
> <div style='direction:ltr;border-width:100%'>
> 
> <div style='direction:ltr;margin-top:0in;margin-left:0in;width:12.9277in'>
> 
> <div style='direction:ltr;margin-top:0in;margin-left:0in;width:12.9277in'>
> 
> <div style='direction:ltr'>
> 
> Benchmark | (digesterName) | (length) | (provider) | Mode | Cnt | Score - Before change| Error | Score After change | Error | Units | SHA3   Perf Improvement
> -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
> MessageDigests.digest | SHA3-256 | 64 | DEFAULT | thrpt | 15 | 4363.650 | ±682.413 | 5687.798 | ±855.826 | ops/ms | 30.34%
> MessageDigests.digest | SHA3-256 | 16384 | DEFAULT | thrpt | 15 | 45.794 | ±0.069 | 58.735 | ±0.077 | ops/ms | 28.26%
> MessageDigests.digest | SHA3-512 | 64 | DEFAULT | thrpt | 15 | 4008.741 | ±703.879 | 5145.512 | ±866.479 | ops/ms | 28.36%
> MessageDigests.digest | SHA3-512 | 16384 | DEFAULT | thrpt | 15 | 23.991 | ±0.032 | 30.294 | ±0.040 | ops/ms | 26.27%
> MessageDigests.getAndDigest | SHA3-256 | 64 | DEFAULT | thrpt | 15 | 1995.297 | ±396.007 | 2021.385 | ±486.581 | ops/ms | 1.31%
> MessageDigests.getAndDigest | SHA3-256 | 16384 | DEFAULT | thrpt | 15 | 45.994 | ±0.051 | 58.283 | ±0.095 | ops/ms | 26.72%
> MessageDigests.getAndDigest | SHA3-512 | 64 | DEFAULT | thrpt | 15 | 1889.550 | ±355.058 | 2173.164 | ±437.968 | ops/ms | 15.01%
> MessageDigests.getAndDigest | SHA3-512 | 16384 | DEFAULT | thrpt | 15 | 24.411 | ±0.143 | 30.187 | ±0.035 | ops/ms | 23.66%
> 
> 
> 
> </div>
> 
> </div>
> 
> </div>
> 
> </div>
> 
> 
> </body>
> 
> </html>

This pull request has now been integrated.

Changeset: 00f2c38e
Author:    Dhamoder Nalla <dhanalla at openjdk.org>
Committer: Hao Sun <haosun at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/00f2c38e373f5ae58ad6593cc7b9d53b9596eb17
Stats:     5 lines in 3 files changed: 2 ins; 0 del; 3 mod

8371161: [AArch64] Enable CPU feature UseSHA3Intrinsics for the Qualcomm processor family

Reviewed-by: aph, haosun

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

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


More information about the hotspot-dev mailing list