RFR: 8319577: x86_64 AVX2 intrinsics for Arrays.sort methods (int, float arrays) [v2]
Srinivas Vamsi Parasa
duke at openjdk.org
Tue Nov 28 20:57:09 UTC 2023
On Tue, 28 Nov 2023 00:08:00 GMT, Srinivas Vamsi Parasa <duke at openjdk.org> wrote:
>> src/hotspot/share/opto/library_call.cpp line 5391:
>>
>>> 5389: BasicType bt = elem_type->basic_type();
>>> 5390: // Disable the intrinsic for 64-bit types with AVX2
>>> 5391: if ((bt == T_LONG || bt == T_DOUBLE) && UseAVX == 2) {
>>
>> UseAVX is platform specific and cannot be used in library_call.cpp.
>
> Thanks Sandhya, will fix this issue.
Thanks Sandhya for suggesting the change to use supports_simd_sort(BasicType bt). Please see the updated code upstreamed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16534#discussion_r1408407158
More information about the build-dev
mailing list