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

Delete unused CountLoopEnd instruct with CmpX

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • 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)

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

              Created:
              Updated:
              Resolved: