[vectorIntrinsics+mask] RFR: 8270264: Add the masking support for vector lanewiseShift
Xiaohong Gong
xgong at openjdk.java.net
Wed Jul 14 10:08:32 UTC 2021
On Wed, 14 Jul 2021 06:19:14 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:
> 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.
Hi @PaulSandoz @jatin-bhateja @sviswa7 , could you please help to take a look at this patch? Thanks so much!
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/97
More information about the panama-dev
mailing list