On Fri, 24 Apr 2026 16:28:50 GMT, Jatin Bhateja <[email protected]> wrote:

> Patch optimizes Float16 to integral conversion operations. Currently, its a 
> two step process where by first a Float16 value is
> converted to a single precision floating point value followed by a conversion 
> to an integral value.
> 
> x86 targets supporting AVX512-FP16 feature (Intel Sapphire Rapids+ and 
> upcoming AMD Zen6) provides direct instruction to convert a Float16 value to 
> integral value.
> 
> Following are the performance numbers of micro benchmark included with the 
> patch on Granite Rapids with and without auto-vectorization.
> 
> <img width="1125" height="636" alt="image" 
> src="https://github.com/user-attachments/assets/ca6e6757-1579-475f-8307-9454c7c025c1";
>  />
> 
> Kindly review and share your feedback.
> 
> Best Regards,
> Jatin
> 
> ---------
> - [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: 198f1aa2
Author:    Jatin Bhateja <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/198f1aa2575c2a276c20fce58b78eaa138505687
Stats:     755 lines in 12 files changed: 672 ins; 38 del; 45 mod

8382523: Optimize Float16 to integral conversion operations for AVX512-FP16 
targets

Reviewed-by: sviswanathan, missa

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

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

Reply via email to