[vectorIntrinsics+fp16] RFR: Merge vectorIntrinsics

Jatin Bhateja jbhateja at openjdk.org
Fri Aug 22 16:25:20 UTC 2025


Merge vectorIntrinsics into vectorIntrinsics+fp16 as per the proposal on panama-dev mailing list[1]. This was a major merge after a gap of 2+ years.

Summary of changes:-
   - Added a new package-private field CTYPE (carrier type) along with existing ETYPE (element type) to differentiate b/w the storage type from the vector lane element type.
   - Pass an explicit operType argument to inline expanders to ease inferencing of Float16 vector IR. Idea: leverage existing backend implementation added along with JDK-8346236[2] and [3]
   - Appropriate modifications in existing inline expansion entry points and VectorSupport class.
   - Replaced existing Halffloat class references with jdk.incubator.vector.Float16, along with appropriate API adjustments.
  
What is remaining:-
  -    Use the newly passed operType to infer Float16 Vector IR.
  -    Functional validation
  - Performance validation
 
[1] https://mail.openjdk.org/pipermail/panama-dev/2025-August/021100.html
[2] https://github.com/openjdk/jdk/pull/22755
[3] https://github.com/openjdk/jdk/pull/22754

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

Commit messages:
 - Test modifications and cleanups
 - jcheck fixups
 - Merge branch 'openjdk:master' into merge_vectorIntrinsics
 - 8309400: JDI spec needs to clarify when OpaqueFrameException and NativeMethodException are thrown
 - 8348611: Eliminate DeferredLintHandler and emit warnings after attribution
 - 8284499: Add the ability to right-click and open in new tab JavaDoc Search results
 - 8359222: [asan] jvmti/vthread/ToggleNotifyJvmtiTest/ToggleNotifyJvmtiTest triggers stack-buffer-overflow error
 - 8353444: NMT: rename 'category' to 'MemTag' in malloc tracker
 - 8362243: Devkit creation for Fedora base OS is broken
 - 8364184: [REDO] AArch64: [VectorAPI] sve vector math operations are not supported after JDK-8353217
 - ... and 11253 more: https://git.openjdk.org/panama-vector/compare/1317dcdf...ba58e0ea

The webrevs contain the adjustments done while merging with regards to each parent branch:
 - vectorIntrinsics+fp16: https://webrevs.openjdk.org/?repo=panama-vector&pr=230&range=00.0
 - vectorIntrinsics: https://webrevs.openjdk.org/?repo=panama-vector&pr=230&range=00.1

Changes: https://git.openjdk.org/panama-vector/pull/230/files
  Stats: 3925216 lines in 32390 files changed: 1776857 ins; 1483863 del; 664496 mod
  Patch: https://git.openjdk.org/panama-vector/pull/230.diff
  Fetch: git fetch https://git.openjdk.org/panama-vector.git pull/230/head:pull/230

PR: https://git.openjdk.org/panama-vector/pull/230


More information about the panama-dev mailing list