RFR: 8375443: AVX-512: Disabling through UseSHA doesn't affect UseSHA3Intrinsics

Leonid Mesnik lmesnik at openjdk.org
Fri Jan 16 16:21:20 UTC 2026


On Fri, 16 Jan 2026 08:41:20 GMT, Ramkumar Sunderbabu <rsunderbabu at openjdk.org> wrote:

> UseSHA flag is not respected while enabling/disabling UseSHA3Intrinsics flag in x86 builds.
> Added UseSHA in the mix.
> 
> Testing: Only Basic testing done. I will run more compiler related testing.

Changes requested by lmesnik (Reviewer).

src/hotspot/cpu/x86/vm_version_x86.cpp line 1343:

> 1341:   }
> 1342: 
> 1343:   if (UseSHA && supports_evex() && supports_avx512bw()) {

Please add the regression test or add 'noreg-*' label if think it is not required.
Grep for  CommandLineOptionTest to  find examples.

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

PR Review: https://git.openjdk.org/jdk/pull/29266#pullrequestreview-3671660988
PR Review Comment: https://git.openjdk.org/jdk/pull/29266#discussion_r2699142943


More information about the hotspot-dev mailing list