RFR: 8309130: x86_64 AVX512 intrinsics for Arrays.sort methods (int, long, float and double arrays) [v33]
Srinivas Vamsi Parasa
duke at openjdk.org
Mon Sep 11 21:54:51 UTC 2023
On Fri, 8 Sep 2023 05:33:49 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> Would it be possible to provide a clear summary on why libx86_64_sort is being added? I'm trying to understand why these weren't linked into libjvm.
Hello Alan,
Initially, the reason behind adding libx86_64 (now renamed to libsimdsort in the latest commit) as a shared library was the unavailability of AVX512 instructions on all x86 CPUs. This approach enables the stubs to be loaded only for the platforms that support AVX512 and skipped for others.
We are open to suggestions and make any necessary changes as needed. Please let us know.
Thanks,
Vamsi
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14227#issuecomment-1714634691
More information about the build-dev
mailing list