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

Improve RegMask population count calculation

XMLWordPrintable

    • b05

      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.

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

              Created:
              Updated:
              Resolved: