RFR: 8353217: Build libsleef on macos-aarch64
Magnus Ihse Bursie
ihse at openjdk.org
Mon Mar 31 12:17:07 UTC 2025
On Sat, 29 Mar 2025 00:58:59 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> Build and use SLEEF library as a backend implementation for Vector API trigonometric functions on macosx-aarch64 platform.
>
> It improves raw throughput and eliminates GC overhead of non-intrinsified Vector API operation.
>
> PR includes build changes and libsleef sources relocation from `src/jdk.incubator.vector/linux/native/` to `src/jdk.incubator.vector/share/native/`.
>
> Once libsleef library is present, existing code in `stubGenerator_aarch64.cpp` successfully links at JVM startup.
>
> Testing: hs-tier1 - hs-tier4, microbenchmarks
The build code seems like it should be the same as for linux/aarch64. In fact, at this point, the code duplication should be removed into a single setup call.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24306#issuecomment-2766037908
More information about the hotspot-dev
mailing list