RFR: 8276985: AArch64: [vectorapi] Backend support of VectorMaskToLongNode

Eric Liu eliu at openjdk.java.net
Tue Dec 7 02:14:09 UTC 2021


On Mon, 29 Nov 2021 09:40:23 GMT, Eric Liu <eliu at openjdk.org> wrote:

> The lack of codegen for VectorMaskToLong results in a regression on
> AArch64 for VectorMask.laneIsSet, which relies on the intrinsification
> of VectorMask.toLong after JDK-8273949.
> 
> This patch implements bitmask extraction on AArch64 for NEON and SVE by
> using scalar instructions, which is equivalent to the PMOVMSK
> instructions on X86. The performance of VectorMask.laneIsSet improves
> about 10x for NEON and 2x~4x for SVE on my test machines.

Could anyone help to review this patch?

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

PR: https://git.openjdk.java.net/jdk/pull/6585


More information about the hotspot-compiler-dev mailing list