RFR: 8278868: Add x86 vectorization support for Long.bitCount() [v5]
Vamsi Parasa
duke at openjdk.java.net
Wed Jan 5 23:24:55 UTC 2022
> Vectorization support of Integer.bitCount() already exists but currently the same support is lacking for Long.bitCount(). Similar to the C2 PopCountVI node, we created a C2 PopCountVL node and used vpopcntq x86 instruction to enable vectorized Long.bitCount(). This patch shows 2.57x improvement in performance on a JMH micro benchmark due to x86 vectorization.
Vamsi Parasa has updated the pull request incrementally with one additional commit since the last revision:
Update year in copyright notice. Add avx512dq check for vectorization test
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/6857/files
- new: https://git.openjdk.java.net/jdk/pull/6857/files/e84c6bdb..1892c37d
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6857&range=04
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6857&range=03-04
Stats: 16 lines in 11 files changed: 1 ins; 4 del; 11 mod
Patch: https://git.openjdk.java.net/jdk/pull/6857.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6857/head:pull/6857
PR: https://git.openjdk.java.net/jdk/pull/6857
More information about the hotspot-dev
mailing list