JDK-8342103 : C2 compiler support for Float16 type and associated scalar operations
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 24,25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: x86_64,aarch64
  • Submitted: 2024-10-15
  • Updated: 2025-03-21
  • Resolved: 2025-02-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 25
25 b10Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8346236 :  
Description
• Add a new Float16 value-based class encapsulating a short field holding IEEE 754 binary16 encoded value.
• Float16 type should have operation level parity with the existing Float type.
• For cleaner interface develop a helper class Float16Math containing intrinsic entry points for various intrinsified Float16 operations.
• Intrinsic entry points will receive and return unwrapped ‘short values’ holding IEEE 754 binary16 values.
• Add compiler support encompassing inline-expander, new IR, auto-vectorization, and efficient backend implementation for x86 and AArch64 targets.
• Develop new functional and performance validation tests covering newly added support.
Comments
Changeset: 4b463ee7 Branch: master Author: Jatin Bhateja <jbhateja@openjdk.org> Date: 2025-02-12 17:02:51 +0000 URL: https://git.openjdk.org/jdk/commit/4b463ee70eceb94fdfbffa5c49dd58dcc6a6c890
12-02-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22754 Date: 2024-12-15 18:05:02 +0000
15-12-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21490 Date: 2024-10-14 11:40:01 +0000
19-11-2024