[vectorIntrinsics+mask] Integrated: 8267368: Add masking support for reduction vector intrinsics

Xiaohong Gong xgong at openjdk.java.net
Fri Jun 25 02:42:49 UTC 2021


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

> This patch adds the masking support for vector reduction operations, including the Vector API java implementation and hotspot intrinsics changes. It adds the mask information to the reduction intrinsic method. With it:
>   - Both masked and non-masked reduction operations call the same hotspot intrinsics. The mask value and class are set to `"null"` for non-masked operations.
>   - Reduction IR with mask as another input will be generated if the platform supports the predicate feature for the op. Otherwise, the vector blend pattern will be generated like before.
> 
> 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.

This pull request has now been integrated.

Changeset: aff1e3d9
Author:    Xiaohong Gong <xgong at openjdk.org>
URL:       https://git.openjdk.java.net/panama-vector/commit/aff1e3d900057dd5dea21c73aac70b4e1c2de1c2
Stats:     684 lines in 42 files changed: 367 ins; 94 del; 223 mod

8267368: Add masking support for reduction vector intrinsics

Reviewed-by: psandoz

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

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


More information about the panama-dev mailing list