RFR: 8352065: [PPC64] C2: Implement PopCountVL, CountLeadingZerosV and CountTrailingZerosV nodes

David Linus Briemann duke at openjdk.org
Fri Mar 21 09:56:44 UTC 2025


VectorCastL2X was not added due to bad performance and thus the bit count instructions are only vectorized for `int` but not for `long`.

-------------

Commit messages:
 - disable IR match rules for long bit counts on ppc
 - re-add PopCountVL
 - remove vectorization of long bit counts
 - 8352065: [PPC64] C2: Implement PopCountVL, CountLeadingZerosV and CountTrailingZerosV nodes

Changes: https://git.openjdk.org/jdk/pull/24064/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24064&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8352065
  Stats: 96 lines in 5 files changed: 90 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/24064.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24064/head:pull/24064

PR: https://git.openjdk.org/jdk/pull/24064


More information about the hotspot-compiler-dev mailing list