[vectorIntrinsics+fp16] RFR: 8277304: Java support for FP16 [v10]

Jatin Bhateja jbhateja at openjdk.java.net
Thu Jun 16 01:57:36 UTC 2022


On Wed, 15 Jun 2022 19:56:41 GMT, Smita Kamath <svkamath at openjdk.org> wrote:

>> Initial FP16 vectorAPI Java support.
>
> Smita Kamath has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Changes to Halffloat class

Marked as reviewed by jbhateja (Committer).

Initial version looks ok to me, we can do refinement in subsequent patches.

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Halffloat.java line 120:

> 118: 
> 119:         int val = Float.floatToIntBits(f);
> 120:         val = ((((val>>16)&0x8000)|((((val&0x7f800000)-0x38000000)>>13)&0x7c00)|((val>>13)&0x03ff)));

Kindly also add the link to paper.

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

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


More information about the panama-dev mailing list