compiler/lib/generators/Generators.java should contain a method like:
```
Generator<Float16> float16s()
```
Currently it offers one that generates shorts, but although usable, it's cumbersome:
```
Generator<Short> float16s()
```
The choice was made to return `Generator<Short>` to avoid dependency on the incubating module.
JDK-8346236 is the issue that added this method in the first place.
One caveat here might be that it is preferable to work with short[] rather than Float16[], since the former would be auto-vectorized and the latter not. See https://github.com/openjdk/jdk/pull/22755#discussion_r2684887233 for more details.
```
Generator<Float16> float16s()
```
Currently it offers one that generates shorts, but although usable, it's cumbersome:
```
Generator<Short> float16s()
```
The choice was made to return `Generator<Short>` to avoid dependency on the incubating module.
One caveat here might be that it is preferable to work with short[] rather than Float16[], since the former would be auto-vectorized and the latter not. See https://github.com/openjdk/jdk/pull/22755#discussion_r2684887233 for more details.