RFR: 8342103: C2 compiler support for Float16 type and associated operations

Joe Darcy darcy at openjdk.org
Tue Nov 19 19:57:14 UTC 2024


On Mon, 14 Oct 2024 16:42:24 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> We should move the `Float16` class to `jdk.incubator.vector` and relevant intrinsic stuff to `jdk.internal.vm.vector`, and we don't need the changes to `BigDecimal` and `BigInteger`.

To expand on that point, a few weeks back I took a look at what porting Float16 from java.lang in the lworld+fp16 branch of Valhalla to the jdk.incubator.vector package in JDK 24 would look like: the result were favorable and the diffs are attached to JDK-8341260.

Before the work in this PR proceeds, I think the java.lang -> jdk.incubator.vector move of Float16 should occur first. This will allow leaner reviews and better API separation. I can get an updated PR of the move prepared within the next few days.

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

PR Comment: https://git.openjdk.org/jdk/pull/21490#issuecomment-2420616927


More information about the core-libs-dev mailing list