[vectorIntrinsics+mask] RFR: 8270264: Add the masking support for vector lanewiseShift
Xiaohong Gong
xgong at openjdk.java.net
Wed Jul 14 06:24:57 UTC 2021
This patch adds the masking support for "`lanewiseShift`" vector API. Originally there is no masked operation for this API,
adding the masked version for it can benefit the masked binary "`lanewise`" that has a shift op and a constant input like:
ByteVector lanewise(VectorOperators.Binary op,
byte e,
VectorMask<Byte> m)
To support it, this patch adds the mask information to the original intrinsic methods which are called both by masked and
non-masked `lanewiseShift` operations. For non-masked operations, the mask class and value are set to null.
-------------
Commit messages:
- 8270264: Add the masking support for vector lanewiseShift
Changes: https://git.openjdk.java.net/panama-vector/pull/97/files
Webrev: https://webrevs.openjdk.java.net/?repo=panama-vector&pr=97&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8270264
Stats: 496 lines in 29 files changed: 397 ins; 52 del; 47 mod
Patch: https://git.openjdk.java.net/panama-vector/pull/97.diff
Fetch: git fetch https://git.openjdk.java.net/panama-vector pull/97/head:pull/97
PR: https://git.openjdk.java.net/panama-vector/pull/97
More information about the panama-dev
mailing list