java/lang/Float/Binary16ConversionNaN.java fails on silent NaN conversions

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: core-libs
    • b17

      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.

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: