Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8320715

Improve the tests of test/hotspot/jtreg/compiler/intrinsics/float16

XMLWordPrintable

    • b26

        There are several areas where improvements can be made:
        1. test should not exit early before all test cases have run.
        2. some output hide the data details, which should be printed out to help debug any potential issues, e.g. currently it could output some log like below in case of wrong implementation of a ConvF2HF intrinsic:
        `Inconsistent result for Float.floatToFloat16(NaN/ff802000): fc01 != fc01`, which is rather confusing, not helpful. Suggested output would be: `Inconsistent result for Float.floatToFloat16(NaN/ff802000): fc01(64513) != fc01(-1023)`

              mli Hamlin Li
              mli Hamlin Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: