RFR: 8370922: Template Framework Library: Float16 type and operations [v2]
Emanuel Peter
epeter at openjdk.org
Mon Dec 15 06:57:34 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`.
Emanuel Peter has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 15 commits:
- merge with master
- 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
- ... and 5 more: https://git.openjdk.org/jdk/compare/dc1b0b5f...c7da6b4d
-------------
Changes: https://git.openjdk.org/jdk/pull/28095/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28095&range=01
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