On Tue, 28 Nov 2023 00:08:00 GMT, Srinivas Vamsi Parasa <d...@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

Reply via email to