On Thu, 23 May 2024 21:56:39 GMT, Vladimir Kozlov <k...@openjdk.org> wrote:
>> src/hotspot/cpu/x86/stubGenerator_x86_64.cpp line 4250: >> >>> 4248: generate_chacha_stubs(); >>> 4249: >>> 4250: if ((UseAVX == 2) && EnableX86ECoreOpts && >>> VM_Version::supports_avx2()) { >> >> `#ifdef COMPILER2` around this code to exclude JVMCI only case. > > You don't need to check `VM_Version::supports_avx2()` because we reset > `UseAVX` if avx2 is not supported. Done. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/16753#discussion_r1612396114