[vectorIntrinsics+mask] RFR: 8269282: Add masking support for vector gather_load/scatter_store [v2]

Xiaohong Gong xgong at openjdk.java.net
Tue Jun 29 01:54:51 UTC 2021


> This patch adds the masking support for masked vector gather load and scatter store, including:
>   1) The Vector API java implementation and hotspot intrinsics changes:
>     - Add masking information to the `loadWithMap/storeWithMap` intrinsics.
>     - Both masked and non-masked gather_load/scatter_store call the same intrinsics. The mask value and class are set to `"null"` for non-masked operations.
>   2) The C2 compiler changes:
>     - Add two new IRs for the masked gather_load/scatter_store. The new masked IR will be generated for masked operation if the platform supports the predicate feature and the backend has implemented it.  Otherwise, the compiler will go back to the default java implementation.

Xiaohong Gong has updated the pull request incrementally with one additional commit since the last revision:

  Fix MacOS x64 build failure issue

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

Changes:
  - all: https://git.openjdk.java.net/panama-vector/pull/95/files
  - new: https://git.openjdk.java.net/panama-vector/pull/95/files/c300783c..5ccb0c51

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=panama-vector&pr=95&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=panama-vector&pr=95&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/panama-vector/pull/95.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-vector pull/95/head:pull/95

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


More information about the panama-dev mailing list