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

Sandhya Viswanathan sviswanathan at openjdk.org
Mon Mar 10 21:26:41 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

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

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

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

  Stats: 35 lines in 1 file changed: 32 ins; 1 del; 2 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