[vectorIntrinsics+mask] Integrated: 8268154: Add masking support for vector load intrinsics

Xiaohong Gong xgong at openjdk.java.net
Thu Jun 24 06:08:54 UTC 2021


On Mon, 7 Jun 2021 09:05:44 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

> This patch adds the predicate support for masked load vector operation, including the Vector API java implementation and hotspot intrinsics changes. The main changes contain:
>   - Adding a new hotspot intrinsic method (`loadMasked`), which can transform the vector mask class and value to hotspot. It is called by the masked `"fromArray"` API in JAVA level. The compiler will generate the masked vector load node if the current platform supports the predicate feature and backend has implemented it. Otherwise, the vector blend pattern will be generated like before.
>   - Adding the similar masked support for load/store boolean/char array.
> 
> Note that the intrinsification when there is the array range bailout is not implemented in this patch. We are considering making it vectorized with predicate feature for SVE/AVX-512 as well, and will create a separate patch for it in future.
> 
> Also note that this patch doesn't contain any backend changes.

This pull request has now been integrated.

Changeset: 1c913048
Author:    Xiaohong Gong <xgong at openjdk.org>
URL:       https://git.openjdk.java.net/panama-vector/commit/1c913048a9150e8e8d43844349157a10199311be
Stats:     904 lines in 44 files changed: 820 ins; 42 del; 42 mod

8268154: Add masking support for vector load intrinsics

Reviewed-by: jbhateja, psandoz

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

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


More information about the panama-dev mailing list