RFR: 8370922: Template Framework Library: Float16 type and operations
Emanuel Peter
epeter at openjdk.org
Mon Dec 1 06:58:03 UTC 2025
We should test `Float16` with Template Framework Tests. For this, I'm now implementing:
- Template Framework Library: add `Float16Type` that represents `Float16`. Extend `Operations.java` with `Float16` operations.
- `Verify.java`: add verification for `Float16`, and corresponding tests in `TestVerifyIncubatorVector.java`. We could have done this separately, but it is not much code and completes the pipeline from code generation through execution and finally result verification in the following two tests.
- Adding `Float16` to `ExpressionFuzzer.java` and `TestExpressions.java`.
-------------
Commit messages:
- add more flags again
- add module to compilation
- Merge branch 'master' into JDK-8370922-TemplateFramework-Library-Float16
- remove old TODOs
- add Float16 to ExpressionFuzzer.java
- fix jtreg commands
- remove some unnecessary incubator flags
- comparisons
- rest of Float16 operators
- verify for Float16
- ... and 4 more: https://git.openjdk.org/jdk/compare/08c16c38...c87acd90
Changes: https://git.openjdk.org/jdk/pull/28095/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28095&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8370922
Stats: 376 lines in 9 files changed: 348 ins; 4 del; 24 mod
Patch: https://git.openjdk.org/jdk/pull/28095.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28095/head:pull/28095
PR: https://git.openjdk.org/jdk/pull/28095
More information about the hotspot-compiler-dev
mailing list