Vectorization support of Integer.bitCount() already exists but currently the same support is lacking for Long.bitCount(). Similar to the C2 PopCountVI node, we create a C2 PopCountVL node and use vpopcntq x86 instruction to enable vectorized Long.bitCount()
- relates to
-
JDK-8279900 compiler/vectorization/TestPopCountVectorLong.java fails due to vpopcntdq is not supported
-
- Resolved
-
-
JDK-8300487 Store cardinality as a field in BitSet
-
- Closed
-