Integrated: 8293484: AArch64: TestUseSHA512IntrinsicsOptionOnSupportedCPU.java fails on CPU with SHA512 feature support

Ramkumar Sunderbabu rsunderbabu at openjdk.org
Tue Nov 18 01:02:19 UTC 2025


On Thu, 30 Oct 2025 07:09:38 GMT, Ramkumar Sunderbabu <rsunderbabu at openjdk.org> wrote:

> We have a host of tests under test/hotspot/jtreg/compiler/intrinsics/sha which checks if the SHA intrinsics flags' enable/disable setting is in sync with CPU support in the underlying platform. There might be situations where the intrinsics might not be enabled despite the hardware supporting the relevant instructions. For example, there might be reliability issues or performance issues. In such situations, the tests will fail.
> 
> Till now, the approach has been to exclude the platforms where the support is yet to be provided and remove the exclusion after. This necessitates additional work on the test front.
> 
> A more compact design would be make predicate probes to rely on intrinsics availability in the platform as opposed to hardware support availability. The migration to intrinsics availability would especially help update releases where feature backport might not be complete.
> 
> PS: This fix can/should be propagated to other such tests as well. Once this PR gets approval, I will work on similar tests.

This pull request has now been integrated.

Changeset: 69682167
Author:    Ramkumar Sunderbabu <rsunderbabu at openjdk.org>
Committer: Hao Sun <haosun at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/696821670e11fee003906806f081038032ac4985
Stats:     4 lines in 2 files changed: 0 ins; 1 del; 3 mod

8293484: AArch64: TestUseSHA512IntrinsicsOptionOnSupportedCPU.java fails on CPU with SHA512 feature support

Reviewed-by: haosun, aph

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

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


More information about the hotspot-compiler-dev mailing list