RFR: 8371161: [AArch64] Enable supported CPU features for the Qualcomm processor family

Dhamoder Nalla dhanalla at openjdk.org
Mon Nov 10 22:30:12 UTC 2025


This PR addresses the following:

1. Enables the UseSHA3Intrinsics flag for CPU_QUALCOM. Previously, this flag was only enabled for CPU_APPLE. Benchmark results show significant performance improvements on Qualcomm CPUs with this intrinsic.
2. Populates the _cpu type for Qualcomm CPUs and assigns the appropriate _variant value.

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>

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

Commit messages:
 - Enable supported CPU features for the Qualcomm processor family

Changes: https://git.openjdk.org/jdk/pull/28166/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28166&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371161
  Stats: 10 lines in 2 files changed: 3 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/28166.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28166/head:pull/28166

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


More information about the hotspot-dev mailing list