[vectorIntrinsics] Integrated: 8283749: AArch64: Add the backend support for vector bitcount

Xiaohong Gong xgong at openjdk.java.net
Wed Apr 6 05:25:14 UTC 2022


On Thu, 31 Mar 2022 08:55:05 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

> This patch adds the NEON and SVE backend match rules for the vector bitcount operations which both work for the vector api
> and auto-vectorization.
> 
> Note that the "`PopCountVI`" node is used for vectors with "`byte/short/int`" basic types while "`PopCountVL`" is used for
> vectors with long basic type. And also note that the output basic type of "`PopCountVL`" is "`T_LONG`" when it is generated
> by vector api and it is "`T_INT`" when generated by SLP.
> 
> Also enables "`test/hotspot/jtreg/compiler/vectorization/TestPopCountVectorLong.java`" for SVE.

This pull request has now been integrated.

Changeset: fa5c1577
Author:    Xiaohong Gong <xgong at openjdk.org>
URL:       https://git.openjdk.java.net/panama-vector/commit/fa5c1577a813b605c1bab4f34dec8b6a89ca802f
Stats:     278 lines in 7 files changed: 226 ins; 6 del; 46 mod

8283749: AArch64: Add the backend support for vector bitcount

Reviewed-by: njian

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

PR: https://git.openjdk.java.net/panama-vector/pull/188


More information about the panama-dev mailing list