RFR: 8302976: C2 intrinsification of Float.floatToFloat16 and Float.float16ToFloat yields different result than the interpreter

Sandhya Viswanathan sviswanathan at openjdk.org
Tue Mar 7 01:29:13 UTC 2023


On Tue, 7 Mar 2023 00:52:37 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> Note, I removed `ConvF2HFNode::Identity()` optimization because tests show that it produces different NaN results due to skipped conversion.

Yes, removing the Identity optimization is correct.  It doesn't hold for NaN inputs.

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

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


More information about the hotspot-compiler-dev mailing list