RFR: 8320448: Accelerate IndexOf using AVX2 [v34]
Scott Gibbons
sgibbons at openjdk.org
Thu May 23 23:00:10 UTC 2024
On Thu, 23 May 2024 21:56:39 GMT, Vladimir Kozlov <kvn at 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
More information about the core-libs-dev
mailing list