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.
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.
- relates to
-
JDK-8217639 Minimal and Zero builds fail after JDK-8217519 (Improve RegMask population count calculation)
-
- Resolved
-