RFR: 8289552: Make intrinsic conversions between bit representations of half precision values and floats

Joe Darcy darcy at openjdk.org
Fri Aug 5 22:19:03 UTC 2022


On Fri, 5 Aug 2022 16:36:23 GMT, Smita Kamath <svkamath at openjdk.org> wrote:

> 8289552: Make intrinsic conversions between bit representations of half precision values and floats

src/hotspot/share/runtime/sharedRuntime.cpp line 450:

> 448: JRT_END
> 449: 
> 450: JRT_LEAF(jshort, SharedRuntime::f2hf(jfloat  x))

Is it necessary/desirable to have a transliteration of the Java implementation here rather than just using the Java library implementation?

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

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


More information about the core-libs-dev mailing list