RFR: 8293991: java/lang/Float/Binary16ConversionNaN.java fails on silent NaN conversions [v2]
Aleksey Shipilev
shade at openjdk.org
Fri Sep 23 08:59:04 UTC 2022
On Thu, 22 Sep 2022 18:48:41 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Reliably reproduces on x86-32 with FPU:
>>
>>
>> $ CONF=linux-x86-server-fastdebug make test TEST=java/lang/Float/Binary16ConversionNaN.java TEST_VM_OPTS="-XX:UseAVX=0 -XX:UseSSE=0"
>> ...
>> Roundtrip failure on NaN value 7de2 got back 7fe2
>> Roundtrip failure on NaN value fde2 got back ffe2
>>
>>
>> Since there are many NaN values in FP16 -- basically any non-zero significand works, we should probably just relax the test a bit.
>>
>> Attn @jddarcy ;)
>>
>> Additional testing:
>> - [x] Linux x86_32 fastdebug, `-XX:UseAVX=0 -XX:UseSSE=0`, affected test now passes
>> - [x] Linux x86_32 fastdebug, `-XX:UseAVX=0 -XX:UseSSE=1`, affected test still passes
>> - [x] Linux x86_64 fastdebug, affected test still passes
>
> Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
>
> - Just exclude the test with x87
> - Revert test
> - Merge branch 'master' into JDK-8293991-x86-32-fp16
> - Indenting
> - Fix
Ok, I am integrating to unbreak this test on x86_32.
-------------
PR: https://git.openjdk.org/jdk/pull/10333
More information about the core-libs-dev
mailing list