RFR: 8293484: AArch64: TestUseSHA512IntrinsicsOptionOnSupportedCPU.java fails on CPU with SHA512 feature support
    Ramkumar Sunderbabu 
    rsunderbabu at openjdk.org
       
    Thu Oct 30 07:16:37 UTC 2025
    
    
  
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.
-------------
Commit messages:
 - 8293484: AArch64: TestUseSHA512IntrinsicsOptionOnSupportedCPU.java fails on CPU with SHA512 feature support
Changes: https://git.openjdk.org/jdk/pull/28053/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28053&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8293484
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/28053.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28053/head:pull/28053
PR: https://git.openjdk.org/jdk/pull/28053
    
    
More information about the hotspot-compiler-dev
mailing list