RFR: 8287028: AArch64: [vectorapi] Backend implementation of VectorMask.fromLong with SVE2

Xiaohong Gong xgong at openjdk.java.net
Thu Jun 2 01:53:49 UTC 2022


On Thu, 19 May 2022 14:08:05 GMT, Eric Liu <eliu at openjdk.org> wrote:

> This patch implements AArch64 codegen for VectorLongToMask using the
> SVE2 BitPerm feature. With this patch, the final code (generated on an
> SVE vector reg size of 512-bit QEMU emulator) is shown as below:
> 
>         mov     z17.b, #0
>         mov     v17.d[0], x13
>         sunpklo z17.h, z17.b
>         sunpklo z17.s, z17.h
>         sunpklo z17.d, z17.s
>         mov     z16.b, #1
>         bdep    z17.d, z17.d, z16.d
>         cmpne   p0.b, p7/z, z17.b, #0

@theRealELiu , could you please rebase this patch and resolve the conflict? Thanks!

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

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


More information about the hotspot-compiler-dev mailing list