RFR: 8350835: C2 SuperWord: assert/wrong result when using Float.float16ToFloat with byte instead of short input [v3]

Sandhya Viswanathan sviswanathan at openjdk.org
Sat Mar 15 00:56:25 UTC 2025


> Float.float16ToFloat generates wrong vectorized code in product build and asserts in fastdebug/debug when argument is of type byte, int, or long array. The short term solution is to not auto vectorize in these cases.
> 
> Review comments are welcome.
> 
> Best Regards,
> Sandhya

Sandhya Viswanathan has updated the pull request incrementally with one additional commit since the last revision:

  Review comments from Emanuel

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23939/files
  - new: https://git.openjdk.org/jdk/pull/23939/files/70ab0acc..8069f4b8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23939&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23939&range=01-02

  Stats: 24 lines in 1 file changed: 18 ins; 2 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/23939.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23939/head:pull/23939

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


More information about the hotspot-compiler-dev mailing list