[vectorIntrinsics] Integrated: 8283598: [vectorapi] Add new vector operation for compress and expand bits

Smita Kamath svkamath at openjdk.java.net
Thu Apr 14 17:56:49 UTC 2022


On Thu, 24 Mar 2022 06:31:31 GMT, Smita Kamath <svkamath at openjdk.org> wrote:

> Hi,
> 
> I've added support for new vector operations for compressing bits of integral vector types(Byte/Short/Integer/Long).
> The implementation is based on Compress or Generalized Extract mentioned in Hackers Delight by Henry S. Warren, Jr.
> The implementation does the following: given a mask and the number to be compressed, the bits of the number corresponding to the set mask bit are selected and compressed. 
> 
> Currently, this PR addresses only Java changes for compress bits operation. I've also updated the test framework.
> Do review and share feedback.

This pull request has now been integrated.

Changeset: 5fe79928
Author:    Smita Kamath <svkamath at openjdk.org>
Committer: Sandhya Viswanathan <sviswanathan at openjdk.org>
URL:       https://git.openjdk.java.net/panama-vector/commit/5fe7992818440bb3a16ac11f6f019ea020ab025f
Stats:     2773 lines in 80 files changed: 2768 ins; 0 del; 5 mod

8283598: [vectorapi] Add new vector operation for compress and expand bits

Reviewed-by: psandoz, sviswanathan

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

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


More information about the panama-dev mailing list