[vectorIntrinsics+mask] Integrated: 8272869: AArch64: Mark masked rearrange operation as unsupported
Eric Liu
eliu at openjdk.java.net
Wed Sep 1 09:08:06 UTC 2021
On Wed, 1 Sep 2021 01:47:53 GMT, Eric Liu <eliu at openjdk.org> wrote:
> This patch marks masked rearrange operation as unsupported for AArch64,
> the reasons are as follows:
>
> 1. AArch64 dose not have predicated 'tbl' instruction
> 2. Mid-end has transformed masked VectorRearrange into VectorBlend[1]
> for those platforms which are missing corresponding instructions.
>
> Given by this, there's no need to add backend support for masked
> VectorRearrange, and the final generated code as below:
>
>
> tbl z16.s, {z20.s}, z16.s
> mov z17.s, #0
> sel z16.s, p2, z16.s, z17.s
>
>
> [1] https://github.com/openjdk/panama-vector/blob/vectorIntrinsics%2Bmask/src/hotspot/share/opto/vectorIntrinsics.cpp#L2016
This pull request has now been integrated.
Changeset: ef694cdc
Author: Eric Liu <eliu at openjdk.org>
URL: https://git.openjdk.java.net/panama-vector/commit/ef694cdcc36be03ef386244656993fdf59b25cda
Stats: 16 lines in 2 files changed: 4 ins; 8 del; 4 mod
8272869: AArch64: Mark masked rearrange operation as unsupported
Reviewed-by: njian
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/118
More information about the panama-dev
mailing list