RFR: 8319577: x86_64 AVX2 intrinsics for Arrays.sort methods (int, float arrays) [v9]

Srinivas Vamsi Parasa duke at openjdk.org
Wed Dec 6 17:23:14 UTC 2023


On Tue, 5 Dec 2023 19:19:23 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> Srinivas Vamsi Parasa has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   remove unused avx2 64 bit sort functions; add assertions
>
> src/java.base/linux/native/libsimdsort/avx2-linux-qsort.cpp line 50:
> 
>> 48:             case JVM_T_DOUBLE:
>> 49:                 avx2_fast_sort((double*)array, from_index, to_index, INSERTION_SORT_THRESHOLD_64BIT);
>> 50:                 break;
> 
> Please add safe assertions for missing types.

This is from an older (but outdated) commit. The assertions have been added in other cases.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16534#discussion_r1417706670


More information about the hotspot-compiler-dev mailing list