[lworld+fp16] RFR: 8329817: Augment prototype Float16 class

Jatin Bhateja jbhateja at openjdk.org
Tue Jun 11 13:56:30 UTC 2024


On Fri, 7 Jun 2024 04:22:49 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Sketch of a more full-featured API for Float16.
>
> This PR has some known to-do items, including testing, but the PR does provide a more full featured API set on par with Float or Double, although without all the float/double handling method in Math/StrictMath.
> 
> One to-do item is writing the double -> float16 conversion routine. Other items include adjusting the binary <-> decimal conversion process to deal with the reduced precision of float16.

Hi @jddarcy , 

There are few more tests which may need refinement 
jtreg:test/hotspot/jtreg/compiler/intrinsics/float16/TestFP16ScalarAdd.java
jtreg:test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorSum.java

Best Regards,
Jatin

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

PR Comment: https://git.openjdk.org/valhalla/pull/1117#issuecomment-2160829238



More information about the valhalla-dev mailing list