[vectorIntrinsics+compress] Integrated: 8274664: Add support for compress/expand api methods
Sandhya Viswanathan
sviswanathan at openjdk.java.net
Mon Oct 4 22:59:24 UTC 2021
On Fri, 1 Oct 2021 22:33:43 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:
> Add support for the cross lane operations to compress/expand the lane elements of a vector selecting lanes under the control of a mask. The remaining lanes of the destination vector could be either set to zero or get the value from corresponding elements of the background vector.
> The following methods are added:
> public abstract Vector<E> compress(VectorMask<E> m);
> public abstract Vector<E> compress(VectorMask<E> m, Vector<E> v);
> public abstract Vector<E> expand(VectorMask<E> m);
> public abstract Vector<E> expand(VectorMask<E> m, Vector<E> v);
This pull request has now been integrated.
Changeset: be08abfa
Author: Sandhya Viswanathan <sviswanathan at openjdk.org>
URL: https://git.openjdk.java.net/panama-vector/commit/be08abfa2c258d829b4f1cb4f492d560af83919e
Stats: 7010 lines in 72 files changed: 7010 ins; 0 del; 0 mod
8274664: Add support for compress/expand api methods
Reviewed-by: psandoz
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/143
More information about the panama-dev
mailing list