Integrated: 8350835: C2 SuperWord: assert/wrong result when using Float.float16ToFloat with byte instead of short input

Sandhya Viswanathan sviswanathan at openjdk.org
Mon Mar 17 17:53:15 UTC 2025


On Fri, 7 Mar 2025 01:56:49 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 3239919a
Author:    Sandhya Viswanathan <sviswanathan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3239919a5a5910922ea4cb6109f94a24c5f6b4f2
Stats:     184 lines in 2 files changed: 183 ins; 0 del; 1 mod

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

Reviewed-by: epeter, kvn

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

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


More information about the hotspot-compiler-dev mailing list