On Fri, 8 Sep 2023 05:33:49 GMT, Alan Bateman <al...@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