As per the discussion on JDK-8370691-Float16Vector Support pull request 
https://github.com/openjdk/jdk/pull/28002#issuecomment-4652163477
adding the handling to Canonicalize NaN lane encodings held in Float16Vector 
lanes so that all NaN representations,
including signaling ones, computes the same hash code.

Kindly review and share your feedback.

Best Regards,
Jatin

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8386255: Float16Vector NaN canonicalization for hashCode computation

Changes: https://git.openjdk.org/jdk/pull/31587/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31587&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8386255
  Stats: 351 lines in 8 files changed: 350 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/31587.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31587/head:pull/31587

PR: https://git.openjdk.org/jdk/pull/31587

Reply via email to