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

Improve RegMask population count calculation

    XMLWordPrintable

Details

    • b05

    Description

      RegMask uses an archaic population count using a byte lookup table.

      While we might not be able to use POPCNT and other instructions directly from native compiled code without going through hoops, an optimized version can be very profitable, e.g., based on the implementation in java.lang.Integer.bitCount.

      Attachments

        Issue Links

          Activity

            People

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: