[vectorIntrinsics+fp16] RFR: 8365967: C2 compiler support for HalffloatVector operations supported by auto-vectorization flow [v3]

Jatin Bhateja jbhateja at openjdk.org
Tue Sep 2 13:38:14 UTC 2025


> Hi All,
> 
> This patch extends VectorAPI inline expanders to infer Float16 vector IR based on the newly passed operType argument.
> We intend to leverage the existing IR and backend implementation of auto-vectorized Float16 operations. 
> Various HalffloatVector operators, namely ADD, SUB, MUL, DIV, MAX, MIN, and FMA, now emit FP16 ISA on x86 targets supporting AVX512-FP16 feature and AArch64 SVE targets.
> 
> Best Regards,
> Jatin

Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:

  Fix jtreg failures

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

Changes:
  - all: https://git.openjdk.org/panama-vector/pull/231/files
  - new: https://git.openjdk.org/panama-vector/pull/231/files/cd4a08d6..dddc1c63

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=panama-vector&pr=231&range=02
 - incr: https://webrevs.openjdk.org/?repo=panama-vector&pr=231&range=01-02

  Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/panama-vector/pull/231.diff
  Fetch: git fetch https://git.openjdk.org/panama-vector.git pull/231/head:pull/231

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


More information about the panama-dev mailing list