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

RISC-V: remove vmclr_m before vmsXX and vmfXX

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • None
    • master
    • riscv

      By rvv spec,
      "integer compare instructions write 1 to the destination mask register element if the comparison evaluates to true, and 0 otherwise."
      "These vector FP compare instructions compare two source operands and write the comparison result to a mask register. "

      So, it's not always necessary to clear the mask register before vector comparison operation.

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

              Created:
              Updated:
              Resolved: