On Mon, 8 Jun 2026 09:09:16 GMT, Jatin Bhateja <[email protected]> wrote:
>> Is `Float16Vector::toString` supposed to return short values in the list? Or >> should they be formatted as floats? > >> Is `Float16Vector::toString` supposed to return short values in the list? Or >> should they be formatted as floats? > > jshell> import jdk.incubator.vector.* > jshell> Float16Vector.broadcast(Float16Vector.SPECIES_512, > Float.floatToFloat16(1.2f)) > $4 ==> [15565, 15565, 15565, 15565, 15565, 15565, 15565, 15565, 15565, 15565, > 15565, 15565, 15565, 15565, 15565, 15565, 15565, 15565, 15565, 15565, 15565, > 15565, 15565, 15565, 15565, 15565, 15565, 15565, 15565, 15565, 15565, 15565] > > > We print the short values from backing storage which encodes IEEE 754 > binary16 values. @jatin-bhateja And the 8th one is also unrelated, a JDK19 regression, probably one of your changes too: [JDK-8386163](https://bugs.openjdk.org/browse/JDK-8386163) C2 Vector API: assert(collect_unique_inputs(n, inputs) == 1) failed: not unary @jatin-bhateja In that regard: the Vector API still has lots of unrelated bugs, but that should not block you here. But: those JDK27 bugs have higher priority for us. The 3 related issues: are all bugs in the fuzzer changes, of the companion PR. We'll have to fix those issues there. But so far, I think testing has not revealed any issues with this PR here. ------------- PR Comment: https://git.openjdk.org/jdk/pull/28002#issuecomment-4650479994 PR Comment: https://git.openjdk.org/jdk/pull/28002#issuecomment-4650500487
