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

RISC-V: RoundDoubleModeV does not use dynamic rounding mode correctly

XMLWordPrintable

    • riscv
    • linux

      Currently, the `vfcvt_rtz_x_f_v` operand is being used in `RoundDoubleModeV`. We use the `csrwi` instruction to set frm for different rounding mode, which is similar to scalar calculations. But `vfcvt_rtz_x_f_v` will not use dynamic rounding mode.

      The test `TestDoubleVect.java`[1] will not cover `RoundDoubleModeV` as expected, I'm continuing to debug or write new test cases, but maybe that will be another issue.

            dzhang Dingli Zhang
            dzhang Dingli Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: