RFR: 8372941: Rework compiler/intrinsics/sha tests to use intrinsic availability [v2]

Ramkumar Sunderbabu rsunderbabu at openjdk.org
Fri Dec 5 17:35:16 UTC 2025


On Fri, 5 Dec 2025 17:11:13 GMT, Ramkumar Sunderbabu <rsunderbabu at openjdk.org> wrote:

>> Predicate probes of the following algos are changed to rely on intrinsics availability in the platform as opposed to hardware support availability.
>> MD5
>> SHA1
>> SHA256
>> SHA3
>> 
>> Testing:
>> All flag combinations from CI
>> hotspot tiers 1 to 5
>> PS: only for tier testings, mac-aarch was skipped due to resource constraints
>
> Ramkumar Sunderbabu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   remove requires condition

With `@requires os.arch == "aarch64"`, TestUseSHA3IntrinsicsOptionOnSupportedCPU is working.
However, I don't understand why IntrinsicPredicates.isSHA3IntrinsicAvailable() is not enough in some cases.

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

PR Comment: https://git.openjdk.org/jdk/pull/28634#issuecomment-3617830847


More information about the hotspot-compiler-dev mailing list