[vectorIntrinsics+mask] Integrated: 8266621: Add masking support for unary/ternary vector intrinsics

Xiaohong Gong xgong at openjdk.java.net
Mon May 24 01:48:56 UTC 2021

On Mon, 10 May 2021 06:15:24 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

> Similar with [1], this patch adds the masking support for `unary/ternary` vector intrinsics. It adds the mask information to the original intrinsic methods which are called both by masked and non-masked unary/ternary operations. For non-masked operations, the mask class and value are set to null.
> Also change to use the `"binaryMaskedOp"` for vector mask logical operations instead of` "binaryOp"`. So that all the original nary intrinsics and hotspot implementation can be removed.
> Note that this patch only contains the Vector API java implementation and the hotspot intrinsics changes. No compiler mid-end and backend implementations are included.
> [1] https://bugs.openjdk.java.net/browse/JDK-8264563

This pull request has now been integrated.

Changeset: 24b52623
Author:    Xiaohong Gong <xgong at openjdk.org>
URL:       https://git.openjdk.java.net/panama-vector/commit/24b52623ac073069a08943be5319178e4404be60
Stats:     1984 lines in 45 files changed: 1055 ins; 417 del; 512 mod

8266621: Add masking support for unary/ternary vector intrinsics

Reviewed-by: psandoz, vlivanov


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

More information about the panama-dev mailing list