Skip to content

8376602: [Vector API] Upgrade SLEEF library from v3.6.1 to v3.9 in In…#29703

Draft
xuemingshen-oracle wants to merge 1 commit intoopenjdk:masterfrom
xuemingshen-oracle:JDK-8376602
Draft

8376602: [Vector API] Upgrade SLEEF library from v3.6.1 to v3.9 in In…#29703
xuemingshen-oracle wants to merge 1 commit intoopenjdk:masterfrom
xuemingshen-oracle:JDK-8376602

Conversation

@xuemingshen-oracle
Copy link

@xuemingshen-oracle xuemingshen-oracle commented Feb 13, 2026

The Incubator Vector API (jdk.incubator.vector) currently uses SLEEF v3.6.1 for providing SIMD-accelerated transcendental and elementary math functions (e.g., sin, cos, exp, log, pow, hypot) on non-x86 platforms, (specifically aarch64 ? and riscv64 ? / need confirm). This upgrade to SLEEF v3.9 incorporates upstream improvements in accuracy, performance, and scalable vector support

Improvements in v3.9:__ Based on SLEEF changelog (from v3.6.1), key benefits include:

  1. Enhanced precision and reduced ULP errors for functions like pow and hypot.
  2. Optimized SVE (AArch64 scalable vectors) and RVV (RISC-V) code generation for larger vector shapes (e.g., >128-bit).
  3. Bug fixes for edge cases in expm1, log1p, and atan2 on ARM.
  4. Performance gains: Up to 10-15% throughput improvement on NEON/SVE for common ops (benchmarked via JMH).

Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Error

 ⚠️ Executable files are not allowed (file: src/jdk.incubator.vector/unix/native/libsleef/upstream/src/libm/norename.h)

Integration blocker

 ⚠️ Failed to retrieve information on issue 8376602. Please make sure it exists and is accessible.

Issue

  • ⚠️ Failed to retrieve information on issue 8376602.

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/29703/head:pull/29703
$ git checkout pull/29703

Update a local copy of the PR:
$ git checkout pull/29703
$ git pull https://git.openjdk.org/jdk.git pull/29703/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 29703

View PR using the GUI difftool:
$ git pr show -t 29703

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/29703.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Feb 13, 2026

👋 Welcome back sherman! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Feb 13, 2026

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk bot added build build-dev@openjdk.org core-libs core-libs-dev@openjdk.org labels Feb 13, 2026
@openjdk
Copy link

openjdk bot commented Feb 13, 2026

@xuemingshen-oracle The following labels will be automatically applied to this pull request:

  • build
  • core-libs

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build build-dev@openjdk.org core-libs core-libs-dev@openjdk.org

Development

Successfully merging this pull request may close these issues.

1 participant