-
Bug
-
Resolution: Fixed
-
P4
-
25
-
master
HotSpot selects between AVX512 and AVX2 implementations of array sort/partition stubs based on the return value of VM_Version::supports_avx512_simd_sort. The AVX2 version supports fewer element types than the AVX512 version and may fail at runtime if unsupported types are encountered. This capability information should be exposed to the JVMCI compiler to properly guard against incorrect intrinsification. This is especially important because VM_Version::supports_avx512_simd_sort includes a special exclusion rule for AMD Zen4, due to performance considerations.
- relates to
-
JDK-8309130 x86_64 AVX512 intrinsics for Arrays.sort methods (int, long, float and double arrays)
-
- Resolved
-
-
JDK-8317976 Optimize SIMD sort for AMD Zen 4
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/948ade8e
-
Review(master) openjdk/jdk/25225