On Mon, 27 Oct 2025 15:19:48 GMT, Jatin Bhateja <[email protected]> wrote:

> Add a new  Float16lVector type and corresponding concrete vector classes, in 
> addition to existing primitive vector types, maintaining operation parity 
> with the FloatVector type.
> - Add necessary inline expander support.
>    - Enable intrinsification for a few vector operations, namely 
> ADD/SUB/MUL/DIV/MAX/MIN/SQRT/FMA.
> - Use existing Float16 vector IR and backend support.
> - Extended the existing VectorAPI JTREG test suite for the newly added 
> Float16Vector operations.
>  
> The idea here is to first be at par with Float16 auto-vectorization support 
> before intrinsifying new operations (conversions, reduction, etc).
> 
> The following are the performance numbers for some of the selected 
> Float16Vector benchmarking kernels compared to equivalent auto-vectorized 
> Float16OperationsBenchmark kernels.
> 
> <img width="1344" height="532" alt="image" 
> src="https://github.com/user-attachments/assets/c8157c3c-22b0-4bc1-9de9-7a68cadb7b2a";
>  />
> 
> Initial RFP[1] was floated on the panama-dev mailing list.
> 
> Kindly review the draft PR and share your feedback.
> 
> Best Regards,
> Jatin
> 
> [1] https://mail.openjdk.org/pipermail/panama-dev/2025-August/021100.html
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 90dc4208
Author:    Jatin Bhateja <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/90dc4208f8bfcd4ed9e24d4c776be2d3b87e2435
Stats:     46470 lines in 49 files changed: 46216 ins; 10 del; 244 mod

8370691: Add new Float16Vector type and enable intrinsification of vector 
operations supported by auto-vectorizer

Co-authored-by: Bhavana Kilambi <[email protected]>
Reviewed-by: psandoz, epeter, xgong, sherman

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

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

Reply via email to