Delete unused CountLoopEnd instruct with CmpX

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 21
    • Component/s: hotspot
    • b16
    • riscv

      CountLoopEnd only for T_int, therefore the following instructs in *.ad are useless and should be deleted.

      // x86
      jmpLoopEndU(cmpOpU cop, rFlagsRegU cmp, label labl)

      // aarch64
      branchLoopEndU(cmpOpU cmp, rFlagsRegU cr, label lbl)

      // for riscv.ad
      CountedLoopEnd cmp (CmpL op1 op2)
      CountedLoopEnd cmp (CmpU op1 op2)
      CountedLoopEnd cmp (CmpP op1 op2)
      CountedLoopEnd cmp (CmpN op1 op2)
      CountedLoopEnd cmp (CmpF op1 op2)
      CountedLoopEnd cmp (CmpD op1 op2)

            Assignee:
            Sun Guoyun
            Reporter:
            Sun Guoyun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: