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

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

Commit messages:
 - Build sleef on macos-aarch64
 - Move libsleef sources to shared/native

Changes: https://git.openjdk.org/jdk/pull/24306/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24306&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8353217
  Stats: 18 lines in 174 files changed: 14 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/24306.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24306/head:pull/24306

PR: https://git.openjdk.org/jdk/pull/24306

Reply via email to