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

investigate PhaseChaitin::post_allocate_copy_removal after solaris removal

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None

      Description

      in postaloc.cpp:749
              // If the value occupies a register pair, record same info
              // in both registers.
              OptoReg::Name nreg_lo = OptoReg::add(nreg,-1);
              if( RegMask::can_represent(nreg_lo) && // Either a spill slot, or
                  !lrgs(lidx).mask().Member(nreg_lo) ) { // Nearly always adjacent
                // Sparc occasionally has non-adjacent pairs.
                // Find the actual other value
                RegMask tmp = lrgs(lidx).mask();
                tmp.Remove(nreg);
                nreg_lo = tmp.find_first_elem();
              }
      this piece of code need revisit if it is sparc only after solaris removal.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                minqi Yumin Qi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: